blob: b8611bc8756c48d0bd7dd1887b6f6bcf13320b20 [file] [log] [blame]
Tom Rini6bb92fc2024-05-20 09:54:58 -06001# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/st,stm32mp25-video-codec.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: STMicroelectronics STM32MP25 VDEC video decoder & VENC video encoder
8
9maintainers:
10 - Hugues Fruchet <hugues.fruchet@foss.st.com>
11
12description:
13 The STMicroelectronics STM32MP25 SOCs embeds a VDEC video hardware
14 decoder peripheral based on Verisilicon VC8000NanoD IP (former Hantro G1)
15 and a VENC video hardware encoder peripheral based on Verisilicon
16 VC8000NanoE IP (former Hantro H1).
17
18properties:
19 compatible:
20 enum:
21 - st,stm32mp25-vdec
22 - st,stm32mp25-venc
23
24 reg:
25 maxItems: 1
26
27 interrupts:
28 maxItems: 1
29
30 clocks:
31 maxItems: 1
32
33required:
34 - compatible
35 - reg
36 - interrupts
37 - clocks
38
39additionalProperties: false
40
41examples:
42 - |
43 #include <dt-bindings/interrupt-controller/arm-gic.h>
44 video-codec@580d0000 {
45 compatible = "st,stm32mp25-vdec";
46 reg = <0x580d0000 0x3c8>;
47 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
48 clocks = <&ck_icn_p_vdec>;
49 };