diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-09 02:04:59 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-20 23:36:07 +0200 |
commit | 9e19b4bd012b268495b5d70a70b5b2ec1c79846e (patch) | |
tree | 427e030c100009b6258fd8d53b829def13a8d103 /arch/arm/boot/dts/am335x-pepper.dts | |
parent | ARM: dts: am335x-shc: get rid of phy_id property (diff) | |
download | linux-9e19b4bd012b268495b5d70a70b5b2ec1c79846e.tar.xz linux-9e19b4bd012b268495b5d70a70b5b2ec1c79846e.zip |
ARM: dts: am335x-pepper: 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-pepper.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-pepper.dts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts index 9fb7426070ce..6be79b8349ac 100644 --- a/arch/arm/boot/dts/am335x-pepper.dts +++ b/arch/arm/boot/dts/am335x-pepper.dts @@ -265,13 +265,13 @@ /* Ethernet */ &cpsw_emac0 { status = "okay"; - phy_id = <&davinci_mdio>, <0>; + phy-handle = <ðphy0>; phy-mode = "rgmii"; }; &cpsw_emac1 { status = "okay"; - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "rgmii"; }; @@ -279,6 +279,14 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mdio_pins>; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; }; &mac { |