[PATCH v3 22/22] ARM: dts: BCM5301X: enable GMACs in boards that use them
Rafał Miłecki
zajec5 at gmail.com
Wed Dec 2 01:28:14 PST 2026
W dniu 21.11.2026 o 01:26, Rosen Penev pisze:
> 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.
You left a lot of disabled gmac-s just because you prefer Linux not to
use them. Don't disable interfaces that are on boards and are
functional.
More information about the linux-arm-kernel
mailing list