diff options
author | Tony Lindgren <tony@atomide.com> | 2018-09-28 16:32:01 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-28 16:36:48 -0400 |
commit | 5f681f41fe1714e9961dcba2e98adea2a0daf9c5 (patch) | |
tree | 1d407db1ce65fbef3ca94f5c6f759c580e9de0d0 | |
parent | 7f4ddf50c92b6a1d8f25a2a610c3a75785f77a1e (diff) |
ARM: dts: am335x: Replace remaining legacy phy_id with phy-handle
Looks like we still have two instances of phy_handle that did not
get update by Grygorii's series. Let's replace these too with
standard phy-handle.
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Neeraj Dantu <dantuguf14105@gmail.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am335x-osd3358-sm-red.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-sancloud-bbe.dts | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-osd3358-sm-red.dts b/arch/arm/boot/dts/am335x-osd3358-sm-red.dts index d9e92671055b..85cd1d0a73ca 100644 --- a/arch/arm/boot/dts/am335x-osd3358-sm-red.dts +++ b/arch/arm/boot/dts/am335x-osd3358-sm-red.dts | |||
@@ -424,7 +424,7 @@ | |||
424 | }; | 424 | }; |
425 | 425 | ||
426 | &cpsw_emac0 { | 426 | &cpsw_emac0 { |
427 | phy_id = <&davinci_mdio>, <4>; | 427 | phy-handle = <ðphy0>; |
428 | phy-mode = "rgmii-txid"; | 428 | phy-mode = "rgmii-txid"; |
429 | }; | 429 | }; |
430 | 430 | ||
@@ -441,6 +441,10 @@ | |||
441 | pinctrl-0 = <&davinci_mdio_default>; | 441 | pinctrl-0 = <&davinci_mdio_default>; |
442 | pinctrl-1 = <&davinci_mdio_sleep>; | 442 | pinctrl-1 = <&davinci_mdio_sleep>; |
443 | status = "okay"; | 443 | status = "okay"; |
444 | |||
445 | ethphy0: ethernet-phy@4 { | ||
446 | reg = <4>; | ||
447 | }; | ||
444 | }; | 448 | }; |
445 | 449 | ||
446 | &mmc1 { | 450 | &mmc1 { |
diff --git a/arch/arm/boot/dts/am335x-sancloud-bbe.dts b/arch/arm/boot/dts/am335x-sancloud-bbe.dts index 7b8e7417a11e..35527fdf56cc 100644 --- a/arch/arm/boot/dts/am335x-sancloud-bbe.dts +++ b/arch/arm/boot/dts/am335x-sancloud-bbe.dts | |||
@@ -103,10 +103,14 @@ | |||
103 | pinctrl-0 = <&davinci_mdio_default>; | 103 | pinctrl-0 = <&davinci_mdio_default>; |
104 | pinctrl-1 = <&davinci_mdio_sleep>; | 104 | pinctrl-1 = <&davinci_mdio_sleep>; |
105 | status = "okay"; | 105 | status = "okay"; |
106 | |||
107 | ethphy0: ethernet-phy@0 { | ||
108 | reg = <0>; | ||
109 | }; | ||
106 | }; | 110 | }; |
107 | 111 | ||
108 | &cpsw_emac0 { | 112 | &cpsw_emac0 { |
109 | phy_id = <&davinci_mdio>, <0>; | 113 | phy-handle = <ðphy0>; |
110 | phy-mode = "rgmii-txid"; | 114 | phy-mode = "rgmii-txid"; |
111 | }; | 115 | }; |
112 | 116 | ||