Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@broadcom.com>
To: "Rosen Penev" <rosenp@gmail.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: "Broadcom internal kernel review list"
	<bcm-kernel-feedback-list@broadcom.com>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 00/22] ARM: dts: BCM5301X: describe switches and use gmac2 as the CPU port
Date: Mon, 30 Nov 2026 10:49:19 -0800	[thread overview]
Message-ID: <3ecb745f-1d81-4f8d-90bb-2af00c8a99ce@broadcom.com> (raw)
In-Reply-To: <20261121002603.25254-1-rosenp@gmail.com>

On 11/20/26 16:25, Rosen Penev wrote:
> This series describes the switch on fourteen more BCM5301X boards, makes
> switch port 8 / gmac2 the CPU port on the single-CPU-port boards whose
> MAC address can be assigned to gmac2, and disables the GMACs that a
> board does not use.
> 
> Patches 1-8 describe the switch ports on the RT-AC56U, RT-AC68U, RT-N18U,
> R7000, EA6300 and Phicomm K3. They also set the WAN MAC address from
> nvram, so userspace doesn't have to. The EA6300 and K3 get an nvram node
> for that. The port mappings come from OpenWrt.
> 
> Patches 9-19 do the same for the R6300 v2, EA6500 v2, R8500, WZR-900DHP,
> WZR-1750DHP, WXR-1900DHP, Archer C5 v2 and Archer C9 v1. The R6300 v2,
> EA6500 v2 and R8500 get an nvram node and use port 8 (gmac2) with the
> MAC address from et0macaddr (et2macaddr on the R8500). The Buffalo and
> TP-Link boards have no MAC address described, so they use port 5
> (gmac0), which gets et0macaddr through the SPROM fallback.
> 
> Patch 20 is a fix: on the DIR-885L the nvram MAC address has been on
> gmac0 since port 8 became its only CPU port. It moves it to gmac2.
> 
> Patch 21 moves the CPU port from port 5 (gmac0), or port 7 (gmac1) on
> the RT-AC87U, to port 8 (gmac2) on the remaining single-CPU-port boards.
> Port 8 is the switch's IMP port, and gmac2 is present on all Northstar
> SoCs. The nvram MAC address moves to gmac2 as well, and the R6250 gets
> an nvram node for it. Boards whose MAC address only comes from the SPROM
> fallback (et0macaddr for gmac0) stay on port 5, since gmac2 would read
> et2macaddr instead.
> 
> Patch 22 disables all GMACs in bcm-ns.dtsi and enables only the ones each
> board uses. Boards with a switch node enable the GMACs behind their CPU
> ports. Boards without one keep gmac0-gmac2, because nothing configures
> their switch and which GMAC carries traffic depends on the bootloader.
> Boards with several CPU ports (RT-AC3100, RT-AC3200, RT-AC5300,
> RT-AC88U, WXR-1750DHP) keep them all.
> 
> Compile-tested only. Every patch builds, and dtbs_check output for all
> BCM5301X boards is unchanged by the series.
> 
> An AI coding assistant (Claude Code, Claude Opus 5.5) was used to review
> the series, write patches 9-21 and parts of 22, check the board
> descriptions against OpenWrt, and draft the commit messages and this
> cover letter.

Thanks, I applied those to my "next" branch which will get into 
linux-next, will monitor and submit that for v7.5 inclusion if all goes 
well.

-- 
Florian


      parent reply	other threads:[~2026-11-30 18:49 UTC|newest]

Thread overview: 24+ 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-11-21  0:25 ` [PATCH v3 02/22] ARM: dts: BCM5301X: AC68U: " Rosen Penev
2026-11-21  0:25 ` [PATCH v3 03/22] ARM: dts: BCM5301X: N18U: " Rosen Penev
2026-11-21  0:25 ` [PATCH v3 04/22] ARM: dts: BCM5301X: R7000: " Rosen Penev
2026-11-21  0:25 ` [PATCH v3 05/22] ARM: dts: BCM5301X: EA6300: set gmac2 MAC address from nvram Rosen Penev
2026-11-21  0:25 ` [PATCH v3 06/22] ARM: dts: BCM5301X: EA6300: specify switch Rosen Penev
2026-11-21  0:25 ` [PATCH v3 07/22] ARM: dts: BCM5301X: phicomm-k3: add nvram node Rosen Penev
2026-11-21  0:25 ` [PATCH v3 08/22] ARM: dts: BCM5301X: phicomm-k3: specify switch Rosen Penev
2026-11-21  0:25 ` [PATCH v3 09/22] ARM: dts: BCM5301X: R6300 v2: add nvram node Rosen Penev
2026-11-21  0:25 ` [PATCH v3 10/22] ARM: dts: BCM5301X: R6300 v2: specify switch Rosen Penev
2026-11-21  0:25 ` [PATCH v3 11/22] ARM: dts: BCM5301X: EA6500 v2: add nvram node Rosen Penev
2026-11-21  0:25 ` [PATCH v3 12/22] ARM: dts: BCM5301X: EA6500 v2: specify switch Rosen Penev
2026-11-21  0:25 ` [PATCH v3 13/22] ARM: dts: BCM5301X: R8500: add nvram node Rosen Penev
2026-11-21  0:25 ` [PATCH v3 14/22] ARM: dts: BCM5301X: R8500: specify switch Rosen Penev
2026-11-21  0:25 ` [PATCH v3 15/22] ARM: dts: BCM5301X: WZR-900DHP: " Rosen Penev
2026-11-21  0:25 ` [PATCH v3 16/22] ARM: dts: BCM5301X: WZR-1750DHP: " Rosen Penev
2026-11-21  0:25 ` [PATCH v3 17/22] ARM: dts: BCM5301X: WXR-1900DHP: " Rosen Penev
2026-11-21  0:25 ` [PATCH v3 18/22] ARM: dts: BCM5301X: Archer C5 v2: " Rosen Penev
2026-11-21  0:25 ` [PATCH v3 19/22] ARM: dts: BCM5301X: Archer C9 v1: " Rosen Penev
2026-11-21  0:26 ` [PATCH v3 20/22] ARM: dts: BCM5301X: DIR-885L: use gmac2 Rosen Penev
2026-11-21  0:26 ` [PATCH v3 21/22] ARM: dts: BCM5301X: use gmac2 as the CPU port Rosen Penev
2026-11-21  0:26 ` [PATCH v3 22/22] ARM: dts: BCM5301X: enable GMACs in boards that use them Rosen Penev
2026-11-30 18:49 ` Florian Fainelli [this message]

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=3ecb745f-1d81-4f8d-90bb-2af00c8a99ce@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=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