aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
diff options
context:
space:
mode:
authorTobias Schramm <t.schramm@manjaro.org>2020-06-03 15:10:40 +0200
committerPetr Štetiar <ynezz@true.cz>2020-06-03 16:49:28 +0200
commit2f5a242f6762ce7233168785f1eb1ebcd1e4bd36 (patch)
treec790bcd0007ec3853a2f99f696374c47fd56cb40 /target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
parent7f0fb3e5d432340677c41a6284b75aaf7dd9b97d (diff)
downloadupstream-2f5a242f6762ce7233168785f1eb1ebcd1e4bd36.tar.gz
upstream-2f5a242f6762ce7233168785f1eb1ebcd1e4bd36.tar.bz2
upstream-2f5a242f6762ce7233168785f1eb1ebcd1e4bd36.zip
ramips: mt7621: use higher SPI clock speed on Mikrotik rbm11g and rbm33g
Previously the dts were using a value determined by empirical testing, because of a spi driver/clock bug. The bug was fixed quite some time ago. 33 MHz is the default clock frequency used by RouterBOOT and thus safe. Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
index 2b05f1c2f2..cb13590017 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
+++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
@@ -83,8 +83,7 @@
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
- // XXX empiric value to obtain actual 10MHz SCK at the chip
- spi-max-frequency = <3125000>;
+ spi-max-frequency = <33000000>;
partitions {
compatible = "fixed-partitions";