[openwrt/openwrt] ramips: increase flash freq for miwifi-mini

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 24 16:42:44 PDT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a6c410ae10ea51f5541fe2fdc3bd39011bff3f0e

commit a6c410ae10ea51f5541fe2fdc3bd39011bff3f0e
Author: David Yang <mmyangfl at gmail.com>
AuthorDate: Sun Jul 11 22:13:21 2021 +0800

    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 <mmyangfl at gmail.com>
---
 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 49ef40827b..d89ded78a5 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 at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
-		spi-max-frequency = <10000000>;
+		spi-max-frequency = <70000000>;
+		m25p,fast-read;
 
 		partitions {
 			compatible = "fixed-partitions";



More information about the lede-commits mailing list