1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
5 $id: "http://devicetree.org/schemas/media/qcom,sdm845-venus-v2.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-v2
69 additionalProperties: false
81 additionalProperties: false
87 Firmware subnode is needed when the platform does not
110 additionalProperties: false
114 #include <dt-bindings/interrupt-controller/arm-gic.h>
115 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
117 video-codec@aa00000 {
118 compatible = "qcom,sdm845-venus-v2";
119 reg = <0x0aa00000 0xff000>;
120 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
121 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
122 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
123 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
124 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
125 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
126 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
127 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
128 clock-names = "core", "iface", "bus",
129 "vcodec0_core", "vcodec0_bus",
130 "vcodec1_core", "vcodec1_bus";
131 power-domains = <&videocc VENUS_GDSC>,
132 <&videocc VCODEC0_GDSC>,
133 <&videocc VCODEC1_GDSC>;
134 power-domain-names = "venus", "vcodec0", "vcodec1";
135 iommus = <&apps_smmu 0x10a0 0x8>,
136 <&apps_smmu 0x10b0 0x0>;
137 memory-region = <&venus_mem>;
140 compatible = "venus-decoder";
144 compatible = "venus-encoder";