ramips: increase spi frequency for newifi d1/d2
authorChuanhong Guo <gch981213@gmail.com>
Mon, 6 Apr 2020 11:07:27 +0000 (19:07 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 12 Apr 2020 14:27:17 +0000 (22:27 +0800)
increase spi frequency for both devices to 45MHz.
while at it, also remove m25p,fast-read for newifi d1 as it's only
needed when spi clock is higher than 50MHz.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts

index a60fa01e2ef5872daeaa57188237b6be3713684e..2a9e327fa4cbc480fdbf5672c2a4494bab85c75d 100644 (file)
@@ -96,7 +96,7 @@
        m25p80@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <10000000>;
+               spi-max-frequency = <45000000>;
                broken-flash-reset;
 
                partitions {
index d49bc9dab5102ec197db39f0eb39c58322ee4762..5654a6f1966b4f4081d4369ea494d454fc4f829e 100644 (file)
@@ -79,9 +79,8 @@
        m25p80@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <25000000>;
+               spi-max-frequency = <45000000>;
                broken-flash-reset;
-               m25p,fast-read;
 
                partitions {
                        compatible = "fixed-partitions";