ramips: increase flash freq for miwifi-mini
authorDavid Yang <mmyangfl@gmail.com>
Sun, 11 Jul 2021 14:13:21 +0000 (22:13 +0800)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 24 Aug 2021 23:42:17 +0000 (01:42 +0200)
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@gmail.com>
target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts

index 49ef40827b39a82f74a753938eb2668dbb4a8c1b..d89ded78a51ec1fababe0586e5ae3a07a30e3bac 100644 (file)
@@ -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";