* [PATCH] arm64: dts: allwinner: h6: taiqicat-a01: Enable Ethernet
@ 2026-11-17 14:21 Jun Yan
2026-11-17 14:38 ` sashiko-bot
2026-11-17 16:37 ` Jernej Škrabec
0 siblings, 2 replies; 3+ messages in thread
From: Jun Yan @ 2026-11-17 14:21 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Jernej Skrabec, Samuel Holland
Cc: Jun Yan, devicetree, linux-arm-kernel, linux-sunxi, linux-kernel
The TaiqiCat A01 has a 100 Mbit/s Ethernet port, which uses the EPHY
integrated into the co-packaged AC200 of the Allwinner H6 SoC.
The AC200 derives its 24 MHz reference clock from PWM1, so enable the
PWM controller and the pwm-clock node that supplies it. Also enable
I2C3, over which the AC200 is accessed, and describe the AC200 EPHY
package on the EMAC MDIO bus, with the EMAC operating in RMII mode.
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
---
The AC200 MFD and EPHY drivers/bindings and the sun50i-h6.dtsi AC200
description this depends on are already merged in sunxi/dt-for-7.5.
---
.../dts/allwinner/sun50i-h6-taiqicat-a01.dts | 40 +++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
index 225f42bd3b9e..9b192caeecb2 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
@@ -14,6 +14,7 @@ / {
compatible = "ultrapower,taiqicat-a01", "allwinner,sun50i-h6";
aliases {
+ ethernet0 = &emac;
ethernet1 = &sdio_wifi;
serial0 = &uart0;
};
@@ -87,6 +88,10 @@ wifi_pwrseq: wifi-pwrseq {
};
};
+&ac200_clk {
+ status = "okay";
+};
+
&cpu0 {
cpu-supply = <®_dcdca>;
};
@@ -107,6 +112,14 @@ &ehci3 {
status = "okay";
};
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&rmii_pins>;
+ phy-mode = "rmii";
+ phy-handle = <&ac200_ephy>;
+ status = "okay";
+};
+
&gpu {
mali-supply = <®_dcdcc>;
status = "okay";
@@ -123,6 +136,29 @@ hdmi_out_con: endpoint {
};
};
+&i2c3 {
+ status = "okay";
+};
+
+&mdio {
+ ethernet-phy-package@1 {
+ compatible = "x-powers,ac200-ephy-package";
+ reg = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ vcc-supply = <®_aldo2>;
+ nvmem-cells = <&ephy_calibration>;
+ nvmem-cell-names = "configuration";
+ x-powers,ac200 = <&ac200>;
+ x-powers,xmii-rx-clock-inverted;
+
+ ac200_ephy: ethernet-phy@1 {
+ compatible = "ethernet-phy-id0044.1400";
+ reg = <1>;
+ };
+ };
+};
+
&mmc0 {
vmmc-supply = <®_cldo1>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
@@ -173,6 +209,10 @@ &pio {
vcc-pg-supply = <®_bldo3>;
};
+&pwm {
+ status = "okay";
+};
+
&r_i2c {
status = "okay";
--
2.56.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: allwinner: h6: taiqicat-a01: Enable Ethernet
2026-11-17 14:21 [PATCH] arm64: dts: allwinner: h6: taiqicat-a01: Enable Ethernet Jun Yan
@ 2026-11-17 14:38 ` sashiko-bot
2026-11-17 16:37 ` Jernej Škrabec
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-11-17 14:38 UTC (permalink / raw)
To: Jun Yan; +Cc: devicetree, linux-sunxi, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: allwinner: unresolved AC200 labels in
sun50i-h6-taiqicat-a01.dts
--
commit e13407bcadeb9e661561721128883210b4a0461e
Author: Jun Yan <jerrysteve1101@gmail.com>
arm64: dts: allwinner: h6: taiqicat-a01: Enable Ethernet
This commit enables the EMAC, PWM, I2C3, and AC200 EPHY nodes in the
TaiqiCat A01 device tree to support the onboard 100 Mbit/s Ethernet port.
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
> index 225f42bd3b9e5..9b192caeecb23 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
[ ... ]
> @@ -87,6 +88,10 @@ wifi_pwrseq: wifi-pwrseq {
> };
> };
>
> +&ac200_clk {
> + status = "okay";
> +};
> +
> &cpu0 {
> cpu-supply = <®_dcdca>;
> };
> @@ -107,6 +112,14 @@ &ehci3 {
> status = "okay";
> };
>
> +&emac {
> + pinctrl-names = "default";
> + pinctrl-0 = <&rmii_pins>;
> + phy-mode = "rmii";
> + phy-handle = <&ac200_ephy>;
> + status = "okay";
> +};
> +
> &gpu {
> mali-supply = <®_dcdcc>;
> status = "okay";
> @@ -123,6 +136,29 @@ hdmi_out_con: endpoint {
> };
> };
>
> +&i2c3 {
> + status = "okay";
> +};
> +
> +&mdio {
> + ethernet-phy-package@1 {
> + compatible = "x-powers,ac200-ephy-package";
> + reg = <1>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + vcc-supply = <®_aldo2>;
> + nvmem-cells = <&ephy_calibration>;
> + nvmem-cell-names = "configuration";
> + x-powers,ac200 = <&ac200>;
> + x-powers,xmii-rx-clock-inverted;
> +
> + ac200_ephy: ethernet-phy@1 {
> + compatible = "ethernet-phy-id0044.1400";
> + reg = <1>;
> + };
> + };
> +};
[Severity: High]
Does building sun50i-h6-taiqicat-a01.dtb fail with unresolved phandle and
label references here?
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi in this tree does not yet
define ac200_clk, rmii_pins, i2c3, ephy_calibration, or ac200, so dtbs
builds with CONFIG_ARCH_SUNXI enabled fail in dtc unless the prerequisite
sun50i-h6.dtsi changes are present.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261117142122.246986-1-jerrysteve1101@gmail.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: allwinner: h6: taiqicat-a01: Enable Ethernet
2026-11-17 14:21 [PATCH] arm64: dts: allwinner: h6: taiqicat-a01: Enable Ethernet Jun Yan
2026-11-17 14:38 ` sashiko-bot
@ 2026-11-17 16:37 ` Jernej Škrabec
1 sibling, 0 replies; 3+ messages in thread
From: Jernej Škrabec @ 2026-11-17 16:37 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Samuel Holland, Jun Yan
Cc: Jun Yan, devicetree, linux-arm-kernel, linux-sunxi, linux-kernel
Dne torek, 17. november 2026 ob 15:21:21 Srednjeevropski standardni čas je Jun Yan napisal(a):
> The TaiqiCat A01 has a 100 Mbit/s Ethernet port, which uses the EPHY
> integrated into the co-packaged AC200 of the Allwinner H6 SoC.
>
> The AC200 derives its 24 MHz reference clock from PWM1, so enable the
> PWM controller and the pwm-clock node that supplies it. Also enable
> I2C3, over which the AC200 is accessed, and describe the AC200 EPHY
> package on the EMAC MDIO bus, with the EMAC operating in RMII mode.
>
> Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
>
> ---
> The AC200 MFD and EPHY drivers/bindings and the sun50i-h6.dtsi AC200
> description this depends on are already merged in sunxi/dt-for-7.5.
> ---
> .../dts/allwinner/sun50i-h6-taiqicat-a01.dts | 40 +++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
> index 225f42bd3b9e..9b192caeecb2 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-taiqicat-a01.dts
> @@ -14,6 +14,7 @@ / {
> compatible = "ultrapower,taiqicat-a01", "allwinner,sun50i-h6";
>
> aliases {
> + ethernet0 = &emac;
> ethernet1 = &sdio_wifi;
> serial0 = &uart0;
> };
> @@ -87,6 +88,10 @@ wifi_pwrseq: wifi-pwrseq {
> };
> };
>
> +&ac200_clk {
> + status = "okay";
> +};
> +
> &cpu0 {
> cpu-supply = <®_dcdca>;
> };
> @@ -107,6 +112,14 @@ &ehci3 {
> status = "okay";
> };
>
> +&emac {
> + pinctrl-names = "default";
> + pinctrl-0 = <&rmii_pins>;
> + phy-mode = "rmii";
> + phy-handle = <&ac200_ephy>;
> + status = "okay";
> +};
> +
> &gpu {
> mali-supply = <®_dcdcc>;
> status = "okay";
> @@ -123,6 +136,29 @@ hdmi_out_con: endpoint {
> };
> };
>
> +&i2c3 {
> + status = "okay";
> +};
> +
> +&mdio {
> + ethernet-phy-package@1 {
> + compatible = "x-powers,ac200-ephy-package";
> + reg = <1>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + vcc-supply = <®_aldo2>;
> + nvmem-cells = <&ephy_calibration>;
> + nvmem-cell-names = "configuration";
> + x-powers,ac200 = <&ac200>;
> + x-powers,xmii-rx-clock-inverted;
> +
> + ac200_ephy: ethernet-phy@1 {
> + compatible = "ethernet-phy-id0044.1400";
> + reg = <1>;
> + };
> + };
> +};
> +
> &mmc0 {
> vmmc-supply = <®_cldo1>;
> cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
> @@ -173,6 +209,10 @@ &pio {
> vcc-pg-supply = <®_bldo3>;
> };
>
> +&pwm {
> + status = "okay";
> +};
> +
> &r_i2c {
> status = "okay";
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-17 16:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17 14:21 [PATCH] arm64: dts: allwinner: h6: taiqicat-a01: Enable Ethernet Jun Yan
2026-11-17 14:38 ` sashiko-bot
2026-11-17 16:37 ` Jernej Škrabec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox