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>
master
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 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
spi-max-frequency = <45000000>;
broken-flash-reset;
partitions {

View 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";