aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorAviana Cruz <gwencroft@proton.me>2022-06-12 01:34:13 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2022-06-27 19:54:12 +0200
commitd65ad3efa544cc0188c12adfe93784c349684cec (patch)
treecf4809fa93453d682addb8cd1231fd8fdbe6d8c0 /target/linux/ramips
parent267f86a7b22408a58d82e6b87a13aa76da00aace (diff)
downloadupstream-d65ad3efa544cc0188c12adfe93784c349684cec.tar.gz
upstream-d65ad3efa544cc0188c12adfe93784c349684cec.tar.bz2
upstream-d65ad3efa544cc0188c12adfe93784c349684cec.zip
ramips: decrease SPI frequency for Phicomm K2P
Some K2P comes with the worse boards with GD25Q128 (may be A2), which only works with 50MHz frequency and less. Reduce spi frequency so that these routers can boot. remove m25p,fast-read because it isn't needed for 50MHz SPI. Signed-off-by: Aviana Cruz <gwencroft@proton.me> Signed-off-by: Chuanhong Guo <gch981213@gmail.com> (cherry picked from commit 857ea3f690aba8513b356926d9c430adafc7c50b)
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621_phicomm_k2p.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts
index a0bdab2226..078b76a50b 100644
--- a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts
+++ b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts
@@ -50,8 +50,7 @@
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <80000000>;
- m25p,fast-read;
+ spi-max-frequency = <50000000>;
partitions {
compatible = "fixed-partitions";