ath79: fix dts warnings
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7241.dtsi
index c490476bbd6fb83f53745139418f2335ad917eb8..2e7c26b8e7a3343e2316aacaa232ad7d06aeb62a 100644 (file)
 
        builtin_switch: switch0@1f {
                compatible = "qca,ar8216-builtin";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                reg = <0x1f>;
                resets = <&rst 8>;
                reset-names = "switch";
 
                mdio-bus {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        swphy4: ethernet-phy@4 {
                                reg = <4>;
                                phy-mode = "mii";