ramips: cudy wr1300v2 reduce SPI freq to 40000000
authorÓscar García Amor <ogarcia@connectical.com>
Sat, 18 Mar 2023 10:14:27 +0000 (11:14 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 20 Mar 2023 22:48:08 +0000 (23:48 +0100)
Cases have been reported in which certain devices do not boot correctly
or have errors. After various tests by users who have such errors it has
been concluded that the SPI frequency should be reduced to 40Mhz, at
this speed it appears that all devices work correctly.

Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts

index 5c8b047e761e46144b34b220f1db8bdff4d8817d..a5d2fc4607934388d985e38907f8dfdd2e63e29b 100644 (file)
@@ -58,8 +58,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <80000000>;
-               m25p,fast-read;
+               spi-max-frequency = <40000000>;
 
                partitions {
                        compatible = "fixed-partitions";