aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Yang <mmyangfl@gmail.com>2021-07-11 22:13:21 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-08-25 01:42:17 +0200
commita6c410ae10ea51f5541fe2fdc3bd39011bff3f0e (patch)
treebb76816fbdc147e02457be4c34918817c7bd82f0 /target
parentd57ba86e489e363be3b26b9cb880048da5dfd12c (diff)
downloadupstream-a6c410ae10ea51f5541fe2fdc3bd39011bff3f0e.tar.gz
upstream-a6c410ae10ea51f5541fe2fdc3bd39011bff3f0e.tar.bz2
upstream-a6c410ae10ea51f5541fe2fdc3bd39011bff3f0e.zip
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@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts3
1 files changed, 2 insertions, 1 deletions
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@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <10000000>;
+ spi-max-frequency = <70000000>;
+ m25p,fast-read;
partitions {
compatible = "fixed-partitions";