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) Device Tree Bindings
10 - Heiko Stuebner <heiko@sntech.de>
13 The Rockchip rk3399 has a stateless Video Decoder that can decodes H.264,
18 const: rockchip,rk3399-vdec
28 - description: The Video Decoder AXI interface clock
29 - description: The Video Decoder AHB interface clock
30 - description: The Video Decoded CABAC clock
31 - description: The Video Decoder core clock
54 additionalProperties: false
58 #include <dt-bindings/interrupt-controller/arm-gic.h>
59 #include <dt-bindings/clock/rk3399-cru.h>
60 #include <dt-bindings/power/rk3399-power.h>
62 vdec: video-codec@ff660000 {
63 compatible = "rockchip,rk3399-vdec";
64 reg = <0xff660000 0x400>;
65 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
66 clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>,
67 <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>;
68 clock-names = "axi", "ahb", "cabac", "core";
69 power-domains = <&power RK3399_PD_VDU>;