Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66c37322 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

ARM: sun8i: a33: Add the Mali OPPs



The Mali GPU in the A33 has various operating frequencies used in the
Allwinner BSP.

Add them to our DT.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 6b76eb80
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -100,6 +100,22 @@
		status = "disabled";
	};

	mali_opp_table: gpu-opp-table {
		compatible = "operating-points-v2";

		opp@144000000 {
			opp-hz = /bits/ 64 <144000000>;
		};

		opp@240000000 {
			opp-hz = /bits/ 64 <240000000>;
		};

		opp@384000000 {
			opp-hz = /bits/ 64 <384000000>;
		};
	};

	memory {
		reg = <0x40000000 0x80000000>;
	};
@@ -312,6 +328,10 @@
	compatible = "allwinner,sun8i-a33-ccu";
};

&mali {
	operating-points-v2 = <&mali_opp_table>;
};

&pio {
	compatible = "allwinner,sun8i-a33-pinctrl";
	interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,