[openwrt/openwrt] ramips: cudy wr1300v2 reduce SPI freq to 40000000

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 20 15:50:53 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ca330cac92240a882711cbe2fbf02f7231e47e9a

commit ca330cac92240a882711cbe2fbf02f7231e47e9a
Author: Óscar García Amor <ogarcia at connectical.com>
AuthorDate: Sat Mar 18 11:14:27 2023 +0100

    ramips: cudy wr1300v2 reduce SPI freq to 40000000
    
    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 at connectical.com>
---
 target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts b/target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts
index 5c8b047e76..a5d2fc4607 100644
--- a/target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts
+++ b/target/linux/ramips/dts/mt7621_cudy_wr1300-v2.dts
@@ -58,8 +58,7 @@
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <80000000>;
-		m25p,fast-read;
+		spi-max-frequency = <40000000>;
 
 		partitions {
 			compatible = "fixed-partitions";




More information about the lede-commits mailing list