aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2021-03-21 22:43:59 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-22 20:54:34 +0100
commitbf7ddb18f1bfa0b61b4dc43732c114f20900bd4b (patch)
tree5fbb93b00c370dc62effab351838a22484653e52 /target/linux
parente87527b57dfb1472a62059c0ff6a96dee01729d8 (diff)
downloadupstream-bf7ddb18f1bfa0b61b4dc43732c114f20900bd4b.tar.gz
upstream-bf7ddb18f1bfa0b61b4dc43732c114f20900bd4b.tar.bz2
upstream-bf7ddb18f1bfa0b61b4dc43732c114f20900bd4b.zip
ramips: speed up spi frequency for Youku YK-L1
Youku YK-L1 has a huge storage space up to 32 MB. It is better to use a higher spi clock to read or write serial nor flash chips. Youku YK-L1 has Winbond w25q256fvfg on board that can support 104 MHz spi clock so 48 MHz is safe enough. The real frequency can only be sysclk(580MHz ) /3 /(2^n) so 80 MHz defined in dts file will set only 48 MHz in spi bus. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7620a_youku_yk1.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_youku_yk1.dts b/target/linux/ramips/dts/mt7620a_youku_yk1.dts
index 8727b011d4..3b84b07b8b 100644
--- a/target/linux/ramips/dts/mt7620a_youku_yk1.dts
+++ b/target/linux/ramips/dts/mt7620a_youku_yk1.dts
@@ -69,7 +69,7 @@
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- spi-max-frequency = <25000000>;
+ spi-max-frequency = <80000000>;
m25p,fast-read;
partitions {