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
68 additionalProperties: false
80 additionalProperties: false
86 Firmware subnode is needed when the platform does not
109 additionalProperties: false
113 #include <dt-bindings/interrupt-controller/arm-gic.h>
114 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
116 video-codec@aa00000 {
117 compatible = "qcom,sdm845-venus-v2";
118 reg = <0x0aa00000 0xff000>;
119 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
120 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
121 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
122 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
123 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
124 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
125 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
126 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
127 clock-names = "core", "iface", "bus",
128 "vcodec0_core", "vcodec0_bus",
129 "vcodec1_core", "vcodec1_bus";
130 power-domains = <&videocc VENUS_GDSC>,
131 <&videocc VCODEC0_GDSC>,
132 <&videocc VCODEC1_GDSC>;
133 power-domain-names = "venus", "vcodec0", "vcodec1";
134 iommus = <&apps_smmu 0x10a0 0x8>,
135 <&apps_smmu 0x10b0 0x0>;
136 memory-region = <&venus_mem>;
139 compatible = "venus-decoder";
143 compatible = "venus-encoder";