Commit | Line | Data |
---|---|---|
e4183d32 EG |
1 | device-tree bindings for rockchip VPU codec |
2 | ||
3 | Rockchip (Video Processing Unit) present in various Rockchip platforms, | |
4 | such as RK3288 and RK3399. | |
5 | ||
6 | Required properties: | |
7 | - compatible: value should be one of the following | |
8 | "rockchip,rk3288-vpu"; | |
9 | "rockchip,rk3399-vpu"; | |
10 | - interrupts: encoding and decoding interrupt specifiers | |
11 | - interrupt-names: should be "vepu" and "vdpu" | |
12 | - clocks: phandle to VPU aclk, hclk clocks | |
13 | - clock-names: should be "aclk" and "hclk" | |
14 | - power-domains: phandle to power domain node | |
15 | - iommus: phandle to a iommu node | |
16 | ||
17 | Example: | |
18 | SoC-specific DT entry: | |
19 | vpu: video-codec@ff9a0000 { | |
20 | compatible = "rockchip,rk3288-vpu"; | |
21 | reg = <0x0 0xff9a0000 0x0 0x800>; | |
22 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, | |
23 | <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; | |
24 | interrupt-names = "vepu", "vdpu"; | |
25 | clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; | |
26 | clock-names = "aclk", "hclk"; | |
27 | power-domains = <&power RK3288_PD_VIDEO>; | |
28 | iommus = <&vpu_mmu>; | |
29 | }; |