Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: allwinner: h6: Enable Ethernet on Tanix TX6
@ 2026-11-15 17:11 Jernej Skrabec
  2026-11-15 17:11 ` [PATCH 1/2] arm64: dts: allwinner: sun50i-h6: Add AC200 companion chip Jernej Skrabec
  2026-11-15 17:11 ` [PATCH 2/2] arm64: dts: allwinner: tanix: Enable Ethernet Jernej Skrabec
  0 siblings, 2 replies; 3+ messages in thread
From: Jernej Skrabec @ 2026-11-15 17:11 UTC (permalink / raw)
  To: Chen-Yu Tsai, Samuel Holland
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, James Hilliard,
	devicetree, linux-arm-kernel, linux-sunxi, linux-kernel,
	Jernej Skrabec

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-15 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-15 17:11 [PATCH 0/2] arm64: dts: allwinner: h6: Enable Ethernet on Tanix TX6 Jernej Skrabec
2026-11-15 17:11 ` [PATCH 1/2] arm64: dts: allwinner: sun50i-h6: Add AC200 companion chip Jernej Skrabec
2026-11-15 17:11 ` [PATCH 2/2] arm64: dts: allwinner: tanix: Enable Ethernet Jernej Skrabec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox