From: Grygorii Strashko Date: Sun, 9 Sep 2018 00:05:08 +0000 (-0500) Subject: ARM: dts: am335x-bone-common: get rid of phy_id property X-Git-Tag: v4.20-rc1~66^2~14^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d8b032d3c03f4e9788a18bbb51b10e6c9e8a56b;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: am335x-bone-common: get rid of phy_id property The phy_id property is deprecated and phy-handle has to be used instead. Signed-off-by: Grygorii Strashko Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 73b514dddf65b..9e5e75ea87f5e 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -379,7 +379,7 @@ }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; + phy-handle = <ðphy0>; phy-mode = "mii"; }; @@ -396,6 +396,10 @@ pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; }; &mmc1 {