1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/media/rockchip,vdec.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: Rockchip Video Decoder (VDec) Device Tree Bindings 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunmaintainers: 10*4882a593Smuzhiyun - Heiko Stuebner <heiko@sntech.de> 11*4882a593Smuzhiyun 12*4882a593Smuzhiyundescription: |- 13*4882a593Smuzhiyun The Rockchip rk3399 has a stateless Video Decoder that can decodes H.264, 14*4882a593Smuzhiyun HEVC an VP9 streams. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyunproperties: 17*4882a593Smuzhiyun compatible: 18*4882a593Smuzhiyun const: rockchip,rk3399-vdec 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun reg: 21*4882a593Smuzhiyun maxItems: 1 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun interrupts: 24*4882a593Smuzhiyun maxItems: 1 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun clocks: 27*4882a593Smuzhiyun items: 28*4882a593Smuzhiyun - description: The Video Decoder AXI interface clock 29*4882a593Smuzhiyun - description: The Video Decoder AHB interface clock 30*4882a593Smuzhiyun - description: The Video Decoded CABAC clock 31*4882a593Smuzhiyun - description: The Video Decoder core clock 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun clock-names: 34*4882a593Smuzhiyun items: 35*4882a593Smuzhiyun - const: axi 36*4882a593Smuzhiyun - const: ahb 37*4882a593Smuzhiyun - const: cabac 38*4882a593Smuzhiyun - const: core 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun power-domains: 41*4882a593Smuzhiyun maxItems: 1 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun iommus: 44*4882a593Smuzhiyun maxItems: 1 45*4882a593Smuzhiyun 46*4882a593Smuzhiyunrequired: 47*4882a593Smuzhiyun - compatible 48*4882a593Smuzhiyun - reg 49*4882a593Smuzhiyun - interrupts 50*4882a593Smuzhiyun - clocks 51*4882a593Smuzhiyun - clock-names 52*4882a593Smuzhiyun - power-domains 53*4882a593Smuzhiyun 54*4882a593SmuzhiyunadditionalProperties: false 55*4882a593Smuzhiyun 56*4882a593Smuzhiyunexamples: 57*4882a593Smuzhiyun - | 58*4882a593Smuzhiyun #include <dt-bindings/interrupt-controller/arm-gic.h> 59*4882a593Smuzhiyun #include <dt-bindings/clock/rk3399-cru.h> 60*4882a593Smuzhiyun #include <dt-bindings/power/rk3399-power.h> 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun vdec: video-codec@ff660000 { 63*4882a593Smuzhiyun compatible = "rockchip,rk3399-vdec"; 64*4882a593Smuzhiyun reg = <0xff660000 0x400>; 65*4882a593Smuzhiyun interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>; 66*4882a593Smuzhiyun clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>, 67*4882a593Smuzhiyun <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>; 68*4882a593Smuzhiyun clock-names = "axi", "ahb", "cabac", "core"; 69*4882a593Smuzhiyun power-domains = <&power RK3399_PD_VDU>; 70*4882a593Smuzhiyun iommus = <&vdec_mmu>; 71*4882a593Smuzhiyun }; 72*4882a593Smuzhiyun 73*4882a593Smuzhiyun... 74