]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/media/rockchip-vpu.txt
Import devicetree files from Linux 5.4
[FreeBSD/FreeBSD.git] / Bindings / media / rockchip-vpu.txt
1 device-tree bindings for rockchip VPU codec
2
3 Rockchip (Video Processing Unit) present in various Rockchip platforms,
4 such as RK3288, RK3328 and RK3399.
5
6 Required properties:
7 - compatible: value should be one of the following
8                 "rockchip,rk3288-vpu";
9                 "rockchip,rk3328-vpu";
10                 "rockchip,rk3399-vpu";
11 - interrupts: encoding and decoding interrupt specifiers
12 - interrupt-names: should be
13                 "vepu", "vdpu" on RK3288 and RK3399,
14                 "vdpu" on RK3328.
15 - clocks: phandle to VPU aclk, hclk clocks
16 - clock-names: should be "aclk" and "hclk"
17 - power-domains: phandle to power domain node
18 - iommus: phandle to a iommu node
19
20 Example:
21 SoC-specific DT entry:
22         vpu: video-codec@ff9a0000 {
23                 compatible = "rockchip,rk3288-vpu";
24                 reg = <0x0 0xff9a0000 0x0 0x800>;
25                 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
26                              <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
27                 interrupt-names = "vepu", "vdpu";
28                 clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
29                 clock-names = "aclk", "hclk";
30                 power-domains = <&power RK3288_PD_VIDEO>;
31                 iommus = <&vpu_mmu>;
32         };
33
34         vpu: video-codec@ff350000 {
35                 compatible = "rockchip,rk3328-vpu";
36                 reg = <0x0 0xff350000 0x0 0x800>;
37                 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
38                 interrupt-names = "vdpu";
39                 clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
40                 clock-names = "aclk", "hclk";
41                 power-domains = <&power RK3328_PD_VPU>;
42                 iommus = <&vpu_mmu>;
43         };