[PATCH v3 15/22] ARM: dts: BCM5301X: WZR-900DHP: specify switch
Rosen Penev
rosenp at gmail.com
Wed Dec 2 15:53:27 PST 2026
On Wed, Dec 2, 2026 at 1:22 AM Rafał Miłecki <zajec5 at gmail.com> wrote:
>
> W dniu 21.11.2026 o 01:25, Rosen Penev pisze:
> > Add labels to clarify which port is what.
> >
> > Use port 5 (gmac0) as the CPU port. No MAC address is described for the
> > board, so gmac2 would get the SPROM fallback et2macaddr, which these
> > boards do not set, while gmac0 gets et0macaddr.
> >
> > The port mapping is taken from OpenWrt.
> >
> > Signed-off-by: Rosen Penev <rosenp at gmail.com>
> > ---
> > .../broadcom/bcm47081-buffalo-wzr-900dhp.dts | 38 +++++++++++++++++++
> > 1 file changed, 38 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-900dhp.dts b/arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-900dhp.dts
> > index 7655e4ff2d1c..6cb27ea2dd94 100644
> > --- a/arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-900dhp.dts
> > +++ b/arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-900dhp.dts
> > @@ -107,3 +107,41 @@ button-restart {
> > &usb3_phy {
> > status = "okay";
> > };
> > +
> > +&srab {
> > + status = "okay";
> > +
> > + ports {
> > + port at 0 {
> > + label = "lan1";
> > + };
> > +
> > + port at 1 {
> > + label = "lan2";
> > + };
> > +
> > + port at 2 {
> > + label = "lan3";
> > + };
> > +
> > + port at 3 {
> > + label = "lan4";
> > + };
> > +
> > + port at 4 {
> > + label = "wan";
> > + };
> > +
> > + port at 5 {
> > + label = "cpu";
> > + };
>
> This is incorrect, please see commit 2cb156debfa4 ("ARM: dts: BCM5301X: drop pointless "cpu" labels from switch CPU ports").
Indeed. Will write a patch dropping label = "cpu";
>
>
> > +
> > + port at 7 {
> > + status = "disabled";
> > + };
> > +
> > + port at 8 {
> > + status = "disabled";
> > + };
>
> Same issue as in my reply to PATCH 1/22.
>
>
> > + };
> > +};
>
More information about the linux-arm-kernel
mailing list