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 - realtek,rtd1619-mali
22 - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
29 - description: Job interrupt
30 - description: MMU interrupt
31 - description: GPU interrupt
44 operating-points-v2: true
62 additionalProperties: false
69 const: amlogic,meson-g12a-mali
76 #include <dt-bindings/interrupt-controller/irq.h>
77 #include <dt-bindings/interrupt-controller/arm-gic.h>
80 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
81 reg = <0xffe40000 0x10000>;
82 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
83 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
84 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
85 interrupt-names = "job", "mmu", "gpu";
87 mali-supply = <&vdd_gpu>;
88 operating-points-v2 = <&gpu_opp_table>;
89 resets = <&reset 0>, <&reset 1>;
92 gpu_opp_table: opp_table0 {
93 compatible = "operating-points-v2";
96 opp-hz = /bits/ 64 <533000000>;
97 opp-microvolt = <1250000>;
100 opp-hz = /bits/ 64 <450000000>;
101 opp-microvolt = <1150000>;
104 opp-hz = /bits/ 64 <400000000>;
105 opp-microvolt = <1125000>;
108 opp-hz = /bits/ 64 <350000000>;
109 opp-microvolt = <1075000>;
112 opp-hz = /bits/ 64 <266000000>;
113 opp-microvolt = <1025000>;
116 opp-hz = /bits/ 64 <160000000>;
117 opp-microvolt = <925000>;
120 opp-hz = /bits/ 64 <100000000>;
121 opp-microvolt = <912500>;