1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
5 $id: "http://devicetree.org/schemas/media/qcom,sdm845-venus.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
69 additionalProperties: false
95 additionalProperties: false
101 Firmware subnode is needed when the platform does not
123 additionalProperties: false
127 #include <dt-bindings/interrupt-controller/arm-gic.h>
128 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
130 video-codec@aa00000 {
131 compatible = "qcom,sdm845-venus";
132 reg = <0x0aa00000 0xff000>;
133 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
134 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
135 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
136 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>;
137 clock-names = "core", "iface", "bus";
138 power-domains = <&videocc VENUS_GDSC>;
139 iommus = <&apps_smmu 0x10a0 0x8>,
140 <&apps_smmu 0x10b0 0x0>;
141 memory-region = <&venus_mem>;
144 compatible = "venus-decoder";
145 clocks = <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
146 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
147 clock-names = "core", "bus";
148 power-domains = <&videocc VCODEC0_GDSC>;
152 compatible = "venus-encoder";
153 clocks = <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
154 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
155 clock-names = "core", "bus";
156 power-domains = <&videocc VCODEC1_GDSC>;