mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 17:38:56 +07:00
500d336669
Commit 84320e1a63
("ARM: BCM: Clean up SMP support for Broadcom Kona") moved the
"secondary-boot-reg" property from the "cpus" node to the individual "cpu"
nodes but negelected to update brcm,bcm11351-cpu-method.txt to match.
bcm11351-cpu-method was apparently never added to the list of methods in
bindings/arm/cpus.txt.
bindings/arm/cpus.txt states that "enable-method" should be a property of
the "cpu" node rather than the "cpus" node.
This patch rectifies these two omissions and one inconsistency.
Signed-off-by: Chris Brand <chris.brand@broadcom.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
Broadcom Kona Family CPU Enable Method
|
|
--------------------------------------
|
|
This binding defines the enable method used for starting secondary
|
|
CPUs in the following Broadcom SoCs:
|
|
BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664
|
|
|
|
The enable method is specified by defining the following required
|
|
properties in the "cpu" device tree node:
|
|
- enable-method = "brcm,bcm11351-cpu-method";
|
|
- secondary-boot-reg = <...>;
|
|
|
|
The secondary-boot-reg property is a u32 value that specifies the
|
|
physical address of the register used to request the ROM holding pen
|
|
code release a secondary CPU. The value written to the register is
|
|
formed by encoding the target CPU id into the low bits of the
|
|
physical start address it should jump to.
|
|
|
|
Example:
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu0: cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a9";
|
|
reg = <0>;
|
|
};
|
|
|
|
cpu1: cpu@1 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a9";
|
|
reg = <1>;
|
|
enable-method = "brcm,bcm11351-cpu-method";
|
|
secondary-boot-reg = <0x3500417c>;
|
|
};
|
|
};
|