aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFilip Milivojevic <zekica@gmail.com>2023-01-14 15:06:42 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-14 19:25:06 +0100
commit990419dac33ee81f14e791a3d783f7f4cba86e53 (patch)
tree5dbbaf758b1e13c64f948475078b241a682edde3 /target/linux
parent700c47a5f6a149b2494140bb2c40e93b63455dc0 (diff)
downloadupstream-990419dac33ee81f14e791a3d783f7f4cba86e53.tar.gz
upstream-990419dac33ee81f14e791a3d783f7f4cba86e53.tar.bz2
upstream-990419dac33ee81f14e791a3d783f7f4cba86e53.zip
ramips: cudy wr1300v1 reduce SPI freq to 10000000
Reducing SPI flash frequency allows the build to boot on both old variants with W25Q128 chip and new variants with XM25QH128C chip. The old 80000000 value only boots on devices with the W25Q128 flash. This is also the change Cudy themselves made in their openwrt builds and their .dts file. Removed m25p,fast-read as it is not needed with slower speeds. Signed-off-by: Filip Milivojevic <zekica@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts b/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts
index 4062c46e3e..cc1afdc95b 100644
--- a/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts
+++ b/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts
@@ -65,8 +65,7 @@
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <80000000>;
- m25p,fast-read;
+ spi-max-frequency = <10000000>;
partitions {
compatible = "fixed-partitions";