Unverified Commit c21c2c86 authored by Qiang Yu's avatar Qiang Yu Committed by Maxime Ripard
Browse files

ARM: dts: sun8i-h3: add opp table for mali gpu



OPP table value is get from orangepi lichee linux-3.4
kernel driver.

Signed-off-by: default avatarQiang Yu <yuq825@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 89866b26
Loading
Loading
Loading
Loading
+21 −3
Original line number Diff line number Diff line
@@ -112,6 +112,26 @@
		};
	};

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

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

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

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

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

	pmu {
		compatible = "arm,cortex-a7-pmu";
		interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
@@ -205,9 +225,7 @@
			clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>;
			clock-names = "bus", "core";
			resets = <&ccu RST_BUS_GPU>;

			assigned-clocks = <&ccu CLK_GPU>;
			assigned-clock-rates = <384000000>;
			operating-points-v2 = <&gpu_opp_table>;
		};

		ths: thermal-sensor@1c25000 {