Author: nbd Date: 2015-12-19 12:07:29 +0100 (Sat, 19 Dec 2015) New Revision: 47936
Modified: trunk/target/linux/ramips/dts/UBNT-ERX.dts trunk/target/linux/ramips/dts/WF-2881.dts trunk/target/linux/ramips/dts/mt7621.dtsi Log: 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]> Modified: trunk/target/linux/ramips/dts/UBNT-ERX.dts =================================================================== --- trunk/target/linux/ramips/dts/UBNT-ERX.dts 2015-12-18 22:26:40 UTC (rev 47935) +++ trunk/target/linux/ramips/dts/UBNT-ERX.dts 2015-12-19 11:07:29 UTC (rev 47936) @@ -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"; Modified: trunk/target/linux/ramips/dts/WF-2881.dts =================================================================== --- trunk/target/linux/ramips/dts/WF-2881.dts 2015-12-18 22:26:40 UTC (rev 47935) +++ trunk/target/linux/ramips/dts/WF-2881.dts 2015-12-19 11:07:29 UTC (rev 47936) @@ -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"; Modified: trunk/target/linux/ramips/dts/mt7621.dtsi =================================================================== --- trunk/target/linux/ramips/dts/mt7621.dtsi 2015-12-18 22:26:40 UTC (rev 47935) +++ trunk/target/linux/ramips/dts/mt7621.dtsi 2015-12-19 11:07:29 UTC (rev 47936) @@ -272,6 +272,8 @@ }; nand@1e003000 { + status = "disabled"; + compatible = "mtk,mt7621-nand"; bank-width = <2>; reg = <0x1e003000 0x800 _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
