1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
5 $id: "http://devicetree.org/schemas/media/qcom,sm8250-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,sm8250-venus
79 additionalProperties: false
91 additionalProperties: false
95 additionalProperties: false
98 Firmware subnode is needed when the platform does not
125 additionalProperties: false
129 #include <dt-bindings/interrupt-controller/arm-gic.h>
130 #include <dt-bindings/clock/qcom,videocc-sm8250.h>
131 #include <dt-bindings/interconnect/qcom,sm8250.h>
132 #include <dt-bindings/clock/qcom,gcc-sm8250.h>
133 #include <dt-bindings/power/qcom-rpmpd.h>
135 venus: video-codec@aa00000 {
136 compatible = "qcom,sm8250-venus";
137 reg = <0x0aa00000 0xff000>;
138 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
139 power-domains = <&videocc MVS0C_GDSC>,
140 <&videocc MVS0_GDSC>,
142 power-domain-names = "venus", "vcodec0", "mx";
144 clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
145 <&videocc VIDEO_CC_MVS0C_CLK>,
146 <&videocc VIDEO_CC_MVS0_CLK>;
147 clock-names = "iface", "core", "vcodec0_core";
149 interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>,
150 <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>;
151 interconnect-names = "cpu-cfg", "video-mem";
153 iommus = <&apps_smmu 0x2100 0x0400>;
154 memory-region = <&video_mem>;
156 resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
157 <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
158 reset-names = "bus", "core";
161 compatible = "venus-decoder";
165 compatible = "venus-encoder";