]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: 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:49 +0000 (02:31 +0900)
committerKelsey Skunberg <kelsey.skunberg@canonical.com>
Mon, 24 May 2021 23:46:42 +0000 (17:46 -0600)
BugLink: https://bugs.launchpad.net/bugs/1929455
[ Upstream commit dcabb06bf127b3e0d3fbc94a2b65dd56c2725851 ]

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 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: c73730ee4c9a ("arm64: dts: uniphier: add AVE ethernet node")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi

index a87b8a678719635f86946ddf0dff9671bdc8f11c..8f2c1c1e2c64e0b96de408caa129849bab4cc445 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>;
 
index 0e52dadf54b3a7de3c030da4097b17b9d755290b..be97da1322580c330c6609f626dcf255c944aa09 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>;
 
                        clocks = <&sys_clk 7>;
                        reset-names = "ether";
                        resets = <&sys_rst 7>;
-                       phy-mode = "rgmii";
+                       phy-mode = "rgmii-id";
                        local-mac-address = [00 00 00 00 00 00];
                        socionext,syscon-phy-mode = <&soc_glue 1>;