From: Shiji Yang Date: Sun, 21 Mar 2021 14:31:44 +0000 (+0800) Subject: ramips: increase SPI frequency for HIWIFI HC5x61 devices X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d160b2c824ea08c476e9ae4eebd1dee23671a9a0;p=openwrt%2Fstaging%2Fwigyori.git ramips: increase SPI frequency for HIWIFI HC5x61 devices HIWIFI HC5x61 devices support high speed spi clock up to 100+ MHz. So set spi frequency to 80 MHz here (Due to frequency division the real clock is 48 MHz). I have tested HC5661 and it can run well in OpenWrt v19.07. Signed-off-by: Shiji Yang [adjust commit title and wrap message] Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ramips/dts/mt7620a_hiwifi_hc5x61.dtsi b/target/linux/ramips/dts/mt7620a_hiwifi_hc5x61.dtsi index 369e407319..42a59f285b 100644 --- a/target/linux/ramips/dts/mt7620a_hiwifi_hc5x61.dtsi +++ b/target/linux/ramips/dts/mt7620a_hiwifi_hc5x61.dtsi @@ -31,7 +31,8 @@ flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <10000000>; + spi-max-frequency = <80000000>; + m25p,fast-read; partitions { compatible = "fixed-partitions";