1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/media/qcom,sdm845-venus.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SDM845 Venus video encode and decode accelerators
10 - Stanimir Varbanov <stanimir.varbanov@linaro.org>
13 The Venus IP is a video encode and decode accelerator present
17 - $ref: qcom,venus-common.yaml#
21 const: qcom,sdm845-venus
62 additionalProperties: false
88 additionalProperties: false
96 unevaluatedProperties: false
100 #include <dt-bindings/interrupt-controller/arm-gic.h>
101 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
103 video-codec@aa00000 {
104 compatible = "qcom,sdm845-venus";
105 reg = <0x0aa00000 0xff000>;
106 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
107 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
108 <&videocc VIDEO_CC_VENUS_AHB_CLK>,
109 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>;
110 clock-names = "core", "iface", "bus";
111 power-domains = <&videocc VENUS_GDSC>;
112 iommus = <&apps_smmu 0x10a0 0x8>,
113 <&apps_smmu 0x10b0 0x0>;
114 memory-region = <&venus_mem>;
117 compatible = "venus-decoder";
118 clocks = <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
119 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
120 clock-names = "core", "bus";
121 power-domains = <&videocc VCODEC0_GDSC>;
125 compatible = "venus-encoder";
126 clocks = <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
127 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
128 clock-names = "core", "bus";
129 power-domains = <&videocc VCODEC1_GDSC>;