Path: blob/master/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
26309 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Raspberry Pi VideoCore firmware driver78maintainers:9- Eric Anholt <eric@anholt.net>10- Stefan Wahren <wahrenst@gmx.net>1112select:13properties:14compatible:15contains:16const: raspberrypi,bcm2835-firmware1718required:19- compatible2021properties:22compatible:23items:24- const: raspberrypi,bcm2835-firmware25- const: simple-mfd2627mboxes:28maxItems: 12930clocks:31type: object32additionalProperties: false3334properties:35compatible:36const: raspberrypi,firmware-clocks3738"#clock-cells":39const: 140description: >41The argument is the ID of the clocks contained by the42firmware messages.4344required:45- compatible46- "#clock-cells"4748gpio:49type: object50additionalProperties: false5152properties:53compatible:54const: raspberrypi,firmware-gpio5556gpio-controller: true5758"#gpio-cells":59const: 260description:61The first cell is the pin number, and the second cell is used to62specify the gpio polarity (GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW).6364gpio-line-names:65minItems: 86667required:68- compatible69- gpio-controller70- "#gpio-cells"7172reset:73type: object74additionalProperties: false7576properties:77compatible:78const: raspberrypi,firmware-reset7980"#reset-cells":81const: 182description: >83The argument is the ID of the firmware reset line to affect.8485required:86- compatible87- "#reset-cells"8889pwm:90type: object91additionalProperties: false9293properties:94compatible:95const: raspberrypi,firmware-poe-pwm9697"#pwm-cells":98# See pwm.yaml in this directory for a description of the cells format.99const: 2100101required:102- compatible103- "#pwm-cells"104105required:106- compatible107- mboxes108109additionalProperties: false110111examples:112- |113firmware {114compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";115mboxes = <&mailbox>;116117firmware_clocks: clocks {118compatible = "raspberrypi,firmware-clocks";119#clock-cells = <1>;120};121122expgpio: gpio {123compatible = "raspberrypi,firmware-gpio";124gpio-controller;125#gpio-cells = <2>;126};127128reset: reset {129compatible = "raspberrypi,firmware-reset";130#reset-cells = <1>;131};132133pwm: pwm {134compatible = "raspberrypi,firmware-poe-pwm";135#pwm-cells = <2>;136};137};138...139140141