Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@broadcom.com>
To: bcm-kernel-feedback-list@broadcom.com,
	"Rosen Penev" <rosenp@gmail.com>,
	"Florian Fainelli" <florian.fainelli@broadcom.com>,
	"Hauke Mehrtens" <hauke@hauke-m.de>,
	"Rafał Miłecki" <zajec5@gmail.com>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>
Cc: "Florian Fainelli" <f.fainelli@gmail.com>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 21/22] ARM: dts: BCM5301X: use gmac2 as the CPU port
Date: Tue,  1 Dec 2026 21:01:35 -0800	[thread overview]
Message-ID: <20261202050135.4064201-1-florian.fainelli@broadcom.com> (raw)
In-Reply-To: <20261121002603.25254-22-rosenp@gmail.com>

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

On Fri, 20 Nov 2026 16:26:01 -0800, Rosen Penev <rosenp@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@gmail.com>
> ---

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


  reply	other threads:[~2026-12-02  5:41 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21  0:25 [PATCH v3 00/22] ARM: dts: BCM5301X: describe switches and use gmac2 as the CPU port Rosen Penev
2026-11-21  0:25 ` [PATCH v3 01/22] ARM: dts: BCM5301X: AC56U: specify switch Rosen Penev
2026-12-02  4:59   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 02/22] ARM: dts: BCM5301X: AC68U: " Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 03/22] ARM: dts: BCM5301X: N18U: " Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 04/22] ARM: dts: BCM5301X: R7000: " Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 05/22] ARM: dts: BCM5301X: EA6300: set gmac2 MAC address from nvram Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 06/22] ARM: dts: BCM5301X: EA6300: specify switch Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 07/22] ARM: dts: BCM5301X: phicomm-k3: add nvram node Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 08/22] ARM: dts: BCM5301X: phicomm-k3: specify switch Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 09/22] ARM: dts: BCM5301X: R6300 v2: add nvram node Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 10/22] ARM: dts: BCM5301X: R6300 v2: specify switch Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 11/22] ARM: dts: BCM5301X: EA6500 v2: add nvram node Rosen Penev
2026-12-02  5:00   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 12/22] ARM: dts: BCM5301X: EA6500 v2: specify switch Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 13/22] ARM: dts: BCM5301X: R8500: add nvram node Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 14/22] ARM: dts: BCM5301X: R8500: specify switch Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 15/22] ARM: dts: BCM5301X: WZR-900DHP: " Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 16/22] ARM: dts: BCM5301X: WZR-1750DHP: " Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 17/22] ARM: dts: BCM5301X: WXR-1900DHP: " Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 18/22] ARM: dts: BCM5301X: Archer C5 v2: " Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:25 ` [PATCH v3 19/22] ARM: dts: BCM5301X: Archer C9 v1: " Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:26 ` [PATCH v3 20/22] ARM: dts: BCM5301X: DIR-885L: use gmac2 Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-21  0:26 ` [PATCH v3 21/22] ARM: dts: BCM5301X: use gmac2 as the CPU port Rosen Penev
2026-12-02  5:01   ` Florian Fainelli [this message]
2026-11-21  0:26 ` [PATCH v3 22/22] ARM: dts: BCM5301X: enable GMACs in boards that use them Rosen Penev
2026-12-02  5:01   ` Florian Fainelli
2026-11-30 18:49 ` [PATCH v3 00/22] ARM: dts: BCM5301X: describe switches and use gmac2 as the CPU port Florian Fainelli
2026-11-30 21:42   ` Rosen Penev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261202050135.4064201-1-florian.fainelli@broadcom.com \
    --to=florian.fainelli@broadcom.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=hauke@hauke-m.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=rafal@milecki.pl \
    --cc=robh@kernel.org \
    --cc=rosenp@gmail.com \
    --cc=zajec5@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox