Просмотр исходного кода

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 <[email protected]>
Chuanhong Guo 5 лет назад
Родитель
Сommit
b0ec8d0ca0

+ 1 - 1
target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts

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

+ 1 - 2
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts

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