* [RFC PATCH 1/6] dt-bindings: arm: cpus: Add brcm,bca-smp enable-method
2026-12-04 15:10 [RFC PATCH 0/6] ARM: bcmbca: Add BCM47622 SMP and ASUS RT-AX56U Wadim Mueller
@ 2026-12-04 15:10 ` Wadim Mueller
2026-12-04 15:10 ` [RFC PATCH 2/6] ARM: bcm: " Wadim Mueller
` (4 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Wadim Mueller @ 2026-12-04 15:10 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, William Zhang, Anand Gore,
Kursad Oney, Rafał Miłecki
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Ray Jui, Scott Branden, Russell King, Lorenzo Pieralisi,
bcm-kernel-feedback-list, devicetree, mfd, linux-kernel,
Wadim Mueller
CFE on BCMBCA Cortex-A7 SoCs (e.g. BCM47622) has no PSCI. Add the
enable-method used by the Broadcom device trees for these SoCs.
Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
---
Documentation/devicetree/bindings/arm/cpus.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
index 96136b70d..53cea935e 100644
--- a/Documentation/devicetree/bindings/arm/cpus.yaml
+++ b/Documentation/devicetree/bindings/arm/cpus.yaml
@@ -263,6 +263,7 @@ properties:
- amlogic,meson8b-smp
- arm,realview-smp
- aspeed,ast2600-smp
+ - brcm,bca-smp
- brcm,bcm11351-cpu-method
- brcm,bcm23550
- brcm,bcm2836-smp
--
2.56.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [RFC PATCH 2/6] ARM: bcm: Add brcm,bca-smp enable-method
2026-12-04 15:10 [RFC PATCH 0/6] ARM: bcmbca: Add BCM47622 SMP and ASUS RT-AX56U Wadim Mueller
2026-12-04 15:10 ` [RFC PATCH 1/6] dt-bindings: arm: cpus: Add brcm,bca-smp enable-method Wadim Mueller
@ 2026-12-04 15:10 ` Wadim Mueller
2026-12-04 17:29 ` William Zhang
2026-12-04 15:10 ` [RFC PATCH 3/6] dt-bindings: mfd: brcm,twd: Add BCM47622 Wadim Mueller
` (3 subsequent siblings)
5 siblings, 1 reply; 10+ messages in thread
From: Wadim Mueller @ 2026-12-04 15:10 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, William Zhang, Anand Gore,
Kursad Oney, Rafał Miłecki
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Ray Jui, Scott Branden, Russell King, Lorenzo Pieralisi,
bcm-kernel-feedback-list, devicetree, mfd, linux-kernel,
Wadim Mueller
CFE without secure firmware does not provide PSCI. It keeps the
secondary cores in WFI and on wakeup they jump to the address in the
GPIO GeneralPurpose register (0xff800568).
All cores wake up together, so use a holding pen like mach-versatile.
Tested on BCM6755 (ASUS RT-AX56U).
Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
---
arch/arm/mach-bcm/Makefile | 1 +
arch/arm/mach-bcm/headsmp-bcmbca.S | 36 ++++++++++++++
arch/arm/mach-bcm/platsmp-bcmbca.c | 79 ++++++++++++++++++++++++++++++
3 files changed, 116 insertions(+)
create mode 100644 arch/arm/mach-bcm/headsmp-bcmbca.S
create mode 100644 arch/arm/mach-bcm/platsmp-bcmbca.c
diff --git a/arch/arm/mach-bcm/Makefile b/arch/arm/mach-bcm/Makefile
index 6baedf4c6..d13011a8d 100644
--- a/arch/arm/mach-bcm/Makefile
+++ b/arch/arm/mach-bcm/Makefile
@@ -60,4 +60,5 @@ endif
ifeq ($(CONFIG_ARCH_BCMBCA),y)
obj-$(CONFIG_DEBUG_BCMBCA) += board_bcmbca.o
obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o
+obj-$(CONFIG_ARCH_BCMBCA_CORTEXA7) += platsmp-bcmbca.o headsmp-bcmbca.o
endif
diff --git a/arch/arm/mach-bcm/headsmp-bcmbca.S b/arch/arm/mach-bcm/headsmp-bcmbca.S
new file mode 100644
index 000000000..9e7d462e8
--- /dev/null
+++ b/arch/arm/mach-bcm/headsmp-bcmbca.S
@@ -0,0 +1,36 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (c) 2003 ARM Limited (holding pen from mach-versatile)
+ * All Rights Reserved
+ */
+#include <linux/linkage.h>
+#include <linux/init.h>
+#include <asm/assembler.h>
+
+/*
+ * Entry point for secondary CPUs on BCMBCA (CFE, no PSCI).
+ * This provides a "holding pen" into which all secondary cores are held
+ * until we're ready for them to initialise.
+ */
+ENTRY(bca_secondary_startup)
+ ARM_BE8(setend be)
+ mrc p15, 0, r0, c0, c0, 5
+ bic r0, #0xff000000
+ adr r4, 1f
+ ldmia r4, {r5, r6}
+ sub r4, r4, r5
+ add r6, r6, r4
+pen: ldr r7, [r6]
+ cmp r7, r0
+ bne pen
+
+ /*
+ * we've been released from the holding pen: secondary_stack
+ * should now contain the SVC stack for this core
+ */
+ b secondary_startup
+
+ .align
+1: .long .
+ .long bca_cpu_release
+ENDPROC(bca_secondary_startup)
diff --git a/arch/arm/mach-bcm/platsmp-bcmbca.c b/arch/arm/mach-bcm/platsmp-bcmbca.c
new file mode 100644
index 000000000..e888a2a37
--- /dev/null
+++ b/arch/arm/mach-bcm/platsmp-bcmbca.c
@@ -0,0 +1,79 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * SMP for BCMBCA Cortex-A7 SoCs booted by CFE without PSCI.
+ *
+ * CFE keeps the secondary cores in WFI. On wakeup all of them jump to the
+ * address in GPIO GeneralPurpose register, so we hold them in a pen.
+ */
+
+#include <linux/cacheflush.h>
+#include <linux/delay.h>
+#include <linux/init.h>
+#include <linux/io.h>
+#include <linux/jiffies.h>
+#include <linux/smp.h>
+
+#include <asm/smp_plat.h>
+
+#define BCA_SMP_BOOT_ADDR 0xff800568 /* GPIO->GeneralPurpose */
+
+asmlinkage void bca_secondary_startup(void);
+int bca_cpu_release = -1;
+static DEFINE_RAW_SPINLOCK(bca_lock);
+
+/* pen runs with caches off */
+static void bca_write_cpu_release(int val)
+{
+ WRITE_ONCE(bca_cpu_release, val);
+ smp_wmb(); /* before cache clean */
+ sync_cache_w(&bca_cpu_release);
+}
+
+static void bca_secondary_init(unsigned int cpu)
+{
+ bca_write_cpu_release(-1);
+
+ raw_spin_lock(&bca_lock);
+ raw_spin_unlock(&bca_lock);
+}
+
+static int bca_boot_secondary(unsigned int cpu, struct task_struct *idle)
+{
+ unsigned long timeout;
+ int released;
+
+ raw_spin_lock(&bca_lock);
+
+ bca_write_cpu_release(cpu_logical_map(cpu));
+ arch_send_wakeup_ipi_mask(cpumask_of(cpu));
+
+ timeout = jiffies + HZ;
+ do {
+ smp_rmb(); /* pairs with bca_write_cpu_release() */
+ released = READ_ONCE(bca_cpu_release) == -1;
+ if (released)
+ break;
+ udelay(10);
+ } while (time_before(jiffies, timeout));
+
+ raw_spin_unlock(&bca_lock);
+
+ return released ? 0 : -ETIMEDOUT;
+}
+
+static void __init bca_smp_prepare_cpus(unsigned int max_cpus)
+{
+ void __iomem *reg = ioremap(BCA_SMP_BOOT_ADDR, 4);
+
+ if (WARN_ON(!reg))
+ return;
+ writel(__pa_symbol(bca_secondary_startup), reg);
+ iounmap(reg);
+}
+
+static const struct smp_operations bca_smp_ops __initconst = {
+ .smp_prepare_cpus = bca_smp_prepare_cpus,
+ .smp_secondary_init = bca_secondary_init,
+ .smp_boot_secondary = bca_boot_secondary,
+};
+CPU_METHOD_OF_DECLARE(bca_smp, "brcm,bca-smp", &bca_smp_ops);
--
2.56.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [RFC PATCH 2/6] ARM: bcm: Add brcm,bca-smp enable-method
2026-12-04 15:10 ` [RFC PATCH 2/6] ARM: bcm: " Wadim Mueller
@ 2026-12-04 17:29 ` William Zhang
0 siblings, 0 replies; 10+ messages in thread
From: William Zhang @ 2026-12-04 17:29 UTC (permalink / raw)
To: Wadim Mueller
Cc: linux-arm-kernel, Florian Fainelli, Anand Gore, Kursad Oney,
Rafał Miłecki, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Lee Jones, Ray Jui, Scott Branden, Russell King,
Lorenzo Pieralisi, bcm-kernel-feedback-list, devicetree, mfd,
linux-kernel, Jie Feng Ho
[-- Attachment #1: Type: text/plain, Size: 5506 bytes --]
Hi Wadim,
This smp enable method was already added by Linus recently:
https://lore.kernel.org/all/20261105-genexis-xg6846-smp-v7-3-rc1-v5-2-4103df2588d3@kernel.org/
Thanks,
William
On Fri, Dec 4, 2026 at 7:11 AM Wadim Mueller <wafgo01@gmail.com> wrote:
>
> CFE without secure firmware does not provide PSCI. It keeps the
> secondary cores in WFI and on wakeup they jump to the address in the
> GPIO GeneralPurpose register (0xff800568).
>
> All cores wake up together, so use a holding pen like mach-versatile.
>
> Tested on BCM6755 (ASUS RT-AX56U).
>
> Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
> ---
> arch/arm/mach-bcm/Makefile | 1 +
> arch/arm/mach-bcm/headsmp-bcmbca.S | 36 ++++++++++++++
> arch/arm/mach-bcm/platsmp-bcmbca.c | 79 ++++++++++++++++++++++++++++++
> 3 files changed, 116 insertions(+)
> create mode 100644 arch/arm/mach-bcm/headsmp-bcmbca.S
> create mode 100644 arch/arm/mach-bcm/platsmp-bcmbca.c
>
> diff --git a/arch/arm/mach-bcm/Makefile b/arch/arm/mach-bcm/Makefile
> index 6baedf4c6..d13011a8d 100644
> --- a/arch/arm/mach-bcm/Makefile
> +++ b/arch/arm/mach-bcm/Makefile
> @@ -60,4 +60,5 @@ endif
> ifeq ($(CONFIG_ARCH_BCMBCA),y)
> obj-$(CONFIG_DEBUG_BCMBCA) += board_bcmbca.o
> obj-$(CONFIG_SMP) += bcm63xx_smp.o bcm63xx_pmb.o
> +obj-$(CONFIG_ARCH_BCMBCA_CORTEXA7) += platsmp-bcmbca.o headsmp-bcmbca.o
> endif
> diff --git a/arch/arm/mach-bcm/headsmp-bcmbca.S b/arch/arm/mach-bcm/headsmp-bcmbca.S
> new file mode 100644
> index 000000000..9e7d462e8
> --- /dev/null
> +++ b/arch/arm/mach-bcm/headsmp-bcmbca.S
> @@ -0,0 +1,36 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +/*
> + * Copyright (c) 2003 ARM Limited (holding pen from mach-versatile)
> + * All Rights Reserved
> + */
> +#include <linux/linkage.h>
> +#include <linux/init.h>
> +#include <asm/assembler.h>
> +
> +/*
> + * Entry point for secondary CPUs on BCMBCA (CFE, no PSCI).
> + * This provides a "holding pen" into which all secondary cores are held
> + * until we're ready for them to initialise.
> + */
> +ENTRY(bca_secondary_startup)
> + ARM_BE8(setend be)
> + mrc p15, 0, r0, c0, c0, 5
> + bic r0, #0xff000000
> + adr r4, 1f
> + ldmia r4, {r5, r6}
> + sub r4, r4, r5
> + add r6, r6, r4
> +pen: ldr r7, [r6]
> + cmp r7, r0
> + bne pen
> +
> + /*
> + * we've been released from the holding pen: secondary_stack
> + * should now contain the SVC stack for this core
> + */
> + b secondary_startup
> +
> + .align
> +1: .long .
> + .long bca_cpu_release
> +ENDPROC(bca_secondary_startup)
> diff --git a/arch/arm/mach-bcm/platsmp-bcmbca.c b/arch/arm/mach-bcm/platsmp-bcmbca.c
> new file mode 100644
> index 000000000..e888a2a37
> --- /dev/null
> +++ b/arch/arm/mach-bcm/platsmp-bcmbca.c
> @@ -0,0 +1,79 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
> + * SMP for BCMBCA Cortex-A7 SoCs booted by CFE without PSCI.
> + *
> + * CFE keeps the secondary cores in WFI. On wakeup all of them jump to the
> + * address in GPIO GeneralPurpose register, so we hold them in a pen.
> + */
> +
> +#include <linux/cacheflush.h>
> +#include <linux/delay.h>
> +#include <linux/init.h>
> +#include <linux/io.h>
> +#include <linux/jiffies.h>
> +#include <linux/smp.h>
> +
> +#include <asm/smp_plat.h>
> +
> +#define BCA_SMP_BOOT_ADDR 0xff800568 /* GPIO->GeneralPurpose */
> +
> +asmlinkage void bca_secondary_startup(void);
> +int bca_cpu_release = -1;
> +static DEFINE_RAW_SPINLOCK(bca_lock);
> +
> +/* pen runs with caches off */
> +static void bca_write_cpu_release(int val)
> +{
> + WRITE_ONCE(bca_cpu_release, val);
> + smp_wmb(); /* before cache clean */
> + sync_cache_w(&bca_cpu_release);
> +}
> +
> +static void bca_secondary_init(unsigned int cpu)
> +{
> + bca_write_cpu_release(-1);
> +
> + raw_spin_lock(&bca_lock);
> + raw_spin_unlock(&bca_lock);
> +}
> +
> +static int bca_boot_secondary(unsigned int cpu, struct task_struct *idle)
> +{
> + unsigned long timeout;
> + int released;
> +
> + raw_spin_lock(&bca_lock);
> +
> + bca_write_cpu_release(cpu_logical_map(cpu));
> + arch_send_wakeup_ipi_mask(cpumask_of(cpu));
> +
> + timeout = jiffies + HZ;
> + do {
> + smp_rmb(); /* pairs with bca_write_cpu_release() */
> + released = READ_ONCE(bca_cpu_release) == -1;
> + if (released)
> + break;
> + udelay(10);
> + } while (time_before(jiffies, timeout));
> +
> + raw_spin_unlock(&bca_lock);
> +
> + return released ? 0 : -ETIMEDOUT;
> +}
> +
> +static void __init bca_smp_prepare_cpus(unsigned int max_cpus)
> +{
> + void __iomem *reg = ioremap(BCA_SMP_BOOT_ADDR, 4);
> +
> + if (WARN_ON(!reg))
> + return;
> + writel(__pa_symbol(bca_secondary_startup), reg);
> + iounmap(reg);
> +}
> +
> +static const struct smp_operations bca_smp_ops __initconst = {
> + .smp_prepare_cpus = bca_smp_prepare_cpus,
> + .smp_secondary_init = bca_secondary_init,
> + .smp_boot_secondary = bca_boot_secondary,
> +};
> +CPU_METHOD_OF_DECLARE(bca_smp, "brcm,bca-smp", &bca_smp_ops);
> --
> 2.56.1
>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5473 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [RFC PATCH 3/6] dt-bindings: mfd: brcm,twd: Add BCM47622
2026-12-04 15:10 [RFC PATCH 0/6] ARM: bcmbca: Add BCM47622 SMP and ASUS RT-AX56U Wadim Mueller
2026-12-04 15:10 ` [RFC PATCH 1/6] dt-bindings: arm: cpus: Add brcm,bca-smp enable-method Wadim Mueller
2026-12-04 15:10 ` [RFC PATCH 2/6] ARM: bcm: " Wadim Mueller
@ 2026-12-04 15:10 ` Wadim Mueller
2026-12-04 15:10 ` [RFC PATCH 4/6] ARM: dts: broadcom: bcm47622: Add TWD, reboot, MDIO and SYSTEMPORT0 Wadim Mueller
` (2 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Wadim Mueller @ 2026-12-04 15:10 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, William Zhang, Anand Gore,
Kursad Oney, Rafał Miłecki
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Ray Jui, Scott Branden, Russell King, Lorenzo Pieralisi,
bcm-kernel-feedback-list, devicetree, mfd, linux-kernel,
Wadim Mueller
BCM47622 has the same timer/watchdog block as BCM4908.
Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
---
Documentation/devicetree/bindings/mfd/brcm,twd.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mfd/brcm,twd.yaml b/Documentation/devicetree/bindings/mfd/brcm,twd.yaml
index e5136a37b..217f621fa 100644
--- a/Documentation/devicetree/bindings/mfd/brcm,twd.yaml
+++ b/Documentation/devicetree/bindings/mfd/brcm,twd.yaml
@@ -20,6 +20,7 @@ properties:
items:
- enum:
- brcm,bcm4908-twd
+ - brcm,bcm47622-twd
- brcm,bcm7038-twd
- const: simple-mfd
- const: syscon
--
2.56.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [RFC PATCH 4/6] ARM: dts: broadcom: bcm47622: Add TWD, reboot, MDIO and SYSTEMPORT0
2026-12-04 15:10 [RFC PATCH 0/6] ARM: bcmbca: Add BCM47622 SMP and ASUS RT-AX56U Wadim Mueller
` (2 preceding siblings ...)
2026-12-04 15:10 ` [RFC PATCH 3/6] dt-bindings: mfd: brcm,twd: Add BCM47622 Wadim Mueller
@ 2026-12-04 15:10 ` Wadim Mueller
2026-12-04 17:45 ` Florian Fainelli
2026-12-04 15:10 ` [RFC PATCH 5/6] dt-bindings: arm: bcmbca: Add ASUS RT-AX56U Wadim Mueller
2026-12-04 15:10 ` [RFC PATCH 6/6] ARM: dts: broadcom: " Wadim Mueller
5 siblings, 1 reply; 10+ messages in thread
From: Wadim Mueller @ 2026-12-04 15:10 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, William Zhang, Anand Gore,
Kursad Oney, Rafał Miłecki
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Ray Jui, Scott Branden, Russell King, Lorenzo Pieralisi,
bcm-kernel-feedback-list, devicetree, mfd, linux-kernel,
Wadim Mueller
Add timer/watchdog block, reboot via its soft reset bit, the MDIO
controller and the first SYSTEMPORT (WAN).
Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
---
arch/arm/boot/dts/broadcom/bcm47622.dtsi | 37 ++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm47622.dtsi b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
index 485863f9c..e1d20799b 100644
--- a/arch/arm/boot/dts/broadcom/bcm47622.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
@@ -152,6 +152,19 @@ nandcs: nand@0 {
};
};
+ twd: timer-mfd@400 {
+ compatible = "brcm,bcm47622-twd", "simple-mfd", "syscon";
+ reg = <0x400 0x100>;
+ ranges = <0x0 0x400 0x100>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ watchdog@80 {
+ compatible = "brcm,bcm6345-wdt";
+ reg = <0x80 0xc>;
+ };
+ };
+
uart0: serial@12000 {
compatible = "arm,pl011", "arm,primecell";
reg = <0x12000 0x1000>;
@@ -161,4 +174,28 @@ uart0: serial@12000 {
status = "disabled";
};
};
+
+ reboot {
+ compatible = "syscon-reboot";
+ regmap = <&twd>;
+ offset = <0x8c>;
+ mask = <0x1>;
+ };
+
+ sysport0: ethernet@80400000 {
+ compatible = "brcm,bcm47622-systemport";
+ reg = <0x80400000 0x10000>;
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "rx", "tx";
+ status = "disabled";
+ };
+
+ mdio: mdio@80411300 {
+ compatible = "brcm,unimac-mdio";
+ reg = <0x80411300 0x10>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
};
--
2.56.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [RFC PATCH 4/6] ARM: dts: broadcom: bcm47622: Add TWD, reboot, MDIO and SYSTEMPORT0
2026-12-04 15:10 ` [RFC PATCH 4/6] ARM: dts: broadcom: bcm47622: Add TWD, reboot, MDIO and SYSTEMPORT0 Wadim Mueller
@ 2026-12-04 17:45 ` Florian Fainelli
0 siblings, 0 replies; 10+ messages in thread
From: Florian Fainelli @ 2026-12-04 17:45 UTC (permalink / raw)
To: Wadim Mueller, linux-arm-kernel, William Zhang, Anand Gore,
Kursad Oney, Rafał Miłecki
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Ray Jui, Scott Branden, Russell King, Lorenzo Pieralisi,
bcm-kernel-feedback-list, devicetree, mfd, linux-kernel
On 12/4/26 07:10, Wadim Mueller wrote:
> Add timer/watchdog block, reboot via its soft reset bit, the MDIO
> controller and the first SYSTEMPORT (WAN).
>
> Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
> ---
> arch/arm/boot/dts/broadcom/bcm47622.dtsi | 37 ++++++++++++++++++++++++
> 1 file changed, 37 insertions(+)
>
> diff --git a/arch/arm/boot/dts/broadcom/bcm47622.dtsi b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
> index 485863f9c..e1d20799b 100644
> --- a/arch/arm/boot/dts/broadcom/bcm47622.dtsi
> +++ b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
> @@ -152,6 +152,19 @@ nandcs: nand@0 {
> };
> };
>
> + twd: timer-mfd@400 {
> + compatible = "brcm,bcm47622-twd", "simple-mfd", "syscon";
> + reg = <0x400 0x100>;
> + ranges = <0x0 0x400 0x100>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + watchdog@80 {
> + compatible = "brcm,bcm6345-wdt";
> + reg = <0x80 0xc>;
> + };
> + };
> +
> uart0: serial@12000 {
> compatible = "arm,pl011", "arm,primecell";
> reg = <0x12000 0x1000>;
> @@ -161,4 +174,28 @@ uart0: serial@12000 {
> status = "disabled";
> };
> };
> +
> + reboot {
> + compatible = "syscon-reboot";
> + regmap = <&twd>;
> + offset = <0x8c>;
> + mask = <0x1>;
> + };
> +
> + sysport0: ethernet@80400000 {
> + compatible = "brcm,bcm47622-systemport";
> + reg = <0x80400000 0x10000>;
> + interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "rx", "tx";
> + status = "disabled";
> + };
This is dependent upon the bcm47622 systemport variant being accepted,
you can omit that for now and add it later when the binding is accepted.
--
Florian
^ permalink raw reply [flat|nested] 10+ messages in thread
* [RFC PATCH 5/6] dt-bindings: arm: bcmbca: Add ASUS RT-AX56U
2026-12-04 15:10 [RFC PATCH 0/6] ARM: bcmbca: Add BCM47622 SMP and ASUS RT-AX56U Wadim Mueller
` (3 preceding siblings ...)
2026-12-04 15:10 ` [RFC PATCH 4/6] ARM: dts: broadcom: bcm47622: Add TWD, reboot, MDIO and SYSTEMPORT0 Wadim Mueller
@ 2026-12-04 15:10 ` Wadim Mueller
2026-12-04 15:10 ` [RFC PATCH 6/6] ARM: dts: broadcom: " Wadim Mueller
5 siblings, 0 replies; 10+ messages in thread
From: Wadim Mueller @ 2026-12-04 15:10 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, William Zhang, Anand Gore,
Kursad Oney, Rafał Miłecki
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Ray Jui, Scott Branden, Russell King, Lorenzo Pieralisi,
bcm-kernel-feedback-list, devicetree, mfd, linux-kernel,
Wadim Mueller
RT-AX56U is based on BCM6755 from the BCM47622 family.
Signed-off-by: Wadim Mueller <wafgo01@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 354bb1420..3d957de74 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
@@ -25,6 +25,7 @@ properties:
- description: BCM47622 based boards
items:
- enum:
+ - asus,rt-ax56u
- brcm,bcm947622
- const: brcm,bcm47622
- const: brcm,bcmbca
--
2.56.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [RFC PATCH 6/6] ARM: dts: broadcom: Add ASUS RT-AX56U
2026-12-04 15:10 [RFC PATCH 0/6] ARM: bcmbca: Add BCM47622 SMP and ASUS RT-AX56U Wadim Mueller
` (4 preceding siblings ...)
2026-12-04 15:10 ` [RFC PATCH 5/6] dt-bindings: arm: bcmbca: Add ASUS RT-AX56U Wadim Mueller
@ 2026-12-04 15:10 ` Wadim Mueller
2026-12-04 18:01 ` Florian Fainelli
5 siblings, 1 reply; 10+ messages in thread
From: Wadim Mueller @ 2026-12-04 15:10 UTC (permalink / raw)
To: linux-arm-kernel, Florian Fainelli, William Zhang, Anand Gore,
Kursad Oney, Rafał Miłecki
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Ray Jui, Scott Branden, Russell King, Lorenzo Pieralisi,
bcm-kernel-feedback-list, devicetree, mfd, linux-kernel,
Wadim Mueller
BCM6755, 512 MiB RAM, 256 MiB NAND, CFE bootloader.
Working: serial, 4 CPUs, watchdog, reboot, NAND (read-only, stock
layout) and the WAN port.
Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
---
arch/arm/boot/dts/broadcom/Makefile | 1 +
.../dts/broadcom/bcm6755-asus-rt-ax56u.dts | 124 ++++++++++++++++++
2 files changed, 125 insertions(+)
create mode 100644 arch/arm/boot/dts/broadcom/bcm6755-asus-rt-ax56u.dts
diff --git a/arch/arm/boot/dts/broadcom/Makefile b/arch/arm/boot/dts/broadcom/Makefile
index 2552e11b5..c41ea0b50 100644
--- a/arch/arm/boot/dts/broadcom/Makefile
+++ b/arch/arm/boot/dts/broadcom/Makefile
@@ -40,6 +40,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
dtb-$(CONFIG_ARCH_BCMBCA) += \
bcm6846-genexis-xg6846b.dtb \
bcm947622.dtb \
+ bcm6755-asus-rt-ax56u.dtb \
bcm963138.dtb \
bcm963138dvt.dtb \
bcm963148.dtb \
diff --git a/arch/arm/boot/dts/broadcom/bcm6755-asus-rt-ax56u.dts b/arch/arm/boot/dts/broadcom/bcm6755-asus-rt-ax56u.dts
new file mode 100644
index 000000000..999270e94
--- /dev/null
+++ b/arch/arm/boot/dts/broadcom/bcm6755-asus-rt-ax56u.dts
@@ -0,0 +1,124 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * ASUS RT-AX56U (BCM6755, BCM47622 family)
+ *
+ * Stock CFE has no PSCI, so brcm,bca-smp is used for the secondary CPUs.
+ */
+
+/dts-v1/;
+
+#include "bcm47622.dtsi"
+
+/delete-node/ &{/psci};
+
+/ {
+ model = "ASUS RT-AX56U";
+ compatible = "asus,rt-ax56u", "brcm,bcm47622", "brcm,bcmbca";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x20000000>;
+ };
+};
+
+&CA7_0 {
+ /delete-property/ enable-method;
+};
+
+&CA7_1 {
+ enable-method = "brcm,bca-smp";
+};
+
+&CA7_2 {
+ enable-method = "brcm,bca-smp";
+};
+
+&CA7_3 {
+ enable-method = "brcm,bca-smp";
+};
+
+&uart0 {
+ status = "okay";
+};
+
+&mdio {
+ status = "okay";
+
+ wan_phy: ethernet-phy@8 {
+ reg = <8>;
+ };
+};
+
+/* WAN, internal GPHY */
+&sysport0 {
+ phy-handle = <&wan_phy>;
+ phy-mode = "internal";
+ local-mac-address = [7c 10 c9 e2 3a b0];
+ status = "okay";
+};
+
+&nand_controller {
+ brcm,wp-not-connected;
+ status = "okay";
+};
+
+&nandcs {
+ brcm,nand-ecc-use-strap;
+
+ /* stock layout */
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "cferom";
+ reg = <0x0 0x100000>;
+ read-only;
+ };
+
+ partition@100000 {
+ label = "image";
+ reg = <0x100000 0x5f00000>;
+ read-only;
+ };
+
+ partition@6000000 {
+ label = "image_update";
+ reg = <0x6000000 0x5f00000>;
+ read-only;
+ };
+
+ partition@bf00000 {
+ label = "misc1";
+ reg = <0xbf00000 0x800000>;
+ read-only;
+ };
+
+ partition@c700000 {
+ label = "misc2";
+ reg = <0xc700000 0x2f00000>;
+ read-only;
+ };
+
+ partition@f600000 {
+ label = "misc3";
+ reg = <0xf600000 0x100000>;
+ read-only;
+ };
+
+ partition@f700000 {
+ label = "data";
+ reg = <0xf700000 0x800000>;
+ read-only;
+ };
+ };
+};
--
2.56.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [RFC PATCH 6/6] ARM: dts: broadcom: Add ASUS RT-AX56U
2026-12-04 15:10 ` [RFC PATCH 6/6] ARM: dts: broadcom: " Wadim Mueller
@ 2026-12-04 18:01 ` Florian Fainelli
0 siblings, 0 replies; 10+ messages in thread
From: Florian Fainelli @ 2026-12-04 18:01 UTC (permalink / raw)
To: Wadim Mueller, linux-arm-kernel, William Zhang, Anand Gore,
Kursad Oney, Rafał Miłecki
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Ray Jui, Scott Branden, Russell King, Lorenzo Pieralisi,
bcm-kernel-feedback-list, devicetree, mfd, linux-kernel
On 12/4/26 07:10, Wadim Mueller wrote:
> BCM6755, 512 MiB RAM, 256 MiB NAND, CFE bootloader.
>
> Working: serial, 4 CPUs, watchdog, reboot, NAND (read-only, stock
> layout) and the WAN port.
>
> Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
> ---
[snip]
> +/* WAN, internal GPHY */
> +&sysport0 {
> + phy-handle = <&wan_phy>;
> + phy-mode = "internal";
> + local-mac-address = [7c 10 c9 e2 3a b0];
You will need to figure out a scheme to assign the proper MAC address.
Can you use a NVMEM provider like what BCM5301X does?
> + status = "okay";
> +};
> +
> +&nand_controller {
> + brcm,wp-not-connected;
> + status = "okay";
> +};
> +
> +&nandcs {
> + brcm,nand-ecc-use-strap;
> +
> + /* stock layout */
> + partitions {
> + compatible = "fixed-partitions";
At some point we will want a dynamically parsed partition list, does
bcm63xx_part not work here?
--
Florian
^ permalink raw reply [flat|nested] 10+ messages in thread