ramips: increase spi frequency for newifi d1/d2

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>
This commit is contained in:
Chuanhong Guo 2020-04-06 19:07:27 +08:00
parent 5c8f2c64d7
commit b0ec8d0ca0
2 changed files with 2 additions and 3 deletions

View File

@ -96,7 +96,7 @@
m25p80@0 { m25p80@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <45000000>;
broken-flash-reset; broken-flash-reset;
partitions { partitions {

View File

@ -79,9 +79,8 @@
m25p80@0 { m25p80@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <25000000>; spi-max-frequency = <45000000>;
broken-flash-reset; broken-flash-reset;
m25p,fast-read;
partitions { partitions {
compatible = "fixed-partitions"; compatible = "fixed-partitions";