[0/2] arm64: dts: allwinner: h6: Enable Ethernet on Tanix TX6

Message ID 20261115171148.37784-1-jernej.skrabec@gmail.com (mailing list archive)
Headers
Series arm64: dts: allwinner: h6: Enable Ethernet on Tanix TX6 |

Message

Jernej Skrabec Nov. 15, 2026, 5:11 p.m. UTC
The AC200 MFD and Ethernet PHY drivers and their bindings were merged
in v7.4-rc1. This series adds the device tree parts needed to use them
on H6, starting with the Tanix TX6 and TX6 mini TV boxes, whose only
Ethernet port goes through the PHY in the AC200 co-packaged with the
H6.

Patch 1 describes the AC200 in the H6 dtsi: the I2C3 controller with
the AC200 on it, a pwm-clock that provides its 24 MHz reference clock
from PWM1, the RMII pins and the EPHY calibration value in the SID.
Everything stays disabled.

Patch 2 enables Ethernet on the Tanix boards.

Tested on a Tanix TX6: 100 Mbit/s full duplex, about 11 MB/s in each
direction, and the link comes up both after cold boots with no
Ethernet initialisation in U-Boot and after U-Boot has used it. The
TX6 mini shares the same dtsi and was not tested separately.

The arm64 defconfig does not enable CONFIG_MFD_AC200 and
CONFIG_XPOWERS_ACX00_PHY yet; I can send a separate patch for that.

Best regards,
Jernej

Jernej Skrabec (2):
  arm64: dts: allwinner: sun50i-h6: Add AC200 companion chip
  arm64: dts: allwinner: tanix: Enable Ethernet

 .../boot/dts/allwinner/sun50i-h6-tanix.dtsi   | 40 ++++++++++++++
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi  | 53 +++++++++++++++++++
 2 files changed, 93 insertions(+)
  

Comments

Jun Yan Nov. 16, 2026, 2:25 p.m. UTC | #1
Hi Jernej,

> The AC200 MFD and Ethernet PHY drivers and their bindings were merged
> in v7.4-rc1. This series adds the device tree parts needed to use them
> on H6, starting with the Tanix TX6 and TX6 mini TV boxes, whose only
> Ethernet port goes through the PHY in the AC200 co-packaged with the
> H6.
> 
> Patch 1 describes the AC200 in the H6 dtsi: the I2C3 controller with
> the AC200 on it, a pwm-clock that provides its 24 MHz reference clock
> from PWM1, the RMII pins and the EPHY calibration value in the SID.
> Everything stays disabled.
> 
> Patch 2 enables Ethernet on the Tanix boards.
> 
> Tested on a Tanix TX6: 100 Mbit/s full duplex, about 11 MB/s in each
> direction, and the link comes up both after cold boots with no
> Ethernet initialisation in U-Boot and after U-Boot has used it. The
> TX6 mini shares the same dtsi and was not tested separately.
> 
> The arm64 defconfig does not enable CONFIG_MFD_AC200 and
> CONFIG_XPOWERS_ACX00_PHY yet; I can send a separate patch for that.
> 
> Best regards,
> Jernej
> 
> Jernej Skrabec (2):
>   arm64: dts: allwinner: sun50i-h6: Add AC200 companion chip
>   arm64: dts: allwinner: tanix: Enable Ethernet
> 
>  .../boot/dts/allwinner/sun50i-h6-tanix.dtsi   | 40 ++++++++++++++
>  arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi  | 53 +++++++++++++++++++
>  2 files changed, 93 insertions(+)
> 
> -- 
> 2.43.0

Same AC200 setup on TaiqiCat (TQC) A01; I'll send the board enablement
separately once the H6 dtsi changes are merged.

Thanks,
Jun
  
Chen-Yu Tsai Nov. 16, 2026, 4:30 p.m. UTC | #2
On Sun, 15 Nov 2026 18:11:46 +0100, Jernej Skrabec wrote:
> The AC200 MFD and Ethernet PHY drivers and their bindings were merged
> in v7.4-rc1. This series adds the device tree parts needed to use them
> on H6, starting with the Tanix TX6 and TX6 mini TV boxes, whose only
> Ethernet port goes through the PHY in the AC200 co-packaged with the
> H6.
> 
> Patch 1 describes the AC200 in the H6 dtsi: the I2C3 controller with
> the AC200 on it, a pwm-clock that provides its 24 MHz reference clock
> from PWM1, the RMII pins and the EPHY calibration value in the SID.
> Everything stays disabled.
> 
> [...]

Applied to sunxi/dt-for-7.5 in sunxi, thanks!

[1/2] arm64: dts: allwinner: sun50i-h6: Add AC200 companion chip
      https://git.kernel.org/sunxi/linux/c/16272a829005
[2/2] arm64: dts: allwinner: tanix: Enable Ethernet
      https://git.kernel.org/sunxi/linux/c/836398c4e1f2

Best regards,