diff options
author | Shiji Yang <yangshiji66@qq.com> | 2021-03-21 22:43:59 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-04-19 14:48:21 +0200 |
commit | 92489b4f828e21cffae977ea77daefec73753e5c (patch) | |
tree | 172fbbcda98007333eca61c82e3e4f3597de3285 /target/linux/ramips | |
parent | bea18911826d04b70996335dfaa9874c9f813544 (diff) | |
download | upstream-92489b4f828e21cffae977ea77daefec73753e5c.tar.gz upstream-92489b4f828e21cffae977ea77daefec73753e5c.tar.bz2 upstream-92489b4f828e21cffae977ea77daefec73753e5c.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>
(cherry picked from commit bf7ddb18f1bfa0b61b4dc43732c114f20900bd4b)
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_youku_yk1.dts | 2 |
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 d44c9a0dad..721b51db75 100644 --- a/target/linux/ramips/dts/mt7620a_youku_yk1.dts +++ b/target/linux/ramips/dts/mt7620a_youku_yk1.dts @@ -70,7 +70,7 @@ flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <25000000>; + spi-max-frequency = <80000000>; m25p,fast-read; partitions { |