1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/rockchip,vdec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip Video Decoder (VDec)
10 - Heiko Stuebner <heiko@sntech.de>
13 The Rockchip rk3399 has a stateless Video Decoder that can decodes H.264,
19 - const: rockchip,rk3399-vdec
22 - rockchip,rk3228-vdec
23 - rockchip,rk3328-vdec
24 - const: rockchip,rk3399-vdec
34 - description: The Video Decoder AXI interface clock
35 - description: The Video Decoder AHB interface clock
36 - description: The Video Decoded CABAC clock
37 - description: The Video Decoder core clock
48 assigned-clock-rates: true
64 additionalProperties: false
68 #include <dt-bindings/interrupt-controller/arm-gic.h>
69 #include <dt-bindings/clock/rk3399-cru.h>
70 #include <dt-bindings/power/rk3399-power.h>
72 vdec: video-codec@ff660000 {
73 compatible = "rockchip,rk3399-vdec";
74 reg = <0xff660000 0x400>;
75 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
76 clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>,
77 <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>;
78 clock-names = "axi", "ahb", "cabac", "core";
79 power-domains = <&power RK3399_PD_VDU>;