From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C19C606A322 for ; Wed, 2 Dec 2026 10:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=OL8RKPmk; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=cgIykO5j DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Unsubscribe-Post:List-Owner; bh=IwwbxVt/nRkFp+ayXWJD0jmGOZ+0cOQjasbsZsUBjV8=; b=OL8RKPmkuW0McdI/ssd2EUJnxU 1rRkEgRcCcN7w05uMcpCR23uTIibuRJufUnQeFWrBfmYK1sPnI5t4vCAAWJZukbsu9zuGUc45+9Qu UAhTRSM1bToCSMCsBP5CxHlRUTp7Kjh35VecQD2Lvxz6QEBRC8aQS7W4n0pgjze5JJfPvi+Jp3H6M QWVOQ2w8w2L2gSVfGJfFId8SEyf+MBePZ50asPAUlwIH+DQOnNaBI507g9kTC+6/53HAgWYu3mzyj RVEMHVrSIFOteVXbtCtGjyv2nadahKzoGmZnu7whCVqIyvpIDFE7Urpcs50gBHF4G+u529GjHnhoB pq3QyK4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYh8K-0000000Ay8U-0SAp; Wed, 02 Dec 2026 10:00:16 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYh8F-0000000Ay1F-1HEw for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2026 10:00:13 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-c51bf011392so936388166b.3 for ; Wed, 02 Dec 2026 02:00:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796205609; x=1796810409; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=IwwbxVt/nRkFp+ayXWJD0jmGOZ+0cOQjasbsZsUBjV8=; b=cgIykO5jsbu8Inz9Nj5sS7I2zcRcMnEy4YYq9H/xGq1FAQgsHuPGzjhrB2FXzVVEGQ x4zKiKy5MFlSXcb+K0zpG8PnxJch9qvJkpS0fRyjIyNliRiEZIBxwtMmzP4WF84VCNYv RXN9Ib1D+FjMxJ06UD4qtIQJCmBilE67M4QRLBMCkUJ+Gw1DHYITR4lIXh4+ZzwkCV/b uy0IyNXzRN2Si75ragZSX7ut/zVsunQl8skX5De7LxSFP4Y4jDb6uLDyhha4O3U2an+y J7IwBffa2leKM6QL9ZvKAWey8SWKiiu2hVkfeBfcsHjTlSaBnpoCsHfutytubRIFCESb yQew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796205609; x=1796810409; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=IwwbxVt/nRkFp+ayXWJD0jmGOZ+0cOQjasbsZsUBjV8=; b=EYByEbfWx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SiGGDlBdFieqQ1QsWWXDe8i221jeGBPf+2G YrM3wrV7V8ntfS62Fw2rGHxKfFfIUR9QsdHj2ZatZ7CrAiNlqTldYIzQIaoVlY4gjoJcWmZGs2V kBbUXAM5dhT0aYMBE/Pb6n/iEuZQqb+4UmunjlRe X-Received: by 2002:a17:907:3e92:b0:c51:f490:cafe with SMTP id a640c23a62f3a-c51f490cc10mr1040885866b.11.1796205608490; Wed, 02 Dec 2026 02:00:08 -0800 (PST) Received: from kordpc.lan ([2a13:e746:396c:c600::8f9]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513afc6fb3sm1313240866b.62.2026.12.02.02.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 02:00:08 -0800 (PST) From: Kordian Chmielewski To: Florian Fainelli , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: William Zhang , Anand Gore , Kursad Oney , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , 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 Message-ID: <20261202100006.157858-1-kudzo51@gmail.com> X-Mailer: git-send-email 2.56.1 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261202_020011_357928_CF75A24E X-CRM114-Status: GOOD ( 16.40 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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