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

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 <ansuelsmth@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Christian Marangi and committed by
Thomas Bogendoerfer
3de96d81 a5c05453

+24
+24
Documentation/devicetree/bindings/mips/brcm/soc.yaml
··· 55 55 under the "cpus" node. 56 56 $ref: /schemas/types.yaml#/definitions/uint32 57 57 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 + 58 68 patternProperties: 59 69 "^cpu@[0-9]$": 60 70 type: object ··· 73 63 74 64 required: 75 65 - mips-hpt-frequency 66 + 67 + if: 68 + properties: 69 + compatible: 70 + contains: 71 + enum: 72 + - brcm,bcm6358 73 + - brcm,bcm6368 74 + 75 + then: 76 + properties: 77 + cpus: 78 + required: 79 + - brcm,bmips-cbr-reg 76 80 77 81 additionalProperties: true 78 82