ARM: dts: sun7i: lamobo-r1: Remove unused address-cells/size-cells
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Nov 2018 09:02:26 +0000 (10:02 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 28 Nov 2018 14:14:16 +0000 (15:14 +0100)
The #address-cells and #size-cells are only relevant for nodes that have
childs with reg properties. Otherwise, DTC will emit a warning saying that
those properties are unnecessary.

Remove them when needed.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts

index 6f8dfa7179940e289411251f2976ffb80f10eef2..f91e1bee44e8c3454d5214f72df87726adfb91a4 100644 (file)
        phy-mode = "rgmii";
        phy-supply = <&reg_gmac_3v3>;
        status = "okay";
+       /delete-property/#address-cells;
+       /delete-property/#size-cells;
 
        fixed-link {
                speed = <1000>;
                switch: ethernet-switch@1e {
                        compatible = "brcm,bcm53125";
                        reg = <30>;
-                       #address-cells = <1>;
-                       #size-cells = <0>;
 
                        ports {
                                #address-cells = <1>;