xref: /freebsd/sys/contrib/device-tree/Bindings/media/microchip,sama5d4-vdec.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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
8title: Hantro G1 VPU codec implemented on Microchip SAMA5D4 SoCs
9
10maintainers:
11  - Emil Velikov <emil.velikov@collabora.com>
12
13description:
14  Hantro G1 video decode accelerator present on Microchip SAMA5D4 SoCs.
15
16properties:
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
29required:
30  - compatible
31  - reg
32  - interrupts
33  - clocks
34
35additionalProperties: false
36
37examples:
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        };
48