From: Chuanhong Guo Date: Mon, 6 Apr 2020 11:07:27 +0000 (+0800) Subject: ramips: increase spi frequency for newifi d1/d2 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b0ec8d0ca0713113a0384bd74b560bd17c298712;p=openwrt%2Fstaging%2Fwigyori.git 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 --- 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";