ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Dec 2015 11:07:29 +0000 (11:07 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Dec 2015 11:07:29 +0000 (11:07 +0000)
Enable it from .dts files that need it, also remove redundant properties

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47936

target/linux/ramips/dts/UBNT-ERX.dts
target/linux/ramips/dts/WF-2881.dts
target/linux/ramips/dts/mt7621.dtsi

index db8e3e7a6b02233fb41f92bf80c497b75c332597..ec31a37f0b700ae572f5760537463c1f7335ccc4 100644 (file)
        };
 
        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";
index 9cd1aead3574b2b997d687eeda016a35d028ecd1..aaafe5af827b616adf52779af01848a35b93a738 100644 (file)
        };
 
        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";
index 9501c7e4e7e31fac6a3b38d89a3a0428585ddb40..3dd7bd08a1724fbc31ba615bc290fb0193f9361c 100644 (file)
        };
 
        nand@1e003000 {
+               status = "disabled";
+
                compatible = "mtk,mt7621-nand";
                bank-width = <2>;
                reg = <0x1e003000 0x800