aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am437x-cm-t43.dts
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-10 17:57:45 -0500
committerTony Lindgren <tony@atomide.com>2018-09-20 14:42:09 -0700
commit04f48434dce0600249545c308cbd1fa937098d7f (patch)
tree7e4ab0bf2167afa1c6ee9f86f6fe90f649706e33 /arch/arm/boot/dts/am437x-cm-t43.dts
parentARM: dts: am437x-gp-evm: get rid of phy_id property (diff)
downloadlinux-dev-04f48434dce0600249545c308cbd1fa937098d7f.tar.xz
linux-dev-04f48434dce0600249545c308cbd1fa937098d7f.zip
ARM: dts: am437x-cm-t43: 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 <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am437x-cm-t43.dts')
-rw-r--r--arch/arm/boot/dts/am437x-cm-t43.dts12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am437x-cm-t43.dts b/arch/arm/boot/dts/am437x-cm-t43.dts
index bff5abe69bdb..4fcf647815a2 100644
--- a/arch/arm/boot/dts/am437x-cm-t43.dts
+++ b/arch/arm/boot/dts/am437x-cm-t43.dts
@@ -339,16 +339,24 @@
pinctrl-names = "default";
pinctrl-0 = <&davinci_mdio_default>;
status = "okay";
+
+ ethphy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+
+ ethphy1: ethernet-phy@1 {
+ reg = <1>;
+ };
};
&cpsw_emac0 {
- phy_id = <&davinci_mdio>, <0>;
+ phy-handle = <&ethphy0>;
phy-mode = "rgmii-txid";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
- phy_id = <&davinci_mdio>, <1>;
+ phy-handle = <&ethphy1>;
phy-mode = "rgmii-txid";
dual_emac_res_vlan = <2>;
};