Path: blob/master/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
53514 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: 86667patternProperties:68'-hog$':69required:70- gpio-hog7172required:73- compatible74- gpio-controller75- "#gpio-cells"7677reset:78type: object79additionalProperties: false8081properties:82compatible:83const: raspberrypi,firmware-reset8485"#reset-cells":86const: 187description: >88The argument is the ID of the firmware reset line to affect.8990required:91- compatible92- "#reset-cells"9394power:95$ref: /schemas/power/raspberrypi,bcm2835-power.yaml#9697pwm:98type: object99additionalProperties: false100101properties:102compatible:103const: raspberrypi,firmware-poe-pwm104105"#pwm-cells":106# See pwm.yaml in this directory for a description of the cells format.107const: 2108109required:110- compatible111- "#pwm-cells"112113touchscreen:114type: object115$ref: /schemas/input/touchscreen/touchscreen.yaml#116additionalProperties: false117118properties:119compatible:120const: raspberrypi,firmware-ts121122firmware:123deprecated: true124description: Phandle to RPi's firmware device node.125126touchscreen-size-x: true127touchscreen-size-y: true128touchscreen-inverted-x: true129touchscreen-inverted-y: true130touchscreen-swapped-x-y: true131132required:133- compatible134135required:136- compatible137- mboxes138139additionalProperties: false140141examples:142- |143firmware {144compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";145mboxes = <&mailbox>;146147firmware_clocks: clocks {148compatible = "raspberrypi,firmware-clocks";149#clock-cells = <1>;150};151152expgpio: gpio {153compatible = "raspberrypi,firmware-gpio";154gpio-controller;155#gpio-cells = <2>;156};157158reset: reset {159compatible = "raspberrypi,firmware-reset";160#reset-cells = <1>;161};162163pwm: pwm {164compatible = "raspberrypi,firmware-poe-pwm";165#pwm-cells = <2>;166};167168ts: touchscreen {169compatible = "raspberrypi,firmware-ts";170touchscreen-size-x = <800>;171touchscreen-size-y = <480>;172};173};174...175176177