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

Andre Przywara andre.przywara at arm.com
Wed May 20 15:41:38 CEST 2026


Hi,

that's a nice surprise to see support for this in U-Boot! I was checking 
lately and couldn't find anything, so this is warmly welcomed, 
especially since there are boards which only have GMAC1 (TV boxes).

I didn't look in much detail yet, but overall this looks pretty nice. I 
need to check whether we really need a syscon driver, but it looks 
trivial enough, so might not be an issue.

So many thanks for sending, and please have some patience with the review.

Cheers,
Andre

On 5/19/26 14:58, Junhui Liu wrote:
> 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,



More information about the U-Boot mailing list