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 db8e3e7..ec31a37 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 9cd1aea..aaafe5a 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 9501c7e..3dd7bd0 100644 (file)
        };
 
        nand@1e003000 {
+               status = "disabled";
+
                compatible = "mtk,mt7621-nand";
                bank-width = <2>;
                reg = <0x1e003000 0x800