Browse Source

ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices

Enable it from .dts files that need it, also remove redundant properties

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 47936
Felix Fietkau 10 years ago
parent
commit
3e807886d0

+ 1 - 6
target/linux/ramips/dts/UBNT-ERX.dts

@@ -42,12 +42,7 @@
 	};
 
 	nand@1e003000 {
-		compatible = "mtk,mt7621-nand";
-		bank-width = <2>;
-		reg = <0x1e003000 0x800
-		       0x1e003800 0x800>;
-		#address-cells = <1>;
-		#size-cells = <1>;
+		status = "okay";
 
 		partition@0 {
 			label = "u-boot";

+ 1 - 6
target/linux/ramips/dts/WF-2881.dts

@@ -22,12 +22,7 @@
 	};
 
 	nand@1e003000 {
-		compatible = "mtk,mt7621-nand";
-		bank-width = <2>;
-		reg = <0x1e003000 0x800
-				0x1e003800 0x800>;
-		#address-cells = <1>;
-		#size-cells = <1>;
+		status = "okay";
 
 		partition@0 {
 			label = "u-boot";

+ 2 - 0
target/linux/ramips/dts/mt7621.dtsi

@@ -272,6 +272,8 @@
 	};
 
 	nand@1e003000 {
+		status = "disabled";
+
 		compatible = "mtk,mt7621-nand";
 		bank-width = <2>;
 		reg = <0x1e003000 0x800