Commit dcabb06b authored by Kunihiko Hayashi's avatar Kunihiko Hayashi Committed by David S. Miller

arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E

UniPhier LD20 and PXs3 boards have RTL8211E ethernet phy, and the phy have
the RX/TX delays of RGMII interface using pull-ups on the RXDLY and TXDLY
pins.

After the commit bbc4d71d ("net: phy: realtek: fix rtl8211e rx/tx
delay config"), the delays are working correctly, however, "rgmii" means
no delay and the phy doesn't work. So need to set the phy-mode to
"rgmii-id" to show that RX/TX delays are enabled.

Fixes: c73730ee ("arm64: dts: uniphier: add AVE ethernet node")
Signed-off-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ba585cc
...@@ -734,7 +734,7 @@ eth: ethernet@65000000 { ...@@ -734,7 +734,7 @@ eth: ethernet@65000000 {
clocks = <&sys_clk 6>; clocks = <&sys_clk 6>;
reset-names = "ether"; reset-names = "ether";
resets = <&sys_rst 6>; resets = <&sys_rst 6>;
phy-mode = "rgmii"; phy-mode = "rgmii-id";
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
socionext,syscon-phy-mode = <&soc_glue 0>; socionext,syscon-phy-mode = <&soc_glue 0>;
......
...@@ -564,7 +564,7 @@ eth0: ethernet@65000000 { ...@@ -564,7 +564,7 @@ eth0: ethernet@65000000 {
clocks = <&sys_clk 6>; clocks = <&sys_clk 6>;
reset-names = "ether"; reset-names = "ether";
resets = <&sys_rst 6>; resets = <&sys_rst 6>;
phy-mode = "rgmii"; phy-mode = "rgmii-id";
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
socionext,syscon-phy-mode = <&soc_glue 0>; socionext,syscon-phy-mode = <&soc_glue 0>;
...@@ -585,7 +585,7 @@ eth1: ethernet@65200000 { ...@@ -585,7 +585,7 @@ eth1: ethernet@65200000 {
clocks = <&sys_clk 7>; clocks = <&sys_clk 7>;
reset-names = "ether"; reset-names = "ether";
resets = <&sys_rst 7>; resets = <&sys_rst 7>;
phy-mode = "rgmii"; phy-mode = "rgmii-id";
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
socionext,syscon-phy-mode = <&soc_glue 1>; socionext,syscon-phy-mode = <&soc_glue 1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment