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