1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
5 $id: "http://devicetree.org/schemas/media/qcom,sdm660-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>
12 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
15 The Venus IP is a video encode and decode accelerator present
20 const: qcom,sdm660-venus
78 additionalProperties: false
103 additionalProperties: false
109 Firmware subnode is needed when the platform does not
131 additionalProperties: false
135 #include <dt-bindings/clock/qcom,mmcc-sdm660.h>
136 #include <dt-bindings/interrupt-controller/arm-gic.h>
138 video-codec@cc00000 {
139 compatible = "qcom,sdm660-venus";
140 reg = <0x0cc00000 0xff000>;
141 clocks = <&mmcc VIDEO_CORE_CLK>,
142 <&mmcc VIDEO_AHB_CLK>,
143 <&mmcc VIDEO_AXI_CLK>,
144 <&mmcc THROTTLE_VIDEO_AXI_CLK>;
145 clock-names = "core", "iface", "bus", "bus_throttle";
146 interconnects = <&gnoc 0 &mnoc 13>,
148 interconnect-names = "cpu-cfg", "video-mem";
149 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
150 iommus = <&mmss_smmu 0x400>,
170 memory-region = <&venus_region>;
171 power-domains = <&mmcc VENUS_GDSC>;
174 compatible = "venus-decoder";
175 clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
176 clock-names = "vcodec0_core";
177 power-domains = <&mmcc VENUS_CORE0_GDSC>;
181 compatible = "venus-encoder";
182 clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
183 clock-names = "vcodec0_core";
184 power-domains = <&mmcc VENUS_CORE0_GDSC>;