Skip to content

Commit 3de96d8

Browse files
Ansueltsbogend
authored andcommitted
dt-bindings: mips: brcm: Document brcm,bmips-cbr-reg property
Document brcm,bmips-cbr-reg property. Some SoC suffer from a BUG where CBR(Core Base Register) address might be badly or never initialized by the Bootloader or reading it from co-processor registers, if the system boots from secondary CPU, results in invalid address. The CBR address is always the same on the SoC. Usage of this property is to give an address also in these broken configuration/bootloader. Signed-off-by: Christian Marangi <[email protected]> Acked-by: Conor Dooley <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent a5c0545 commit 3de96d8

File tree

1 file changed

+24
-0
lines changed
  • Documentation/devicetree/bindings/mips/brcm

1 file changed

+24
-0
lines changed

Documentation/devicetree/bindings/mips/brcm/soc.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ properties:
5555
under the "cpus" node.
5656
$ref: /schemas/types.yaml#/definitions/uint32
5757

58+
brcm,bmips-cbr-reg:
59+
description: Reference address of the CBR.
60+
Some SoC suffer from a BUG where CBR(Core Base Register)
61+
address might be badly or never initialized by the Bootloader
62+
or reading it from co-processor registers, if the system boots
63+
from secondary CPU, results in invalid address.
64+
The CBR address is always the same on the SoC hence it
65+
can be provided in DT to handle these broken case.
66+
$ref: /schemas/types.yaml#/definitions/uint32
67+
5868
patternProperties:
5969
"^cpu@[0-9]$":
6070
type: object
@@ -64,6 +74,20 @@ properties:
6474
required:
6575
- mips-hpt-frequency
6676

77+
if:
78+
properties:
79+
compatible:
80+
contains:
81+
enum:
82+
- brcm,bcm6358
83+
- brcm,bcm6368
84+
85+
then:
86+
properties:
87+
cpus:
88+
required:
89+
- brcm,bmips-cbr-reg
90+
6791
additionalProperties: true
6892

6993
examples:

0 commit comments

Comments
 (0)