ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Thu, 22 Apr 2021 17:31:48 +0000 (02:31 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Apr 2021 22:08:35 +0000 (15:08 -0700)
UniPhier PXs2 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 bbc4d71d6354 ("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: e3cc931921d2 ("ARM: dts: uniphier: add AVE ethernet node")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/uniphier-pxs2.dtsi

index b0b15c97306b87bead1304d9fabb714985eb62eb..e81e5937a60aea38ff355ae30161324d86e5c914 100644 (file)
                        clocks = <&sys_clk 6>;
                        reset-names = "ether";
                        resets = <&sys_rst 6>;
-                       phy-mode = "rgmii";
+                       phy-mode = "rgmii-id";
                        local-mac-address = [00 00 00 00 00 00];
                        socionext,syscon-phy-mode = <&soc_glue 0>;