1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/gpu/arm,mali-bifrost.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ARM Mali Bifrost GPU
10 - Rob Herring <robh@kernel.org>
14 pattern: '^gpu@[a-f0-9]+$'
20 - amlogic,meson-g12a-mali
21 - mediatek,mt8183-mali
22 - realtek,rtd1619-mali
23 - renesas,r9a07g044-mali
24 - renesas,r9a07g054-mali
26 - rockchip,rk3568-mali
27 - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
30 - mediatek,mt8192-mali
31 - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
39 - description: Job interrupt
40 - description: MMU interrupt
41 - description: GPU interrupt
42 - description: Event interrupt
62 operating-points-v2: true
77 dynamic-power-coefficient:
78 $ref: '/schemas/types.yaml#/definitions/uint32'
80 A u32 value that represents the running time dynamic
81 power coefficient in units of uW/MHz/V^2. The
82 coefficient can either be calculated from power
83 measurements or derived by analysis.
85 The dynamic power consumption of the GPU is
86 proportional to the square of the Voltage (V) and
87 the clock frequency (f). The coefficient is used to
88 calculate the dynamic power as below -
90 Pdyn = dynamic-power-coefficient * V^2 * f
92 where voltage is in V, frequency is in MHz.
103 additionalProperties: false
110 const: amlogic,meson-g12a-mali
119 - renesas,r9a07g044-mali
120 - renesas,r9a07g054-mali
150 const: mediatek,mt8183-mali
174 const: rockchip,rk3568-mali
188 #include <dt-bindings/interrupt-controller/irq.h>
189 #include <dt-bindings/interrupt-controller/arm-gic.h>
192 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
193 reg = <0xffe40000 0x10000>;
194 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
195 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
196 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
197 interrupt-names = "job", "mmu", "gpu";
199 mali-supply = <&vdd_gpu>;
200 operating-points-v2 = <&gpu_opp_table>;
201 resets = <&reset 0>, <&reset 1>;
204 gpu_opp_table: opp-table {
205 compatible = "operating-points-v2";
208 opp-hz = /bits/ 64 <533000000>;
209 opp-microvolt = <1250000>;
212 opp-hz = /bits/ 64 <450000000>;
213 opp-microvolt = <1150000>;
216 opp-hz = /bits/ 64 <400000000>;
217 opp-microvolt = <1125000>;
220 opp-hz = /bits/ 64 <350000000>;
221 opp-microvolt = <1075000>;
224 opp-hz = /bits/ 64 <266000000>;
225 opp-microvolt = <1025000>;
228 opp-hz = /bits/ 64 <160000000>;
229 opp-microvolt = <925000>;
232 opp-hz = /bits/ 64 <100000000>;
233 opp-microvolt = <912500>;