Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/media/microchip,sama5d4-vdec.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Hantro G1 VPU codec implemented on Microchip SAMA5D4 SoCs |
| 9 | |
| 10 | maintainers: |
| 11 | - Emil Velikov <emil.velikov@collabora.com> |
| 12 | |
| 13 | description: |
| 14 | Hantro G1 video decode accelerator present on Microchip SAMA5D4 SoCs. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: microchip,sama5d4-vdec |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | interrupts: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | clocks: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | - interrupts |
| 33 | - clocks |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | #include <dt-bindings/clock/at91.h> |
| 40 | #include <dt-bindings/interrupt-controller/irq.h> |
| 41 | |
| 42 | vdec0: vdec@300000 { |
| 43 | compatible = "microchip,sama5d4-vdec"; |
| 44 | reg = <0x00300000 0x100000>; |
| 45 | interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>; |
| 46 | clocks = <&pmc PMC_TYPE_PERIPHERAL 19>; |
| 47 | }; |