Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/allwinner,sun50i-h6-vpu-g2.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Hantro G2 VPU codec implemented on Allwinner H6 SoC
8
9maintainers:
10 - Jernej Skrabec <jernej.skrabec@gmail.com>
11
12description:
13 Hantro G2 video decode accelerator present on Allwinner H6 SoC.
14
15properties:
16 compatible:
17 const: allwinner,sun50i-h6-vpu-g2
18
19 reg:
20 maxItems: 1
21
22 interrupts:
23 maxItems: 1
24
25 clocks:
26 items:
27 - description: Bus Clock
28 - description: Module Clock
29
30 clock-names:
31 items:
32 - const: bus
33 - const: mod
34
35 resets:
36 maxItems: 1
37
38 iommus:
39 maxItems: 1
40
41required:
42 - compatible
43 - reg
44 - interrupts
45 - clocks
46 - clock-names
47 - resets
48 - iommus
49
50additionalProperties: false
51
52examples:
53 - |
54 #include <dt-bindings/interrupt-controller/arm-gic.h>
55 #include <dt-bindings/clock/sun50i-h6-ccu.h>
56 #include <dt-bindings/reset/sun50i-h6-ccu.h>
57
58 video-codec-g2@1c00000 {
59 compatible = "allwinner,sun50i-h6-vpu-g2";
60 reg = <0x01c00000 0x1000>;
61 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
62 clocks = <&ccu CLK_BUS_VP9>, <&ccu CLK_VP9>;
63 clock-names = "bus", "mod";
64 resets = <&ccu RST_BUS_VP9>;
65 iommus = <&iommu 5>;
66 };
67
68...