1 # SPDX-License-Identifier: GPL-2.0-only
2 # Copyright 2019-2020, The Linux Foundation, All Rights Reserved
6 $id: "http://devicetree.org/schemas/display/msm/gmu.yaml#"
7 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
9 title: Devicetree bindings for the GMU attached to certain Adreno GPUs
12 - Rob Clark <robdclark@gmail.com>
15 These bindings describe the Graphics Management Unit (GMU) that is attached
16 to members of the Adreno A6xx GPU family. The GMU provides on-device power
17 management and support to improve power efficiency and reduce the load on
24 - qcom,adreno-gmu-630.2
25 - const: qcom,adreno-gmu
29 - description: Core GMU registers
30 - description: GMU PDC registers
31 - description: GMU PDC sequence registers
41 - description: GMU clock
42 - description: GPU CX clock
43 - description: GPU AXI clock
44 - description: GPU MEMNOC clock
55 - description: GMU HFI interrupt
56 - description: GMU interrupt
66 - description: CX power domain
67 - description: GX power domain
77 operating-points-v2: true
94 #include <dt-bindings/clock/qcom,gpucc-sdm845.h>
95 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
96 #include <dt-bindings/interrupt-controller/irq.h>
97 #include <dt-bindings/interrupt-controller/arm-gic.h>
100 compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
102 reg = <0x506a000 0x30000>,
105 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq";
107 clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
108 <&gpucc GPU_CC_CXO_CLK>,
109 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
110 <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
111 clock-names = "gmu", "cxo", "axi", "memnoc";
113 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
114 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
115 interrupt-names = "hfi", "gmu";
117 power-domains = <&gpucc GPU_CX_GDSC>,
118 <&gpucc GPU_GX_GDSC>;
119 power-domain-names = "cx", "gx";
121 iommus = <&adreno_smmu 5>;
122 operating-points-v2 = <&gmu_opp_table>;