[PATCH v3 21/22] ARM: dts: BCM5301X: use gmac2 as the CPU port

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


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

On Fri, 20 Nov 2026 16:26:01 -0800, Rosen Penev <rosenp at gmail.com> wrote:
> Port 8 is the switch's IMP port and connects to gmac2, which is present
> on all Northstar SoCs. Several boards with a single CPU port use port 5
> (gmac0) or port 7 (gmac1) instead. Switch them to port 8 and assign the
> nvram MAC address to gmac2:
> 
> - AC87U: the MAC address is assigned to gmac0, but port 5 is disabled
>   and port 7 (gmac1) is the CPU port, so the interface that carries the
>   traffic never gets it.
> - SR400AC, Luxul, R6250 and Meraki MR26/MR32: port 5 is the CPU port.
>   R6250 had no nvram node, so add one. gmac0 got et0macaddr through the
>   SPROM fallback, which gmac2 (et2macaddr) would not.
> 
> The Meraki port 5 fixed-link only repeated the bcm-ns.dtsi default, and
> bcm-ns.dtsi already describes the port 8 fixed-link and links port 8 to
> gmac2, so drop it.
> 
> Boards that use several CPU ports, and boards whose MAC address is only
> known from the SPROM fallback (Buffalo WZR-600DHP2/WZR-1166DHP/
> WZR-1166DHP2, BCM953012ER), are left unchanged.
> 
> 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