0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/media/microchip,sama5d4-vdec.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007
0008 title: Hantro G1 VPU codec implemented on Microchip SAMA5D4 SoCs
0009
0010 maintainers:
0011 - Emil Velikov <emil.velikov@collabora.com>
0012
0013 description:
0014 Hantro G1 video decode accelerator present on Microchip SAMA5D4 SoCs.
0015
0016 properties:
0017 compatible:
0018 const: microchip,sama5d4-vdec
0019
0020 reg:
0021 maxItems: 1
0022
0023 interrupts:
0024 maxItems: 1
0025
0026 clocks:
0027 maxItems: 1
0028
0029 required:
0030 - compatible
0031 - reg
0032 - interrupts
0033 - clocks
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 #include <dt-bindings/clock/at91.h>
0040 #include <dt-bindings/interrupt-controller/irq.h>
0041
0042 vdec0: vdec@300000 {
0043 compatible = "microchip,sama5d4-vdec";
0044 reg = <0x00300000 0x100000>;
0045 interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
0046 clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
0047 };