aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2020-04-06 19:07:27 +0800
committerChuanhong Guo <gch981213@gmail.com>2020-04-12 22:27:17 +0800
commitb0ec8d0ca0713113a0384bd74b560bd17c298712 (patch)
tree56c7ade014c02eb5dcbbe5830d4d4dafaf1a9c42
parent5c8f2c64d7f3becea410b5dc9890fa9196bdd762 (diff)
downloadupstream-b0ec8d0ca0713113a0384bd74b560bd17c298712.tar.gz
upstream-b0ec8d0ca0713113a0384bd74b560bd17c298712.tar.bz2
upstream-b0ec8d0ca0713113a0384bd74b560bd17c298712.zip
ramips: increase spi frequency for newifi d1/d2
increase spi frequency for both devices to 45MHz. while at it, also remove m25p,fast-read for newifi d1 as it's only needed when spi clock is higher than 50MHz. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
-rw-r--r--target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts2
-rw-r--r--target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts3
2 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
index a60fa01e2e..2a9e327fa4 100644
--- a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
+++ b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
@@ -96,7 +96,7 @@
m25p80@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <10000000>;
+ spi-max-frequency = <45000000>;
broken-flash-reset;
partitions {
diff --git a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
index d49bc9dab5..5654a6f196 100644
--- a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
+++ b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
@@ -79,9 +79,8 @@
m25p80@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <25000000>;
+ spi-max-frequency = <45000000>;
broken-flash-reset;
- m25p,fast-read;
partitions {
compatible = "fixed-partitions";