diff mbox series

[03/15] ARM: dts: am437x-idk-evm: get rid of phy_id property

Message ID 20180910225755.24611-4-grygorii.strashko@ti.com
State Superseded
Headers show
Series ARM: dts: am437x/am5/dra7/dm814x: get rid of phy_id property | expand

Commit Message

Grygorii Strashko Sept. 10, 2018, 10:57 p.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/am437x-idk-evm.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.10.5
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/am437x-idk-evm.dts b/arch/arm/boot/dts/am437x-idk-evm.dts
index 2013247..bb28540 100644
--- a/arch/arm/boot/dts/am437x-idk-evm.dts
+++ b/arch/arm/boot/dts/am437x-idk-evm.dts
@@ -499,10 +499,14 @@ 
 	pinctrl-0 = <&davinci_mdio_default>;
 	pinctrl-1 = <&davinci_mdio_sleep>;
 	status = "okay";
+
+	ethphy0: ethernet-phy@0 {
+		reg = <0>;
+	};
 };
 
 &cpsw_emac0 {
-	phy_id = <&davinci_mdio>, <0>;
+	phy-handle = <&ethphy0>;
 	phy-mode = "rgmii";
 };