xref: /freebsd/sys/contrib/device-tree/src/arm64/amlogic/meson-gx-mali450.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Copyright (c) 2017 BayLibre SAS
4*c66ec88fSEmmanuel Vadot * Author: Neil Armstrong <narmstrong@baylibre.com>
5*c66ec88fSEmmanuel Vadot */
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot/ {
8*c66ec88fSEmmanuel Vadot	gpu_opp_table: opp-table {
9*c66ec88fSEmmanuel Vadot		compatible = "operating-points-v2";
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot		opp-125000000 {
12*c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <125000000>;
13*c66ec88fSEmmanuel Vadot			opp-microvolt = <950000>;
14*c66ec88fSEmmanuel Vadot		};
15*c66ec88fSEmmanuel Vadot		opp-250000000 {
16*c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <250000000>;
17*c66ec88fSEmmanuel Vadot			opp-microvolt = <950000>;
18*c66ec88fSEmmanuel Vadot		};
19*c66ec88fSEmmanuel Vadot		opp-285714285 {
20*c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <285714285>;
21*c66ec88fSEmmanuel Vadot			opp-microvolt = <950000>;
22*c66ec88fSEmmanuel Vadot		};
23*c66ec88fSEmmanuel Vadot		opp-400000000 {
24*c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <400000000>;
25*c66ec88fSEmmanuel Vadot			opp-microvolt = <950000>;
26*c66ec88fSEmmanuel Vadot		};
27*c66ec88fSEmmanuel Vadot		opp-500000000 {
28*c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <500000000>;
29*c66ec88fSEmmanuel Vadot			opp-microvolt = <950000>;
30*c66ec88fSEmmanuel Vadot		};
31*c66ec88fSEmmanuel Vadot		opp-666666666 {
32*c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <666666666>;
33*c66ec88fSEmmanuel Vadot			opp-microvolt = <950000>;
34*c66ec88fSEmmanuel Vadot		};
35*c66ec88fSEmmanuel Vadot		opp-744000000 {
36*c66ec88fSEmmanuel Vadot			opp-hz = /bits/ 64 <744000000>;
37*c66ec88fSEmmanuel Vadot			opp-microvolt = <950000>;
38*c66ec88fSEmmanuel Vadot		};
39*c66ec88fSEmmanuel Vadot	};
40*c66ec88fSEmmanuel Vadot};
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot&apb {
43*c66ec88fSEmmanuel Vadot	mali: gpu@c0000 {
44*c66ec88fSEmmanuel Vadot		compatible = "arm,mali-450";
45*c66ec88fSEmmanuel Vadot		reg = <0x0 0xc0000 0x0 0x40000>;
46*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
47*c66ec88fSEmmanuel Vadot			     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
48*c66ec88fSEmmanuel Vadot			     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
49*c66ec88fSEmmanuel Vadot			     <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
50*c66ec88fSEmmanuel Vadot			     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
51*c66ec88fSEmmanuel Vadot			     <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
52*c66ec88fSEmmanuel Vadot			     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
53*c66ec88fSEmmanuel Vadot			     <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
54*c66ec88fSEmmanuel Vadot			     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
55*c66ec88fSEmmanuel Vadot			     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
56*c66ec88fSEmmanuel Vadot		interrupt-names = "gp", "gpmmu", "pp", "pmu",
57*c66ec88fSEmmanuel Vadot			"pp0", "ppmmu0", "pp1", "ppmmu1",
58*c66ec88fSEmmanuel Vadot			"pp2", "ppmmu2";
59*c66ec88fSEmmanuel Vadot		operating-points-v2 = <&gpu_opp_table>;
60*c66ec88fSEmmanuel Vadot	};
61*c66ec88fSEmmanuel Vadot};
62