[PATCH 0/5] sunxi: a523: add gmac1 support

Junhui Liu junhui.liu at pigmoral.tech
Tue May 19 14:58:27 CEST 2026


This adds gmac1 controller support for the Allwinner sun55i
(A523/A527/T527) platform. Unlike the gmac0 controller which uses the
older sun8i-emac IP, gmac1 utilizes the Synopsys DesignWare Ethernet QOS
IP block.

In addition to porting the DWC_ETH_QOS_SUNXI driver from upstream Linux,
this series also introduces support for relevant dependencies, including
clocks, pinctrl, and syscon required to make the controller fully
functional.

This was tested on the Radxa Cubie A5E board, and the relevant options
are enabled as well.

Signed-off-by: Junhui Liu <junhui.liu at pigmoral.tech>
---
Junhui Liu (5):
      net: dwc_eth_qos: add support for sun55i platform
      arm: mach-sunxi: add syscon driver for system-control nodes
      pinctrl: sunxi: a523: add gmac1 support
      clk: sunxi: a523: add MBUS_EMAC1 clock gate
      configs: radxa-cubie-a5e: enable the gmac1 controller

 arch/arm/mach-sunxi/Kconfig           |   7 +
 arch/arm/mach-sunxi/Makefile          |   1 +
 arch/arm/mach-sunxi/syscon.c          |  28 ++++
 configs/radxa-cubie-a5e_defconfig     |   6 +
 drivers/clk/sunxi/clk_a523.c          |   1 +
 drivers/net/Kconfig                   |   9 ++
 drivers/net/Makefile                  |   1 +
 drivers/net/dwc_eth_qos.c             |   6 +
 drivers/net/dwc_eth_qos.h             |   1 +
 drivers/net/dwc_eth_qos_sunxi.c       | 254 ++++++++++++++++++++++++++++++++++
 drivers/pinctrl/sunxi/pinctrl-sunxi.c |   3 +-
 11 files changed, 316 insertions(+), 1 deletion(-)
---
base-commit: 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a
change-id: 20260519-a5e-gmac1-81a460a3a52d

Best regards,
-- 
Junhui Liu <junhui.liu at pigmoral.tech>



More information about the U-Boot mailing list