summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrygorii Strashko2018-09-11 00:57:42 +0200
committerTony Lindgren2018-09-20 23:41:54 +0200
commit7c0373b16f045bf0940c32ab131fd1a3d2bb1962 (patch)
tree776310cf2ef6e438f2003938cf8ea2dee416a3e9
parentARM: dts: am43x-epos-evm: get rid of phy_id property (diff)
downloadkernel-qcow2-linux-7c0373b16f045bf0940c32ab131fd1a3d2bb1962.tar.gz
kernel-qcow2-linux-7c0373b16f045bf0940c32ab131fd1a3d2bb1962.tar.xz
kernel-qcow2-linux-7c0373b16f045bf0940c32ab131fd1a3d2bb1962.zip
ARM: dts: am437x-sk-evm: 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>
-rw-r--r--arch/arm/boot/dts/am437x-sk-evm.dts12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts
index d4be3fd0b6f4..088cba09d34d 100644
--- a/arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/arch/arm/boot/dts/am437x-sk-evm.dts
@@ -799,16 +799,24 @@
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
+
+ ethphy0: ethernet-phy@4 {
+ reg = <4>;
+ };
+
+ ethphy1: ethernet-phy@5 {
+ reg = <5>;
+ };
};
&cpsw_emac0 {
- phy_id = <&davinci_mdio>, <4>;
+ phy-handle = <&ethphy0>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
- phy_id = <&davinci_mdio>, <5>;
+ phy-handle = <&ethphy1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};