From dc771a1c115e1a83d36de8455abc534b9cb6682d Mon Sep 17 00:00:00 2001 From: Aviana Cruz Date: Sun, 12 Jun 2022 01:34:13 +0800 Subject: [PATCH] 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 Signed-off-by: Chuanhong Guo --- target/linux/ramips/dts/mt7621_phicomm_k2p.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts index 8d9af948a..5c5e94556 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";