1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
5 $id: "http://devicetree.org/schemas/media/qcom,sdm845-venus-v2.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Qualcomm Venus video encode and decode accelerators
11 - Stanimir Varbanov <stanimir.varbanov@linaro.org>
14 The Venus IP is a video encode and decode accelerator present
19 const: qcom,sdm845-venus-v2
65 additionalProperties: false
77 additionalProperties: false
83 Firmware subnode is needed when the platform does not
108 #include <dt-bindings/interrupt-controller/arm-gic.h>
109 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
111 video-codec@aa00000 {
112 compatible = "qcom,sdm845-venus-v2";
113 reg = <0 0x0aa00000 0 0xff000>;
114 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
115 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
116 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
117 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
118 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
119 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
120 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
121 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
122 clock-names = "core", "iface", "bus",
123 "vcodec0_core", "vcodec0_bus",
124 "vcodec1_core", "vcodec1_bus";
125 power-domains = <&videocc VENUS_GDSC>,
126 <&videocc VCODEC0_GDSC>,
127 <&videocc VCODEC1_GDSC>;
128 power-domain-names = "venus", "vcodec0", "vcodec1";
129 iommus = <&apps_smmu 0x10a0 0x8>,
130 <&apps_smmu 0x10b0 0x0>;
131 memory-region = <&venus_mem>;
134 compatible = "venus-decoder";
138 compatible = "venus-encoder";