Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

devicetree: bindings: document Broadcom CPU enable method

Broadcom mobile SoCs use a ROM-implemented holding pen for
controlled boot of secondary cores. A special register is
used to communicate to the ROM that a secondary core should
start executing kernel code. This enable method is currently
used for members of the bcm281xx and bcm21664 SoC families.

The use of an enable method also allows the SMP operation vector to
be assigned as a result of device tree content for these SoCs.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Matt Porter <mporter@linaro.org>

authored by

Alex Elder and committed by
Matt Porter
be37a8b5 9a3c4145

+36
+36
Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method
··· 1 + Broadcom Kona Family CPU Enable Method 2 + -------------------------------------- 3 + This binding defines the enable method used for starting secondary 4 + CPUs in the following Broadcom SoCs: 5 + BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664 6 + 7 + The enable method is specified by defining the following required 8 + properties in the "cpus" device tree node: 9 + - enable-method = "brcm,bcm11351-cpu-method"; 10 + - secondary-boot-reg = <...>; 11 + 12 + The secondary-boot-reg property is a u32 value that specifies the 13 + physical address of the register used to request the ROM holding pen 14 + code release a secondary CPU. The value written to the register is 15 + formed by encoding the target CPU id into the low bits of the 16 + physical start address it should jump to. 17 + 18 + Example: 19 + cpus { 20 + #address-cells = <1>; 21 + #size-cells = <0>; 22 + enable-method = "brcm,bcm11351-cpu-method"; 23 + secondary-boot-reg = <0x3500417c>; 24 + 25 + cpu0: cpu@0 { 26 + device_type = "cpu"; 27 + compatible = "arm,cortex-a9"; 28 + reg = <0>; 29 + }; 30 + 31 + cpu1: cpu@1 { 32 + device_type = "cpu"; 33 + compatible = "arm,cortex-a9"; 34 + reg = <1>; 35 + }; 36 + };