* [PATCH 0/2] arm64: dts: broadcom: bcmbca: add TP-Link Archer AX6000 v1
@ 2026-12-02 10:00 Kordian Chmielewski
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
0 siblings, 2 replies; 3+ messages in thread
From: Kordian Chmielewski @ 2026-12-02 10:00 UTC (permalink / raw)
To: Florian Fainelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: William Zhang, Anand Gore, Kursad Oney, Rafał Miłecki,
bcm-kernel-feedback-list, devicetree, linux-arm-kernel,
linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] dt-bindings: arm64: bcmbca: Add TP-Link Archer AX6000 v1 based on BCM4908
2026-12-02 10:00 [PATCH 0/2] arm64: dts: broadcom: bcmbca: add TP-Link Archer AX6000 v1 Kordian Chmielewski
@ 2026-12-02 10:00 ` 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
1 sibling, 0 replies; 3+ messages in thread
From: Kordian Chmielewski @ 2026-12-02 10:00 UTC (permalink / raw)
To: Florian Fainelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: William Zhang, Anand Gore, Kursad Oney, Rafał Miłecki,
bcm-kernel-feedback-list, devicetree, linux-arm-kernel,
linux-kernel
Add the TP-Link Archer AX6000 v1, a router based on the BCM4908.
Signed-off-by: Kordian Chmielewski <kudzo51@gmail.com>
---
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
index 354bb1420cdd..c766c16d8975 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
@@ -45,6 +45,7 @@ properties:
- asus,gt-ac5300
- brcm,bcm94908
- netgear,raxe500
+ - tplink,archer-ax6000-v1
- const: brcm,bcm4908
- const: brcm,bcmbca
--
2.56.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: broadcom: bcmbca: bcm4908: Add DT for TP-Link Archer AX6000 v1
2026-12-02 10:00 [PATCH 0/2] arm64: dts: broadcom: bcmbca: add TP-Link Archer AX6000 v1 Kordian Chmielewski
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 ` Kordian Chmielewski
1 sibling, 0 replies; 3+ messages in thread
From: Kordian Chmielewski @ 2026-12-02 10:00 UTC (permalink / raw)
To: Florian Fainelli, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: William Zhang, Anand Gore, Kursad Oney, Rafał Miłecki,
bcm-kernel-feedback-list, devicetree, linux-arm-kernel,
linux-kernel
The TP-Link Archer AX6000 v1 is a router based on the BCM4908, with 1 GiB
of RAM and 128 MiB of NAND. Describe its buttons, its USB ports, the four
LAN sockets on the SoC's switch, and the bootloader and firmware
partitions of its NAND.
The case numbers these LAN sockets in the opposite order to the switch
ports: socket 1 is port 3.
Port 7 of the switch is left out: the crossbar can connect it to the
SerDes, which leads to the 2.5G WAN PHY, or to the RGMII pins of the
BCM53134S, and bcm_sf2 cannot route the SerDes yet.
Signed-off-by: Kordian Chmielewski <kudzo51@gmail.com>
---
arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 1 +
.../bcm4908-tplink-archer-ax6000-v1.dts | 113 ++++++++++++++++++
2 files changed, 114 insertions(+)
create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-tplink-archer-ax6000-v1.dts
diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
index 9a8461d91c8c..2fe00776b59f 100644
--- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
@@ -5,6 +5,7 @@ dtb-$(CONFIG_ARCH_BCMBCA) += \
bcm4906-zyxel-ex3510b.dtb \
bcm4908-asus-gt-ac5300.dtb \
bcm4908-netgear-raxe500.dtb \
+ bcm4908-tplink-archer-ax6000-v1.dtb \
bcm94908.dtb \
bcm4912-asus-gt-ax6000.dtb \
bcm94912.dtb \
diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-tplink-archer-ax6000-v1.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-tplink-archer-ax6000-v1.dts
new file mode 100644
index 000000000000..145e52e05ee4
--- /dev/null
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-tplink-archer-ax6000-v1.dts
@@ -0,0 +1,113 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+#include "bcm4908.dtsi"
+
+/ {
+ compatible = "tplink,archer-ax6000-v1", "brcm,bcm4908", "brcm,bcmbca";
+ model = "TP-Link Archer AX6000 v1";
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x00 0x00 0x00 0x40000000>;
+ };
+
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ poll-interval = <100>;
+
+ key-led {
+ label = "LED";
+ linux,code = <KEY_LIGHTS_TOGGLE>;
+ gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
+ };
+
+ key-wps {
+ label = "WPS";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
+ };
+
+ key-restart {
+ label = "Reset";
+ linux,code = <KEY_RESTART>;
+ gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
+ };
+
+ key-wifi {
+ label = "WiFi";
+ linux,code = <KEY_RFKILL>;
+ gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
+ };
+ };
+};
+
+&usb_phy {
+ brcm,ioc = <1>;
+ brcm,ipp = <1>;
+ status = "okay";
+};
+
+&ehci {
+ status = "okay";
+};
+
+&ohci {
+ status = "okay";
+};
+
+&xhci {
+ status = "okay";
+};
+
+&ports {
+ port@0 {
+ label = "lan4";
+ };
+
+ port@1 {
+ label = "lan3";
+ };
+
+ port@2 {
+ label = "lan2";
+ };
+
+ port@3 {
+ label = "lan1";
+ };
+};
+
+&nand_controller {
+ status = "okay";
+};
+
+&nandcs {
+ nand-ecc-strength = <4>;
+ nand-ecc-step-size = <512>;
+ nand-on-flash-bbt;
+
+ partitions {
+ compatible = "brcm,bcm4908-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "cferom";
+ reg = <0x0 0x100000>;
+ read-only;
+ };
+
+ partition@100000 {
+ compatible = "brcm,bcm4908-firmware";
+ reg = <0x100000 0x3900000>;
+ };
+
+ partition@3a00000 {
+ compatible = "brcm,bcm4908-firmware";
+ reg = <0x3a00000 0x3900000>;
+ };
+ };
+};
--
2.56.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-12-02 10:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02 10:00 [PATCH 0/2] arm64: dts: broadcom: bcmbca: add TP-Link Archer AX6000 v1 Kordian Chmielewski
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®