ARM: dts: sunxi: Remove useless address and size cells
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 1 Apr 2019 21:13:56 +0000 (23:13 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 2 Apr 2019 11:11:18 +0000 (13:11 +0200)
The NAND chips in our DTs have address and size cells, even though they
don't have any child nodes. Remove them.

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun5i-gr8-chip-pro.dts
arch/arm/boot/dts/sun8i-r16-nintendo-nes-classic.dts

index 533a4ecc05e2b07674b5232e6e626582b4220aaf..a32cde3e32eb14a2163122bb12b804b0721b7335 100644 (file)
        status = "okay";
 
        nand@0 {
-               #address-cells = <2>;
-               #size-cells = <2>;
                reg = <0>;
                allwinner,rb = <0>;
                nand-ecc-mode = "hw";
index 32cf1ab33aabc63c2b484993b0ec15b7bc96180f..246dec5846a4d47e4e42a447e9830cf6f76f650f 100644 (file)
@@ -34,8 +34,6 @@
 
        /* 2Gb Macronix MX30LF2G18AC (3V) */
        nand@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                reg = <0>;
                allwinner,rb = <0>;
                nand-ecc-mode = "hw";