ARM: dts: sunxi: Add mdio bus sub-node to GMAC
[linux-2.6-microblaze.git] / arch / arm / boot / dts / sun7i-a20-bananapro.dts
index 86f4ebb..01ccff7 100644 (file)
        phy-mode = "rgmii";
        phy-supply = <&reg_gmac_3v3>;
        status = "okay";
-
-       phy1: ethernet-phy@1 {
-               reg = <1>;
-       };
 };
 
 &i2c0 {
        status = "okay";
 };
 
+&gmac_mdio {
+       phy1: ethernet-phy@1 {
+               reg = <1>;
+       };
+};
+
 &mmc0 {
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;