ramips: reduce Archer AX23 / MR70X SPI-frequency
authorDavid Bauer <mail@david-bauer.net>
Thu, 27 Apr 2023 20:24:15 +0000 (22:24 +0200)
committerDavid Bauer <mail@david-bauer.net>
Thu, 27 Apr 2023 20:26:58 +0000 (22:26 +0200)
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@david-bauer.net>
target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts
target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts

index 7eb94ba9cfcba7d569f18b5a24ca25b8edc27b11..245d130a1fcdab4fbc1f8109e074a4cbb2a6e188 100644 (file)
@@ -52,7 +52,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <80000000>;
+               spi-max-frequency = <25000000>;
 
                partitions {
                        compatible = "fixed-partitions";
index 5c2ef1fa11c0c63f4fcbacb7881cc078e0f87b70..50834c586643ec62a2069b8054854b415a07dbc5 100644 (file)
@@ -85,7 +85,7 @@
        flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <80000000>;
+               spi-max-frequency = <25000000>;
 
                partitions {
                        compatible = "fixed-partitions";