diff mbox series

[12/12] ARM: dts: am335x-bone-common: get rid of phy_id property

Message ID 20180909000508.25305-13-grygorii.strashko@ti.com
State New
Headers show
Series ARM: dts: am335x: get rid of phy_id property | expand

Commit Message

Grygorii Strashko Sept. 9, 2018, 12:05 a.m. UTC
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>

---
 arch/arm/boot/dts/am335x-bone-common.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.10.5
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 73b514d..9e5e75e 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 = <&ethphy0>;
 	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 {