Skip to contentSkip to conversation

aspeed: msx4: switch phy-mode to rgmii-id

PATCH New Ender Hsieh 1 participant 2 messages May 4 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover aspeed: msx4: switch phy-mode to rgmii-id

Following Aspeed (Jacky Chou) and Andrew Lunn's guidance on linux-aspeed [1], switch the MSX4 board to phy-mode = "rgmii-id" so the PHY handles internal RX/TX delay, and remove the SCU mac0-clk-delay block since SoC-side delay is no longer needed.

A coordinated kernel-side change adding the &mac0/&mdio3 nodes with phy-mode = "rgmii-id" to aspeed-bmc-nvidia-msx4-bmc.dts will be sent to mainline Linux separately.

Tested on alon8 hardware: 1G link negotiation succeeds with this change in coordination with the kernel-side patch.

[1] https://lore.kernel.org/linux-aspeed/[email protected]/

Ender Hsieh (1):
ARM: dts: ast2600 msx4: switch to rgmii-id phy mode

 arch/arm/dts/ast2600-msx4-bmc-nvidia.dts | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 ARM: dts: ast2600 msx4: switch to rgmii-id phy mode

Switch the MAC0 phy-mode to "rgmii-id" so the PHY handles internal RX/TX delay, and drop the SCU mac0-clk-delay block since SoC-side delay is no longer needed.

Coordinated with the kernel-side change adding the &mac0/&mdio3 nodes with phy-mode = "rgmii-id" to the MSX4 board dts in mainline Linux.

---
 arch/arm/dts/ast2600-msx4-bmc-nvidia.dts | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
arch/arm/dts/ast2600-msx4-bmc-nvidia.dts +1 -7
index 9b64f7e734..9df5e74c98 100644
@@ -62,7 +62,7 @@
 
 &mac0 {
 	status = "okay";
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy3>;
 
 	pinctrl-names = "default";
@@ -82,12 +82,6 @@
 	};
 };
 
-&scu {
-	mac0-clk-delay = <0x1d 0x0a
-			  0x1d 0x0a
-			  0x1d 0x0a>;
-};
-
 &sdrammc {
 	clock-frequency = <400000000>;
 	aspeed,ecc-enabled;
Signature · 1 line
2.34.1