summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-11 01:57:45 +0300
committerTony Lindgren <tony@atomide.com>2018-09-21 00:42:09 +0300
commit04f48434dce0600249545c308cbd1fa937098d7f (patch)
tree7e4ab0bf2167afa1c6ee9f86f6fe90f649706e33 /arch/arm/boot
parentcfd91db31fbf4ae7f2cfca2617ce99956b1c94d6 (diff)
downloadlinux-04f48434dce0600249545c308cbd1fa937098d7f.tar.xz
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')
-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>;
};