From 55ff2951eac8fd86c91b9673395325e393e357ac Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 6 Aug 2018 07:11:13 +0200 Subject: ath79: fix dts warnings Fix all issues found by the devicetree compiler like wrong address/size cells as well as wrong/missing/superfluous unit addresses. Signed-off-by: Mathias Kresin --- target/linux/ath79/dts/ar934x.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'target/linux/ath79/dts/ar934x.dtsi') diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi index e05b295748..3eed4de799 100644 --- a/target/linux/ath79/dts/ar934x.dtsi +++ b/target/linux/ath79/dts/ar934x.dtsi @@ -217,8 +217,6 @@ builtin_switch: switch0@1f { compatible = "qca,ar8229-builtin"; - #address-cells = <1>; - #size-cells = <0>; reg = <0x1f>; resets = <&rst 8>; @@ -227,6 +225,9 @@ phy4-mii-enable; mdio-bus { + #address-cells = <1>; + #size-cells = <0>; + swphy0: ethernet-phy@0 { reg = <0>; phy-mode = "mii"; -- cgit v1.2.3