[PATCH net-next v6 1/6] dt-bindings: net: sun8i-emac: Add A523 GMAC200 compatible
Rob Herring
robh at kernel.org
Mon Sep 15 12:23:26 PDT 2025
On Sat, Sep 13, 2025 at 06:13:44PM +0800, Chen-Yu Tsai wrote:
> From: Chen-Yu Tsai <wens at csie.org>
>
> The Allwinner A523 SoC family has a second Ethernet controller, called
> the GMAC200 in the BSP and T527 datasheet, and referred to as GMAC1 for
> numbering. This controller, according to BSP sources, is fully
> compatible with a slightly newer version of the Synopsys DWMAC core.
> The glue layer around the controller is the same as found around older
> DWMAC cores on Allwinner SoCs. The only slight difference is that since
> this is the second controller on the SoC, the register for the clock
> delay controls is at a different offset. Last, the integration includes
> a dedicated clock gate for the memory bus and the whole thing is put in
> a separately controllable power domain.
>
> Add a compatible string entry for it, and work in the requirements for
> a second clock and a power domain.
>
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>
> ---
> Changes since v4:
> - Move clock-names list to main schema (Rob)
> Changes since v2:
> - Added "select" to avoid matching against all dwmac entries
> Changes since v1:
> - Switch to generic (tx|rx)-internal-delay-ps properties
> ---
> .../net/allwinner,sun8i-a83t-emac.yaml | 95 ++++++++++++++++++-
> 1 file changed, 93 insertions(+), 2 deletions(-)
Reviewed-by: Rob Herring (Arm) <robh at kernel.org>
More information about the linux-arm-kernel
mailing list