1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/qcom,sc7280-venus.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SC7280 Venus video encode and decode accelerators
10 - Stanimir Varbanov <stanimir.varbanov@linaro.org>
13 The Venus Iris2 IP is a video encode and decode accelerator present
17 - $ref: qcom,venus-common.yaml#
21 const: qcom,sc7280-venus
56 operating-points-v2: true
70 additionalProperties: false
82 additionalProperties: false
91 unevaluatedProperties: false
95 #include <dt-bindings/interrupt-controller/arm-gic.h>
96 #include <dt-bindings/clock/qcom,videocc-sc7280.h>
97 #include <dt-bindings/interconnect/qcom,sc7280.h>
98 #include <dt-bindings/power/qcom-rpmpd.h>
100 venus: video-codec@aa00000 {
101 compatible = "qcom,sc7280-venus";
102 reg = <0x0aa00000 0xd0600>;
103 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
105 clocks = <&videocc VIDEO_CC_MVSC_CORE_CLK>,
106 <&videocc VIDEO_CC_MVSC_CTL_AXI_CLK>,
107 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
108 <&videocc VIDEO_CC_MVS0_CORE_CLK>,
109 <&videocc VIDEO_CC_MVS0_AXI_CLK>;
110 clock-names = "core", "bus", "iface",
111 "vcodec_core", "vcodec_bus";
113 power-domains = <&videocc MVSC_GDSC>,
114 <&videocc MVS0_GDSC>,
116 power-domain-names = "venus", "vcodec0", "cx";
118 interconnects = <&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_VENUS_CFG 0>,
119 <&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI1 0>;
120 interconnect-names = "cpu-cfg", "video-mem";
122 iommus = <&apps_smmu 0x2180 0x20>,
123 <&apps_smmu 0x2184 0x20>;
125 memory-region = <&video_mem>;
128 compatible = "venus-decoder";
132 compatible = "venus-encoder";
136 iommus = <&apps_smmu 0x21a2 0x0>;