Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kordian Chmielewski <kudzo51@gmail.com>
To: Florian Fainelli <florian.fainelli@broadcom.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: "William Zhang" <william.zhang@broadcom.com>,
	"Anand Gore" <anand.gore@broadcom.com>,
	"Kursad Oney" <kursad.oney@broadcom.com>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	bcm-kernel-feedback-list@broadcom.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] arm64: dts: broadcom: bcmbca: add TP-Link Archer AX6000 v1
Date: Wed,  2 Dec 2026 11:00:04 +0100	[thread overview]
Message-ID: <20261202100006.157858-1-kudzo51@gmail.com> (raw)

The TP-Link Archer AX6000 v1 is a router with a BCM4908, 1 GiB of RAM and
128 MiB of NAND. Four of its eight LAN sockets are on the SoC's switch and
the other four on a BCM53134S; the 2.5G WAN socket is on a BCM54991E PHY,
and two BCM43684 Wi-Fi chips sit on PCIe.

This series describes what mainline supports today: the buttons, USB,
the four LAN sockets on the SoC's switch, and the bootloader and firmware
partitions of the NAND. The rest needs driver changes first and will
follow with them; the main obstacles are:
- the WAN port: the BCM54991E is on the SerDes, whose route in the
  bcm_sf2 crossbar code is still "if (0) /* FIXME */", and bcm84881 does
  not match the PHY's ID;
- the BCM53134S: it is on the RGMII pins, which the crossbar can connect
  to port 7 of the switch only in place of the SerDes, and b53 does not
  enable its Broadcom tag when its conduit is a user port of another
  Broadcom-tagged switch;
- PCIe: bcm4908.dtsi has no PCIe nodes yet, pcie-brcmstb needs changes
  for inbound DMA and for MSI on the BCM4908, and brcmfmac does not
  support the BCM43684;
- Bluetooth: a BCM20704 on the SoC's high-speed UART, and mainline has
  no driver for that UART;
- the LED controller, which has no driver in Linux.

The LAN labels follow the case: socket 1 is switch port 3, which the
device trees of the Netgear RAXE500 and the TP-Link Archer C2300 v1 also
label lan1.

Port 7 of the switch is not described, so until "net: dsa: bcm_sf2:
don't warn when BCM4908 port 7 is not used" [1], sent to netdev, is
applied, bcm_sf2_crossbar_setup() hits WARN(1, "Invalid port mode") at
probe.

Tested on the router with an OpenWrt build of Linux 6.18.55 that carries
out-of-tree bcm4908 patches (bcm_sf2 and bcm4908_enet among them),
booting a DTB built from these files and the unchanged bcm4908.dtsi (the
same in devicetree-arm64/next and in net), with the bcm_sf2 fix above:
the board boots from NAND with 1 GiB of RAM, the NAND partitions are
found, the four LAN ports register with their PHYs, TCP between the router
and a host on LAN socket 1 ran at 941 Mbit/s in both directions, and the
EHCI, OHCI and xHCI controllers register. Each of the four buttons was
pressed and reported the key code of its node, through OpenWrt's
gpio-button-hotplug, which binds to gpio-keys-polled. A USB 2.0 stick
enumerated at high speed through EHCI, and a USB 3 network adapter at
SuperSpeed through xHCI. dt_binding_check reports nothing for
brcm,bcmbca.yaml and dtbs_check nothing for the new DTB; with W=1, dtc
shows only the unit_address_vs_reg warning on /soc that bcm4908.dtsi
gives every BCM4908 board.

[1] https://lore.kernel.org/netdev/20261202095743.157195-1-kudzo51@gmail.com/

Kordian Chmielewski (2):
  dt-bindings: arm64: bcmbca: Add TP-Link Archer AX6000 v1 based on
    BCM4908
  arm64: dts: broadcom: bcmbca: bcm4908: Add DT for TP-Link Archer
    AX6000 v1

 .../bindings/arm/bcm/brcm,bcmbca.yaml         |   1 +
 arch/arm64/boot/dts/broadcom/bcmbca/Makefile  |   1 +
 .../bcm4908-tplink-archer-ax6000-v1.dts       | 113 ++++++++++++++++++
 3 files changed, 115 insertions(+)
 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-tplink-archer-ax6000-v1.dts

-- 
2.56.1



             reply	other threads:[~2026-12-02 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 10:00 Kordian Chmielewski [this message]
2026-12-02 10:00 ` [PATCH 1/2] dt-bindings: arm64: bcmbca: Add TP-Link Archer AX6000 v1 based on BCM4908 Kordian Chmielewski
2026-12-02 10:00 ` [PATCH 2/2] arm64: dts: broadcom: bcmbca: bcm4908: Add DT for TP-Link Archer AX6000 v1 Kordian Chmielewski

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=20261202100006.157858-1-kudzo51@gmail.com \
    --to=kudzo51@gmail.com \
    --cc=anand.gore@broadcom.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=krzk+dt@kernel.org \
    --cc=kursad.oney@broadcom.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafal@milecki.pl \
    --cc=robh@kernel.org \
    --cc=william.zhang@broadcom.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