diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2023-06-17 16:36:19 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2023-07-01 01:35:45 +0300 |
commit | ebb0130dad751e88c28ab94c71e46e8ee65427c9 (patch) | |
tree | 084d7da4194b5b3f846285e7df697c15492453ff /Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml | |
parent | 13ad4b7ce612f215437a479e6efc74aac2d20c25 (diff) | |
download | linux-ebb0130dad751e88c28ab94c71e46e8ee65427c9.tar.xz |
dt-bindings: mailbox: convert bcm2835-mbox bindings to YAML
Convert the DT binding document for bcm2835-mbox from .txt to YAML.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml b/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml new file mode 100644 index 000000000000..9588817f4511 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mailbox/brcm,bcm2835-mbox.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM2835 VideoCore mailbox IPC + +maintainers: + - Stefan Wahren <stefan.wahren@i2se.com> + +properties: + compatible: + const: brcm,bcm2835-mbox + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#mbox-cells": + const: 0 + +required: + - compatible + - reg + - interrupts + - "#mbox-cells" + +additionalProperties: false + +examples: + - | + mailbox@7e00b880 { + compatible = "brcm,bcm2835-mbox"; + reg = <0x7e00b880 0x40>; + interrupts = <0 1>; + #mbox-cells = <0>; + }; |