[PATCH v5 1/3] dt-bindings: arm: cpus: Add brcm,bca-smp enable method
Linus Walleij
linusw at kernel.org
Thu Nov 5 05:24:46 PST 2026
BCMBCA systems booted through CFE can release a secondary CPU by
writing its ARM-state entry address to a 32-bit MMIO mailbox and
sending a wakeup interrupt.
Document brcm,bca-smp and its single-cell cpu-release-addr property.
Require the mailbox address on CPU1, which CFE leaves in a holding pen.
CPU0 is already running and does not need a release address. Add a
Cortex-A7 example with the mailbox address only on CPU1.
Suggested-by: William Zhang <william.zhang at broadcom.com>
Reviewed-by: William Zhang <william.zhang at broadcom.com>
Signed-off-by: Linus Walleij <linusw at kernel.org>
---
Documentation/devicetree/bindings/arm/cpus.yaml | 46 +++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml
index 96136b70dacd..b83c7785f656 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
@@ -479,6 +480,30 @@ allOf:
then:
required:
- secondary-boot-reg
+ - if:
+ properties:
+ enable-method:
+ const: brcm,bca-smp
+ required:
+ - enable-method
+ then:
+ properties:
+ cpu-release-addr:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ Physical address of the 32-bit MMIO mailbox read by CFE after
+ a wakeup interrupt. Required on CPU1, which CFE leaves in
+ a holding pen. The kernel writes the ARM-state entry address
+ before sending the interrupt. CPU0 is already running.
+ if:
+ properties:
+ reg:
+ items:
+ - items:
+ - const: 1
+ then:
+ required:
+ - cpu-release-addr
- if:
properties:
enable-method:
@@ -720,4 +745,25 @@ examples:
cpu-release-addr = <0 0x20000000>;
};
};
+ - |
+ // Example 5 (Broadcom BCMBCA with CFE):
+ cpus {
+ #size-cells = <0>;
+ #address-cells = <1>;
+
+ cpu at 0 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a7";
+ reg = <0>;
+ enable-method = "brcm,bca-smp";
+ };
+
+ cpu at 1 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a7";
+ reg = <1>;
+ enable-method = "brcm,bca-smp";
+ cpu-release-addr = <0xff800568>;
+ };
+ };
...
--
2.56.0
More information about the linux-arm-kernel
mailing list