ARM: dts: am335x-pepper: get rid of phy_id property
[linux-2.6-microblaze.git] / arch / arm / boot / dts / am335x-pepper.dts
index 9fb7426..6be79b8 100644 (file)
 /* Ethernet */
 &cpsw_emac0 {
        status = "okay";
-       phy_id = <&davinci_mdio>, <0>;
+       phy-handle = <&ethphy0>;
        phy-mode = "rgmii";
 };
 
 &cpsw_emac1 {
        status = "okay";
-       phy_id = <&davinci_mdio>, <1>;
+       phy-handle = <&ethphy1>;
        phy-mode = "rgmii";
 };
 
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&mdio_pins>;
+
+       ethphy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+
+       ethphy1: ethernet-phy@1 {
+               reg = <1>;
+       };
 };
 
 &mac {