aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2021-03-21 22:31:44 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-21 22:45:20 +0100
commitd160b2c824ea08c476e9ae4eebd1dee23671a9a0 (patch)
treec08333803fc8d62ba5f3188eaaecfd68339e2d4c /target/linux
parent1170655f8b792b34f899350cb0272ad94bb2d3e2 (diff)
downloadupstream-d160b2c824ea08c476e9ae4eebd1dee23671a9a0.tar.gz
upstream-d160b2c824ea08c476e9ae4eebd1dee23671a9a0.tar.bz2
upstream-d160b2c824ea08c476e9ae4eebd1dee23671a9a0.zip
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 <yangshiji66@qq.com> [adjust commit title and wrap message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7620a_hiwifi_hc5x61.dtsi3
1 files changed, 2 insertions, 1 deletions
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";