Skip to contentSkip to conversation

arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay

PATCH Applied Corentin Labbe 2 participants 2 messages Oct 19, 2020 – Oct 22, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay

Since commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"), the network is unusable on PineH64 model A.

This is due to phy-mode incorrectly set to rgmii instead of rgmii-id.

Fixes 729e1ffcf47e ("arm64: allwinner: h6: add support for the Ethernet on Pine H64")
---
 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +1 -1
index af85b2074867..961732c52aa0 100644
@@ -100,7 +100,7 @@ &ehci3 {
 &emac {
 	pinctrl-names = "default";
 	pinctrl-0 = <&ext_rgmii_pins>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ext_rgmii_phy>;
 	phy-supply = <&reg_gmac_3v3>;
 	allwinner,rx-delay-ps = <200>;
Signature · 1 line
2.26.2
#1 lore raw
Quoted 7 lines · Corentin Labbe

Since commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"), the network is unusable on PineH64 model A.

This is due to phy-mode incorrectly set to rgmii instead of rgmii-id.

Fixes 729e1ffcf47e ("arm64: allwinner: h6: add support for the Ethernet on Pine H64")

Queued as a fix for 5.10, thanks!
Maxime