OSDN Git Service

ARM: dts: am43x-epos-evm: get rid of phy_id property
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 10 Sep 2018 22:57:41 +0000 (17:57 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2018 21:41:49 +0000 (14:41 -0700)
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am43x-epos-evm.dts

index 6502d33..4ea753b 100644 (file)
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
        status = "okay";
+
+       ethphy0: ethernet-phy@16 {
+               reg = <16>;
+       };
 };
 
 &cpsw_emac0 {
-       phy_id = <&davinci_mdio>, <16>;
+       phy-handle = <&ethphy0>;
        phy-mode = "rmii";
 };