diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-12-19 11:07:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-12-19 11:07:29 +0000 |
commit | 970d926bff7f8b606e93e6dc257a2c36ccdf3a37 (patch) | |
tree | 6a1a45b7f9b607625ade10589036858af8f327e9 /target | |
parent | 59ec05318094f453a6d00a55208ec6ea14b9fbf1 (diff) | |
download | master-187ad058-970d926bff7f8b606e93e6dc257a2c36ccdf3a37.tar.gz master-187ad058-970d926bff7f8b606e93e6dc257a2c36ccdf3a37.tar.bz2 master-187ad058-970d926bff7f8b606e93e6dc257a2c36ccdf3a37.zip |
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 <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47936 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/dts/UBNT-ERX.dts | 7 | ||||
-rw-r--r-- | target/linux/ramips/dts/WF-2881.dts | 7 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7621.dtsi | 2 |
3 files changed, 4 insertions, 12 deletions
diff --git a/target/linux/ramips/dts/UBNT-ERX.dts b/target/linux/ramips/dts/UBNT-ERX.dts index db8e3e7a6b..ec31a37f0b 100644 --- a/target/linux/ramips/dts/UBNT-ERX.dts +++ b/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"; diff --git a/target/linux/ramips/dts/WF-2881.dts b/target/linux/ramips/dts/WF-2881.dts index 9cd1aead35..aaafe5af82 100644 --- a/target/linux/ramips/dts/WF-2881.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 9501c7e4e7..3dd7bd08a1 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -272,6 +272,8 @@ }; nand@1e003000 { + status = "disabled"; + compatible = "mtk,mt7621-nand"; bank-width = <2>; reg = <0x1e003000 0x800 |