summaryrefslogtreecommitdiff
path: root/arch/arm/dts/am437x-idk-evm.dts
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2019-08-31 10:30:33 +0300
committerTom Rini <trini@konsulko.com>2019-11-03 09:15:46 -0500
commitb1fe4fe330711c4a2ce2d9ba583bdeae22886589 (patch)
tree54436d65728cd4c3597ead163e140b48428dfb8f /arch/arm/dts/am437x-idk-evm.dts
parent68d875da4cb0824ceb0b4c436d0447bd28686342 (diff)
arm: dts: am437x: sync cpsw/mdio/phy with latest linux - drop phy_id
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/dts/am437x-idk-evm.dts')
-rw-r--r--arch/arm/dts/am437x-idk-evm.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/dts/am437x-idk-evm.dts b/arch/arm/dts/am437x-idk-evm.dts
index 19d1462d15..8f6824c198 100644
--- a/arch/arm/dts/am437x-idk-evm.dts
+++ b/arch/arm/dts/am437x-idk-evm.dts
@@ -385,6 +385,7 @@
};
&mac {
+ slaves = <1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
@@ -396,10 +397,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";
};