From b0ec8d0ca0713113a0384bd74b560bd17c298712 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Mon, 6 Apr 2020 19:07:27 +0800 Subject: 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 --- target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts | 2 +- target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'target/linux/ramips') 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"; -- cgit v1.2.3