ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 19 Dec 2015 11:07:29 +0000 (11:07 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47936 3c298f89-4303-0410-b956-a3cf2f4a3e73

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