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>
This commit is contained in:
parent
7f0fb3e5d4
commit
2f5a242f67
@ -83,8 +83,7 @@
|
|||||||
flash@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
// XXX empiric value to obtain actual 10MHz SCK at the chip
|
spi-max-frequency = <33000000>;
|
||||||
spi-max-frequency = <3125000>;
|
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
flash@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <3125000>;
|
spi-max-frequency = <33000000>;
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
@ -139,8 +139,7 @@
|
|||||||
flash@1 {
|
flash@1 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
// XXX empiric value to obtain actual 10MHz SCK at the chip
|
spi-max-frequency = <33000000>;
|
||||||
spi-max-frequency = <3125000>;
|
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
Loading…
Reference in New Issue
Block a user