ARM: dts: sunxi: Add mdio bus sub-node to GMAC
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / sun7i-a20-icnova-swac.dts
index a20e91c8dbe5312c7277822499342cd9903193a7..413505f45a81e2e5af8b211f538c2ab98580c749 100644 (file)
        phy-handle = <&phy1>;
        phy-mode = "mii";
        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>;