aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-04-27 22:24:15 +0200
committerDavid Bauer <mail@david-bauer.net>2023-04-27 22:26:58 +0200
commit2c530fcb972c112e7a2b10f9c21ac6d276624b5e (patch)
tree5e46296ddd97117aec747f537ed0cc2405474529 /target/linux/ramips
parent1e8b318ebe72d2c865b140f8075583fcda22783d (diff)
downloadupstream-2c530fcb972c112e7a2b10f9c21ac6d276624b5e.tar.gz
upstream-2c530fcb972c112e7a2b10f9c21ac6d276624b5e.tar.bz2
upstream-2c530fcb972c112e7a2b10f9c21ac6d276624b5e.zip
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@david-bauer.net>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts2
-rw-r--r--target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts2
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@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@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <80000000>;
+ spi-max-frequency = <25000000>;
partitions {
compatible = "fixed-partitions";