aboutsummaryrefslogtreecommitdiffstats
path: root/target
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:28:15 +0200
commit5f15225c1e8942c183b573cd34f91d578f83fa57 (patch)
tree44b5f9fdb164a3c16ba6cfe0a1d0a6fb17d42965 /target
parentc1ccae54ceb6d5b5d8572e061f1159293dc25917 (diff)
downloadupstream-5f15225c1e8942c183b573cd34f91d578f83fa57.tar.gz
upstream-5f15225c1e8942c183b573cd34f91d578f83fa57.tar.bz2
upstream-5f15225c1e8942c183b573cd34f91d578f83fa57.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> (cherry picked from commit 2c530fcb972c112e7a2b10f9c21ac6d276624b5e)
Diffstat (limited to 'target')
-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";