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
97 Firmware subnode is needed when the platform does not
124 additionalProperties: false
128 #include <dt-bindings/interrupt-controller/arm-gic.h>
129 #include <dt-bindings/clock/qcom,videocc-sm8250.h>
130 #include <dt-bindings/interconnect/qcom,sm8250.h>
131 #include <dt-bindings/clock/qcom,gcc-sm8250.h>
132 #include <dt-bindings/power/qcom-rpmpd.h>
134 venus: video-codec@aa00000 {
135 compatible = "qcom,sm8250-venus";
136 reg = <0x0aa00000 0xff000>;
137 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
138 power-domains = <&videocc MVS0C_GDSC>,
139 <&videocc MVS0_GDSC>,
141 power-domain-names = "venus", "vcodec0", "mx";
143 clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
144 <&videocc VIDEO_CC_MVS0C_CLK>,
145 <&videocc VIDEO_CC_MVS0_CLK>;
146 clock-names = "iface", "core", "vcodec0_core";
148 interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>,
149 <&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>;
150 interconnect-names = "cpu-cfg", "video-mem";
152 iommus = <&apps_smmu 0x2100 0x0400>;
153 memory-region = <&video_mem>;
155 resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
156 <&videocc VIDEO_CC_MVS0C_CLK_ARES>;
157 reset-names = "bus", "core";
160 compatible = "venus-decoder";
164 compatible = "venus-encoder";