Skip to content

Commit

Permalink
ARM: dts: am335x: Replace remaining legacy phy_id with phy-handle
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lindgren committed Sep 28, 2018
1 parent 7f4ddf5 commit 5f681f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion arch/arm/boot/dts/am335x-osd3358-sm-red.dts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
};

&cpsw_emac0 {
phy_id = <&davinci_mdio>, <4>;
phy-handle = <&ethphy0>;
phy-mode = "rgmii-txid";
};

Expand All @@ -441,6 +441,10 @@
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";

ethphy0: ethernet-phy@4 {
reg = <4>;
};
};

&mmc1 {
Expand Down
6 changes: 5 additions & 1 deletion arch/arm/boot/dts/am335x-sancloud-bbe.dts
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,14 @@
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";

ethphy0: ethernet-phy@0 {
reg = <0>;
};
};

&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-handle = <&ethphy0>;
phy-mode = "rgmii-txid";
};

Expand Down

0 comments on commit 5f681f4

Please sign in to comment.