aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2019-08-16 21:01:08 +0200
committerStefan Wahren <wahrenst@gmx.net>2019-10-10 19:13:41 +0200
commitab06837dd269b600396b298e9f4678d02b11b71d (patch)
treee2139b254352a7fd071a0505a52dac27fa5ee4a5 /Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
parentARM: dts: bcm283x: Move BCM2835/6/7 specific to bcm2835-common.dtsi (diff)
downloadlinux-dev-ab06837dd269b600396b298e9f4678d02b11b71d.tar.xz
linux-dev-ab06837dd269b600396b298e9f4678d02b11b71d.zip
dt-bindings: arm: Convert BCM2835 board/soc bindings to json-schema
Convert the BCM2835/6/7 SoC bindings to DT schema format using json-schema. All the other Broadcom boards are maintained by Florian Fainelli. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml')
-rw-r--r--Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml48
1 files changed, 48 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
new file mode 100644
index 000000000000..67bf9e236c42
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/bcm/bcm2835.yaml
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/bcm/bcm2835.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom BCM2711/BCM2835 Platforms Device Tree Bindings
+
+maintainers:
+ - Eric Anholt <eric@anholt.net>
+ - Stefan Wahren <wahrenst@gmx.net>
+
+properties:
+ $nodename:
+ const: '/'
+ compatible:
+ oneOf:
+ - description: BCM2835 based Boards
+ items:
+ - enum:
+ - raspberrypi,model-a
+ - raspberrypi,model-a-plus
+ - raspberrypi,model-b
+ - raspberrypi,model-b-i2c0 # Raspberry Pi Model B (no P5)
+ - raspberrypi,model-b-rev2
+ - raspberrypi,model-b-plus
+ - raspberrypi,compute-module
+ - raspberrypi,model-zero
+ - raspberrypi,model-zero-w
+ - const: brcm,bcm2835
+
+ - description: BCM2836 based Boards
+ items:
+ - enum:
+ - raspberrypi,2-model-b
+ - const: brcm,bcm2836
+
+ - description: BCM2837 based Boards
+ items:
+ - enum:
+ - raspberrypi,3-model-a-plus
+ - raspberrypi,3-model-b
+ - raspberrypi,3-model-b-plus
+ - raspberrypi,3-compute-module
+ - raspberrypi,3-compute-module-lite
+ - const: brcm,bcm2837
+
+...