[openwrt/openwrt] ramips: reduce Archer AX23 / MR70X SPI-frequency

LEDE Commits lede-commits at lists.infradead.org
Thu Apr 27 13:27:51 PDT 2023


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2c530fcb972c112e7a2b10f9c21ac6d276624b5e

commit 2c530fcb972c112e7a2b10f9c21ac6d276624b5e
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Thu Apr 27 22:24:15 2023 +0200

    ramips: reduce Archer AX23 / MR70X SPI-frequency
    
    It was brought to attention the Archer AX23 v1 fails to read jffs2 data
    from time to time. While this is not reproducible on my unit, it is on
    others.
    
    Reducing the SPI frequency does the trick. While it worked with at lest
    40 MHz, opt for the cautious side and choose a save frequency of 25 MHz.
    
    Apply the same treatment to the Mercusys MR70X which uses a similar
    design just in case.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts     | 2 +-
 target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts b/target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts
index 7eb94ba9cf..245d130a1f 100644
--- a/target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts
+++ b/target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts
@@ -52,7 +52,7 @@
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <80000000>;
+		spi-max-frequency = <25000000>;
 
 		partitions {
 			compatible = "fixed-partitions";
diff --git a/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts b/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts
index 5c2ef1fa11..50834c5866 100644
--- a/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts
@@ -85,7 +85,7 @@
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <80000000>;
+		spi-max-frequency = <25000000>;
 
 		partitions {
 			compatible = "fixed-partitions";




More information about the lede-commits mailing list