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
70 additionalProperties: false
82 additionalProperties: false
88 Firmware subnode is needed when the platform does not
113 #include <dt-bindings/interrupt-controller/arm-gic.h>
114 #include <dt-bindings/clock/qcom,videocc-sc7180.h>
116 venus: video-codec@aa00000 {
117 compatible = "qcom,sc7180-venus";
118 reg = <0 0x0aa00000 0 0xff000>;
119 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
120 power-domains = <&videocc VENUS_GDSC>,
121 <&videocc VCODEC0_GDSC>;
122 power-domain-names = "venus", "vcodec0";
123 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
124 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
125 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
126 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
127 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
128 clock-names = "core", "iface", "bus",
129 "vcodec0_core", "vcodec0_bus";
130 iommus = <&apps_smmu 0x0c00 0x60>;
131 memory-region = <&venus_mem>;
134 compatible = "venus-decoder";
138 compatible = "venus-encoder";