[PATCH v3 22/22] ARM: dts: BCM5301X: enable GMACs in boards that use them

Florian Fainelli florian.fainelli at broadcom.com
Tue Dec 1 21:01:39 PST 2026


From: Florian Fainelli <f.fainelli at gmail.com>

On Fri, 20 Nov 2026 16:26:02 -0800, Rosen Penev <rosenp at gmail.com> wrote:
> bcm-ns.dtsi enables all four GMACs, so every board probes and registers
> network interfaces for GMACs that are not connected to anything.
> 
> Disable them by default and enable them per board:
> 
> - Boards with a switch node enable the GMACs connected to the switch's
>   enabled CPU ports (port 5: gmac0, port 7: gmac1, port 8: gmac2).
> - Boards without a switch node keep gmac0, gmac1 and gmac2. Without the
>   switch node, b53 does not configure the switch and it stays as the
>   bootloader left it, so which GMAC carries the traffic is unknown.
> 
> gmac3 has no fixed-link and no board describes what it connects to, so
> it stays disabled everywhere.
> 
> Signed-off-by: Rosen Penev <rosenp at gmail.com>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian



More information about the linux-arm-kernel mailing list