diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-09 02:05:00 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-20 23:36:13 +0200 |
commit | 4f9584518f248c8b79336e473cc4432a88e964c7 (patch) | |
tree | 8bf46e80653a0946d8772b94c717e73f1b895c56 /arch/arm/boot/dts/am335x-pdu001.dts | |
parent | ARM: dts: am335x-pepper: get rid of phy_id property (diff) | |
download | linux-4f9584518f248c8b79336e473cc4432a88e964c7.tar.xz linux-4f9584518f248c8b79336e473cc4432a88e964c7.zip |
ARM: dts: am335x-pdu001: 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-pdu001.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-pdu001.dts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-pdu001.dts b/arch/arm/boot/dts/am335x-pdu001.dts index 1ad530a39a95..2ee460ab4d1a 100644 --- a/arch/arm/boot/dts/am335x-pdu001.dts +++ b/arch/arm/boot/dts/am335x-pdu001.dts @@ -533,16 +533,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 = <ðphy0>; phy-mode = "mii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "mii"; dual_emac_res_vlan = <2>; }; |