[PATCH v3 0/5] allwinner: Add EMAC0 support to A523 variant SoC

Yixun Lan posted 5 patches 9 months, 2 weeks ago
.../bindings/net/allwinner,sun8i-a83t-emac.yaml    |  1 +
.../sram/allwinner,sun4i-a10-system-control.yaml   |  1 +
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi     | 41 ++++++++++++++++++++++
.../boot/dts/allwinner/sun55i-a527-radxa-a5e.dts   | 19 ++++++++++
.../boot/dts/allwinner/sun55i-t527-avaota-a1.dts   | 19 ++++++++++
5 files changed, 81 insertions(+)
[PATCH v3 0/5] allwinner: Add EMAC0 support to A523 variant SoC
Posted by Yixun Lan 9 months, 2 weeks ago
This patch series is trying to add EMAC0 ethernet MAC support
to the A523 variant SoCs, including A523, A527/T527 chips.

This MAC0 is compatible to previous A64 SoC, so introduce a new DT
compatible but make it as a fallback to A64's compatible.

In this version, the PHYRSTB pin which routed to external phy
has not been populated in DT. It's kind of optional for now,
but we probably should handle it well later.

I've tested only on Radxa A5E board.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
---
Changes in v3:
- collect tags
- update commit prefix
- add bias-disable to pins
- Link to v2: https://lore.kernel.org/r/20250424-01-sun55i-emac0-v2-0-833f04d23e1d@gentoo.org

Changes in v2:
- add ethernet alias node
- add phy-supply
- change to rgmii-id
- drop PH13, rename pin name
- drop bias-pull-up
- collect Review tags
- improve commit log
- Link to v1: https://lore.kernel.org/r/20250423-01-sun55i-emac0-v1-0-46ee4c855e0a@gentoo.org

---
Yixun Lan (5):
      dt-bindings: sram: sunxi-sram: Add A523 compatible
      dt-bindings: net: sun8i-emac: Add A523 EMAC0 compatible
      arm64: dts: allwinner: a523: Add EMAC0 ethernet MAC
      arm64: dts: allwinner: a527: add EMAC0 to Radxa A5E board
      arm64: dts: allwinner: t527: add EMAC0 to Avaota-A1 board

 .../bindings/net/allwinner,sun8i-a83t-emac.yaml    |  1 +
 .../sram/allwinner,sun4i-a10-system-control.yaml   |  1 +
 arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi     | 41 ++++++++++++++++++++++
 .../boot/dts/allwinner/sun55i-a527-radxa-a5e.dts   | 19 ++++++++++
 .../boot/dts/allwinner/sun55i-t527-avaota-a1.dts   | 19 ++++++++++
 5 files changed, 81 insertions(+)
---
base-commit: 69714722df19a7d9e81b7e8f208ca8f325af4502
change-id: 20250423-01-sun55i-emac0-5e395a80f6bf

Best regards,
-- 
Yixun Lan
Re: (subset) [PATCH v3 0/5] allwinner: Add EMAC0 support to A523 variant SoC
Posted by Chen-Yu Tsai 9 months, 1 week ago
On Wed, 30 Apr 2025 13:32:02 +0800, Yixun Lan wrote:
> This patch series is trying to add EMAC0 ethernet MAC support
> to the A523 variant SoCs, including A523, A527/T527 chips.
> 
> This MAC0 is compatible to previous A64 SoC, so introduce a new DT
> compatible but make it as a fallback to A64's compatible.
> 
> In this version, the PHYRSTB pin which routed to external phy
> has not been populated in DT. It's kind of optional for now,
> but we probably should handle it well later.
> 
> [...]

Applied to sunxi/dt-for-6.16 in sunxi/linux.git, thanks!

[1/5] dt-bindings: sram: sunxi-sram: Add A523 compatible
      https://git.kernel.org/sunxi/linux/c/02f27ea7fa02
[3/5] arm64: dts: allwinner: a523: Add EMAC0 ethernet MAC
      https://git.kernel.org/sunxi/linux/c/56766ca6c4f6
[4/5] arm64: dts: allwinner: a527: add EMAC0 to Radxa A5E board
      https://git.kernel.org/sunxi/linux/c/acca163f3f51
[5/5] arm64: dts: allwinner: t527: add EMAC0 to Avaota-A1 board
      https://git.kernel.org/sunxi/linux/c/c6800f15998b

Best regards,
-- 
Chen-Yu Tsai <wens@csie.org>