From a6c410ae10ea51f5541fe2fdc3bd39011bff3f0e Mon Sep 17 00:00:00 2001 From: David Yang Date: Sun, 11 Jul 2021 22:13:21 +0800 Subject: [PATCH] ramips: increase flash freq for miwifi-mini The flash is Winbond 25Q128. As it has large rom, better to increase flash frequency to 70MHz according to the flash spec and enable fast-read. Signed-off-by: David Yang --- target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts b/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts index 49ef40827b3..d89ded78a51 100644 --- a/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts +++ b/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts @@ -60,7 +60,8 @@ flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <10000000>; + spi-max-frequency = <70000000>; + m25p,fast-read; partitions { compatible = "fixed-partitions"; -- 2.30.2