Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/display/brcm,bcm2835-vec.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Broadcom VC4 (VideoCore4) VEC |
| 8 | |
| 9 | maintainers: |
| 10 | - Eric Anholt <eric@anholt.net> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | enum: |
| 15 | - brcm,bcm2711-vec |
| 16 | - brcm,bcm2835-vec |
| 17 | |
| 18 | reg: |
| 19 | maxItems: 1 |
| 20 | |
| 21 | clocks: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | interrupts: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | power-domains: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - clocks |
| 34 | - interrupts |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | #include <dt-bindings/clock/bcm2835.h> |
| 41 | |
| 42 | vec: vec@7e806000 { |
| 43 | compatible = "brcm,bcm2835-vec"; |
| 44 | reg = <0x7e806000 0x1000>; |
| 45 | clocks = <&clocks BCM2835_CLOCK_VEC>; |
| 46 | interrupts = <2 27>; |
| 47 | }; |
| 48 | |
| 49 | ... |