1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/gpu/arm,mali-midgard.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ARM Mali Midgard GPU
10 - Rob Herring <robh@kernel.org>
14 pattern: '^gpu@[a-f0-9]+$'
19 - samsung,exynos5250-mali
20 - const: arm,mali-t604
23 - samsung,exynos5420-mali
24 - const: arm,mali-t628
27 - allwinner,sun50i-h6-mali
28 - const: arm,mali-t720
31 - amlogic,meson-gxm-mali
32 - realtek,rtd1295-mali
33 - const: arm,mali-t820
37 - const: arm,mali-t624
40 - rockchip,rk3288-mali
41 - samsung,exynos5433-mali
42 - const: arm,mali-t760
45 - rockchip,rk3399-mali
46 - const: arm,mali-t860
56 - description: Job interrupt
57 - description: MMU interrupt
58 - description: GPU interrupt
85 operating-points-v2: true
99 additionalProperties: false
106 const: allwinner,sun50i-h6-mali
118 const: amlogic,meson-gxm-mali
128 #include <dt-bindings/interrupt-controller/irq.h>
129 #include <dt-bindings/interrupt-controller/arm-gic.h>
132 compatible = "rockchip,rk3288-mali", "arm,mali-t760";
133 reg = <0xffa30000 0x10000>;
134 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
135 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
136 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
137 interrupt-names = "job", "mmu", "gpu";
139 mali-supply = <&vdd_gpu>;
140 operating-points-v2 = <&gpu_opp_table>;
141 power-domains = <&power 0>;
142 #cooling-cells = <2>;
145 gpu_opp_table: opp_table0 {
146 compatible = "operating-points-v2";
149 opp-hz = /bits/ 64 <533000000>;
150 opp-microvolt = <1250000>;
153 opp-hz = /bits/ 64 <450000000>;
154 opp-microvolt = <1150000>;
157 opp-hz = /bits/ 64 <400000000>;
158 opp-microvolt = <1125000>;
161 opp-hz = /bits/ 64 <350000000>;
162 opp-microvolt = <1075000>;
165 opp-hz = /bits/ 64 <266000000>;
166 opp-microvolt = <1025000>;
169 opp-hz = /bits/ 64 <160000000>;
170 opp-microvolt = <925000>;
173 opp-hz = /bits/ 64 <100000000>;
174 opp-microvolt = <912500>;