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]+$'
19 - amlogic,meson-g12a-mali
20 - mediatek,mt8183-mali
21 - realtek,rtd1619-mali
22 - renesas,r9a07g044-mali
23 - renesas,r9a07g054-mali
25 - rockchip,rk3568-mali
26 - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
34 - description: Job interrupt
35 - description: MMU interrupt
36 - description: GPU interrupt
37 - description: Event interrupt
57 operating-points-v2: true
72 dynamic-power-coefficient:
73 $ref: '/schemas/types.yaml#/definitions/uint32'
75 A u32 value that represents the running time dynamic
76 power coefficient in units of uW/MHz/V^2. The
77 coefficient can either be calculated from power
78 measurements or derived by analysis.
80 The dynamic power consumption of the GPU is
81 proportional to the square of the Voltage (V) and
82 the clock frequency (f). The coefficient is used to
83 calculate the dynamic power as below -
85 Pdyn = dynamic-power-coefficient * V^2 * f
87 where voltage is in V, frequency is in MHz.
98 additionalProperties: false
105 const: amlogic,meson-g12a-mali
114 - renesas,r9a07g044-mali
115 - renesas,r9a07g054-mali
145 const: mediatek,mt8183-mali
169 const: rockchip,rk3568-mali
183 #include <dt-bindings/interrupt-controller/irq.h>
184 #include <dt-bindings/interrupt-controller/arm-gic.h>
187 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
188 reg = <0xffe40000 0x10000>;
189 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
190 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
191 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
192 interrupt-names = "job", "mmu", "gpu";
194 mali-supply = <&vdd_gpu>;
195 operating-points-v2 = <&gpu_opp_table>;
196 resets = <&reset 0>, <&reset 1>;
199 gpu_opp_table: opp-table {
200 compatible = "operating-points-v2";
203 opp-hz = /bits/ 64 <533000000>;
204 opp-microvolt = <1250000>;
207 opp-hz = /bits/ 64 <450000000>;
208 opp-microvolt = <1150000>;
211 opp-hz = /bits/ 64 <400000000>;
212 opp-microvolt = <1125000>;
215 opp-hz = /bits/ 64 <350000000>;
216 opp-microvolt = <1075000>;
219 opp-hz = /bits/ 64 <266000000>;
220 opp-microvolt = <1025000>;
223 opp-hz = /bits/ 64 <160000000>;
224 opp-microvolt = <925000>;
227 opp-hz = /bits/ 64 <100000000>;
228 opp-microvolt = <912500>;