0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Raspberry Pi VideoCore firmware driver
0008
0009 maintainers:
0010 - Eric Anholt <eric@anholt.net>
0011 - Stefan Wahren <wahrenst@gmx.net>
0012
0013 select:
0014 properties:
0015 compatible:
0016 contains:
0017 const: raspberrypi,bcm2835-firmware
0018
0019 required:
0020 - compatible
0021
0022 properties:
0023 compatible:
0024 items:
0025 - const: raspberrypi,bcm2835-firmware
0026 - const: simple-mfd
0027
0028 mboxes:
0029 maxItems: 1
0030
0031 clocks:
0032 type: object
0033
0034 properties:
0035 compatible:
0036 const: raspberrypi,firmware-clocks
0037
0038 "#clock-cells":
0039 const: 1
0040 description: >
0041 The argument is the ID of the clocks contained by the
0042 firmware messages.
0043
0044 required:
0045 - compatible
0046 - "#clock-cells"
0047
0048 reset:
0049 type: object
0050
0051 properties:
0052 compatible:
0053 const: raspberrypi,firmware-reset
0054
0055 "#reset-cells":
0056 const: 1
0057 description: >
0058 The argument is the ID of the firmware reset line to affect.
0059
0060 required:
0061 - compatible
0062 - "#reset-cells"
0063
0064 pwm:
0065 type: object
0066
0067 properties:
0068 compatible:
0069 const: raspberrypi,firmware-poe-pwm
0070
0071 "#pwm-cells":
0072 # See pwm.yaml in this directory for a description of the cells format.
0073 const: 2
0074
0075 required:
0076 - compatible
0077 - "#pwm-cells"
0078
0079 additionalProperties: false
0080
0081 required:
0082 - compatible
0083 - mboxes
0084
0085 additionalProperties: false
0086
0087 examples:
0088 - |
0089 firmware {
0090 compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
0091 mboxes = <&mailbox>;
0092
0093 firmware_clocks: clocks {
0094 compatible = "raspberrypi,firmware-clocks";
0095 #clock-cells = <1>;
0096 };
0097
0098 reset: reset {
0099 compatible = "raspberrypi,firmware-reset";
0100 #reset-cells = <1>;
0101 };
0102
0103 pwm: pwm {
0104 compatible = "raspberrypi,firmware-poe-pwm";
0105 #pwm-cells = <2>;
0106 };
0107 };
0108 ...