summaryrefslogtreecommitdiff
path: root/arch/arm/dts/am57xx-idk-common.dtsi
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2019-08-31 10:30:32 +0300
committerTom Rini <trini@konsulko.com>2019-11-03 09:15:46 -0500
commit68d875da4cb0824ceb0b4c436d0447bd28686342 (patch)
tree531a3cca7340f3beaabed8d74053ebb68fb9ae05 /arch/arm/dts/am57xx-idk-common.dtsi
parent5d6f05352b69d4858a2a9e9136ac3a734f0222bb (diff)
arm: dts: dra7: 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/am57xx-idk-common.dtsi')
-rw-r--r--arch/arm/dts/am57xx-idk-common.dtsi14
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/dts/am57xx-idk-common.dtsi b/arch/arm/dts/am57xx-idk-common.dtsi
index fdb4e0e47c..590fb14caf 100644
--- a/arch/arm/dts/am57xx-idk-common.dtsi
+++ b/arch/arm/dts/am57xx-idk-common.dtsi
@@ -372,17 +372,27 @@
};
&cpsw_emac0 {
- phy_id = <&davinci_mdio>, <0>;
+ phy-handle = <&ethphy0>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
- phy_id = <&davinci_mdio>, <1>;
+ phy-handle = <&ethphy1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};
+&davinci_mdio {
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+
+ ethphy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+
&usb2_phy1 {
phy-supply = <&ldousb_reg>;
};