summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am335x-nano.dts
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-09 03:05:01 +0300
committerTony Lindgren <tony@atomide.com>2018-09-21 00:36:18 +0300
commit25245c44d4d75598e7b2969e97f2a238932bd49a (patch)
treebc9a7af609f9e72f2da61862ece0b544b2b1b889 /arch/arm/boot/dts/am335x-nano.dts
parent4f9584518f248c8b79336e473cc4432a88e964c7 (diff)
downloadlinux-25245c44d4d75598e7b2969e97f2a238932bd49a.tar.xz
ARM: dts: am335x-nano: 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/am335x-nano.dts')
-rw-r--r--arch/arm/boot/dts/am335x-nano.dts12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts
index 946d7069f417..9c9143ed4003 100644
--- a/arch/arm/boot/dts/am335x-nano.dts
+++ b/arch/arm/boot/dts/am335x-nano.dts
@@ -380,16 +380,24 @@
&davinci_mdio {
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 = "mii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
- phy_id = <&davinci_mdio>, <1>;
+ phy-handle = <&ethphy1>;
phy-mode = "mii";
dual_emac_res_vlan = <2>;
};