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 - mediatek,mt8183b-mali
23 - mediatek,mt8186-mali
24 - realtek,rtd1619-mali
25 - renesas,r9a07g044-mali
26 - renesas,r9a07g054-mali
28 - rockchip,rk3568-mali
29 - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
32 - mediatek,mt8195-mali
33 - const: mediatek,mt8192-mali
34 - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
37 - mediatek,mt8192-mali
38 - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
46 - description: Job interrupt
47 - description: MMU interrupt
48 - description: GPU interrupt
49 - description: Event interrupt
69 operating-points-v2: true
88 dynamic-power-coefficient:
89 $ref: /schemas/types.yaml#/definitions/uint32
91 A u32 value that represents the running time dynamic
92 power coefficient in units of uW/MHz/V^2. The
93 coefficient can either be calculated from power
94 measurements or derived by analysis.
96 The dynamic power consumption of the GPU is
97 proportional to the square of the Voltage (V) and
98 the clock frequency (f). The coefficient is used to
99 calculate the dynamic power as below -
101 Pdyn = dynamic-power-coefficient * V^2 * f
103 where voltage is in V, frequency is in MHz.
121 additionalProperties: false
128 const: amlogic,meson-g12a-mali
133 power-domain-names: false
141 - renesas,r9a07g044-mali
142 - renesas,r9a07g054-mali
158 power-domain-names: false
175 const: mediatek,mt8183-mali
198 const: mediatek,mt8183b-mali
216 const: mediatek,mt8186-mali
233 const: mediatek,mt8192-mali
252 const: rockchip,rk3568-mali
263 power-domain-names: false
269 #include <dt-bindings/interrupt-controller/irq.h>
270 #include <dt-bindings/interrupt-controller/arm-gic.h>
273 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
274 reg = <0xffe40000 0x10000>;
275 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
276 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
277 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
278 interrupt-names = "job", "mmu", "gpu";
280 mali-supply = <&vdd_gpu>;
281 operating-points-v2 = <&gpu_opp_table>;
282 resets = <&reset 0>, <&reset 1>;
285 gpu_opp_table: opp-table {
286 compatible = "operating-points-v2";
289 opp-hz = /bits/ 64 <533000000>;
290 opp-microvolt = <1250000>;
293 opp-hz = /bits/ 64 <450000000>;
294 opp-microvolt = <1150000>;
297 opp-hz = /bits/ 64 <400000000>;
298 opp-microvolt = <1125000>;
301 opp-hz = /bits/ 64 <350000000>;
302 opp-microvolt = <1075000>;
305 opp-hz = /bits/ 64 <266000000>;
306 opp-microvolt = <1025000>;
309 opp-hz = /bits/ 64 <160000000>;
310 opp-microvolt = <925000>;
313 opp-hz = /bits/ 64 <100000000>;
314 opp-microvolt = <912500>;