7 * Since Mali Bifrost GPU model/revision is fully discoverable by reading
8 some determined registers, must contain the following:
10 * which must be preceded by one of the following vendor specifics:
11 + "amlogic,meson-g12a-mali"
13 - reg : Physical base address of the device and length of the register area.
15 - interrupts : Contains the three IRQ lines required by Mali Bifrost devices,
16 in the following defined order.
18 - interrupt-names : Contains the names of IRQ resources in this exact defined
19 order: "job", "mmu", "gpu".
23 - clocks : Phandle to clock for the Mali Bifrost device.
25 - mali-supply : Phandle to regulator for the Mali device. Refer to
26 Documentation/devicetree/bindings/regulator/regulator.txt for details.
28 - operating-points-v2 : Refer to Documentation/devicetree/bindings/opp/opp.txt
31 - resets : Phandle of the GPU reset line.
33 Vendor-specific bindings
34 ------------------------
36 The Mali GPU is integrated very differently from one SoC to
37 another. In order to accommodate those differences, you have the option
38 to specify one more vendor-specific compatible, among:
40 - "amlogic,meson-g12a-mali"
42 - resets : Should contain phandles of :
44 + GPU APB glue reset line
46 Example for a Mali-G31:
49 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
50 reg = <0xffe40000 0x10000>;
51 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
52 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
53 <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
54 interrupt-names = "job", "mmu", "gpu";
55 clocks = <&clk CLKID_MALI>;
56 mali-supply = <&vdd_gpu>;
57 operating-points-v2 = <&gpu_opp_table>;
58 resets = <&reset RESET_DVALIN_CAPB3>, <&reset RESET_DVALIN>;
61 gpu_opp_table: opp_table0 {
62 compatible = "operating-points-v2";
65 opp-hz = /bits/ 64 <533000000>;
66 opp-microvolt = <1250000>;
69 opp-hz = /bits/ 64 <450000000>;
70 opp-microvolt = <1150000>;
73 opp-hz = /bits/ 64 <400000000>;
74 opp-microvolt = <1125000>;
77 opp-hz = /bits/ 64 <350000000>;
78 opp-microvolt = <1075000>;
81 opp-hz = /bits/ 64 <266000000>;
82 opp-microvolt = <1025000>;
85 opp-hz = /bits/ 64 <160000000>;
86 opp-microvolt = <925000>;
89 opp-hz = /bits/ 64 <100000000>;
90 opp-microvolt = <912500>;