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