summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/msm8996-v3.0.dtsi
blob: 929bdcd45d02bbbc1bf5033c0f832c9a33d9bded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
 */

#include "msm8996.dtsi"

/ {
	qcom,msm-id = <246 0x30000>;
};

 /*
  * This revision seems to have differ GPU CPR
  * parameters, GPU frequencies and some differences
  * when it comes to voltage delivery to.. once again
  * the GPU. Funnily enough, it's simpler to make it an
  * overlay on top of 3.1 (the final one) than vice versa.
  * The differences will show here as more and more
  * features get enabled upstream.
  */

gpu_opp_table_3_0: opp-table-gpu30 {
	compatible = "operating-points-v2";

	opp-624000000 {
		opp-hz = /bits/ 64 <624000000>;
		opp-level = <7>;
	};

	opp-560000000 {
		opp-hz = /bits/ 64 <560000000>;
		opp-level = <6>;
	};

	opp-510000000 {
		opp-hz = /bits/ 64 <510000000>;
		opp-level = <5>;
	};

	opp-401800000 {
		opp-hz = /bits/ 64 <401800000>;
		opp-level = <4>;
	};

	opp-315000000 {
		opp-hz = /bits/ 64 <315000000>;
		opp-level = <3>;
	};

	opp-214000000 {
		opp-hz = /bits/ 64 <214000000>;
		opp-level = <3>;
	};

	opp-133000000 {
		opp-hz = /bits/ 64 <133000000>;
		opp-level = <3>;
	};
};

&gpu {
	operating-points-v2 = <&gpu_opp_table_3_0>;
};