summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-11-21 10:02:26 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-28 15:14:16 +0100
commit5e043563d119d88c0777fffbd7c2eec630b713cb (patch)
tree2534c5a2a7a6ed00240dd476b34822fd2d5dcabc /arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
parentd02932889b43524ce6515f09ea3b7df19d124074 (diff)
ARM: dts: sun7i: lamobo-r1: Remove unused address-cells/size-cells
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>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
index 6f8dfa717994..f91e1bee44e8 100644
--- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
+++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
@@ -123,6 +123,8 @@
phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
+ /delete-property/#address-cells;
+ /delete-property/#size-cells;
fixed-link {
speed = <1000>;
@@ -137,8 +139,6 @@
switch: ethernet-switch@1e {
compatible = "brcm,bcm53125";
reg = <30>;
- #address-cells = <1>;
- #size-cells = <0>;
ports {
#address-cells = <1>;