Skip to content

arm64: dts: allwinner: h6: Enable Ethernet on Tanix TX6

Jernej Skrabec linux-arm-kernel linux-devicetree linux-sunxi lkml 1 version Applied

Status from this message: Applied to sunxi/dt-for-7.5 in sunxi, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: dts: allwinner: sun50i-h6: Add AC200 companion chiparch/arm64/boot/dts/allwinner/sun50i-h6.dtsi+53 -01 reply
2/2arm64: dts: allwinner: tanix: Enable Ethernetarch/arm64/boot/dts/allwinner/sun50i-h6-tanix.dtsi+40 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchJun Yan
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(+)
Signature · 1 line
2.43.0