[PATCH 1/2] dt-bindings: arm: bcm2835: Specify /system/linux,revision property
Jonathan Neuschäfer
j.neuschaefer at gmx.net
Sun Jul 7 16:08:14 PDT 2024
The Raspberry Pi bootloader provides a revision code[0] in the
devicetree, at /system/linux,revision. This patch adds
/system/linux,revision to the schema to allow it to be used in
mainline Linux.
[0]: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#new-style-revision-codes
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
index 162a39dab21823..c6abf818b5ea57 100644
--- a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
@@ -54,6 +54,18 @@ properties:
- raspberrypi,model-zero-2-w
- const: brcm,bcm2837
+ system:
+ type: object
+ additionalProperties: true
+ properties:
+
+ linux,revision:
+ $ref: /schemas/types.yaml#/definitions/string-array
+ description:
+ The "system revision" number, as determined by the bootloader.
+ https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#new-style-revision-codes
+
+
additionalProperties: true
...
--
2.43.0
More information about the linux-arm-kernel
mailing list