Skip to contentSkip to conversation

ARM: dts: aspeed: fuji-data64: Enable mac3 controller

PATCH In review [email protected] 3 participants 3 messages Oct 15, 2025 – Oct 17, 2025

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

PATCH 1/1 ARM: dts: aspeed: fuji-data64: Enable mac3 controller

From: Tao Ren <[email protected]>

"mac3" controller was removed from the initial version of fuji-data64 dts because the rgmii setting is incorrect, but dropping mac3 leads to regression in the existing fuji platform, because fuji.dts simply includes fuji-data64.dts.

This patch adds mac3 back to fuji-data64.dts to fix the fuji regression, and rgmii settings need to be fixed later.

Fixes b0f294fdfc3e ("ARM: dts: aspeed: facebook-fuji: Include facebook-fuji-data64.dts")
---
 .../dts/aspeed/aspeed-bmc-facebook-fuji-data64.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji-data64.dts +14 -0
index aa9576d8ab56..48ca25f57ef6 100644
@@ -1254,3 +1254,17 @@ &emmc {
 	max-frequency = <25000000>;
 	bus-width = <4>;
 };
+
+/*
+ * FIXME: rgmii delay is introduced by MAC (configured in u-boot now)
+ * instead of PCB on fuji board, so the "phy-mode" should be updated to
+ * "rgmii-[tx|rx]id" when the aspeed-mac driver can handle the delay
+ * properly.
+ */
+&mac3 {
+	status = "okay";
+	phy-mode = "rgmii";
+	phy-handle = <&ethphy3>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rgmii4_default>;
+};
Signature · 1 line
2.47.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Wed, Oct 15, 2025 at 01:48:37PM -0700, [email protected] wrote:

From: Tao Ren <[email protected]>

"mac3" controller was removed from the initial version of fuji-data64 dts because the rgmii setting is incorrect, but dropping mac3 leads to regression in the existing fuji platform, because fuji.dts simply includes fuji-data64.dts.

Quoted 5 lines

This patch adds mac3 back to fuji-data64.dts to fix the fuji regression, and rgmii settings need to be fixed later.

Fixes b0f294fdfc3e ("ARM: dts: aspeed: facebook-fuji: Include facebook-fuji-data64.dts")

Thanks for adding the comment.

Andrew

maintainer
#2 lore raw
In reply to [email protected]
Quoted 9 lines · On Wed, 15 Oct 2025 13:48:37 -0700, [email protected] wrote:

"mac3" controller was removed from the initial version of fuji-data64 dts because the rgmii setting is incorrect, but dropping mac3 leads to regression in the existing fuji platform, because fuji.dts simply includes fuji-data64.dts.

This patch adds mac3 back to fuji-data64.dts to fix the fuji regression, and rgmii settings need to be fixed later.

[...]

Thanks, I've applied this to the BMC tree.

Signature · 1 line
Andrew Jeffery <[email protected]>