]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: fuji-data64: Enable mac3 controller
authorTao Ren <rentao.bupt@gmail.com>
Wed, 15 Oct 2025 20:48:37 +0000 (13:48 -0700)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Fri, 17 Oct 2025 05:59:40 +0000 (16:29 +1030)
"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[1],
and rgmii settings need to be fixed later.

Fixes: b0f294fdfc3e ("ARM: dts: aspeed: facebook-fuji: Include facebook-fuji-data64.dts")
Link: https://lore.kernel.org/all/79ddc7b9-ef26-4959-9a16-aa4e006eb145@roeck-us.net/
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji-data64.dts

index aa9576d8ab5693440f042a2876c13827c8f0e68f..48ca25f57ef61231470615f110c5e65919b05677 100644 (file)
        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>;
+};