ARM: dts: armada-370-xp: Fixup mdio DT warning
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / armada-370-db.dts
index 033fa63544f7932e543dd7dc3aaa26694e0f2673..d26115085ea1a093a2a9f0e04991915fba2b0201 100644 (file)
                                status = "okay";
                        };
 
-                       mdio {
-                               pinctrl-0 = <&mdio_pins>;
-                               pinctrl-names = "default";
-                               phy0: ethernet-phy@0 {
-                                       reg = <0>;
-                               };
-
-                               phy1: ethernet-phy@1 {
-                                       reg = <1>;
-                               };
-                       };
-
                        ethernet@70000 {
                                pinctrl-0 = <&ge0_rgmii_pins>;
                                pinctrl-names = "default";
                compatible = "linux,spdif-dir";
        };
 };
+&mdio {
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       phy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+
+       phy1: ethernet-phy@1 {
+               reg = <1>;
+       };
+};
+
 
 &spi0 {
        pinctrl-0 = <&spi0_pins2>;