[PATCH v3 21/22] ARM: dts: BCM5301X: use gmac2 as the CPU port
Rafał Miłecki
zajec5 at gmail.com
Wed Dec 2 01:26:24 PST 2026
W dniu 21.11.2026 o 01:26, Rosen Penev pisze:
> 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.
It's some huge mess with all those
label = "cpu";
and
status = "disabled";
We really should not have any of those. Just drop all of them.
More information about the linux-arm-kernel
mailing list