xref: /freebsd-src/sys/contrib/device-tree/src/arm64/qcom/msm8996-v3.0.dtsi (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1354d7675SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2354d7675SEmmanuel Vadot/*
3354d7675SEmmanuel Vadot * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
4354d7675SEmmanuel Vadot */
5354d7675SEmmanuel Vadot
6354d7675SEmmanuel Vadot#include "msm8996.dtsi"
7354d7675SEmmanuel Vadot
8354d7675SEmmanuel Vadot/ {
9354d7675SEmmanuel Vadot	qcom,msm-id = <246 0x30000>;
10354d7675SEmmanuel Vadot};
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel Vadot /*
13354d7675SEmmanuel Vadot  * This revision seems to have differ GPU CPR
14354d7675SEmmanuel Vadot  * parameters, GPU frequencies and some differences
15354d7675SEmmanuel Vadot  * when it comes to voltage delivery to.. once again
16354d7675SEmmanuel Vadot  * the GPU. Funnily enough, it's simpler to make it an
17354d7675SEmmanuel Vadot  * overlay on top of 3.1 (the final one) than vice versa.
18354d7675SEmmanuel Vadot  * The differences will show here as more and more
19354d7675SEmmanuel Vadot  * features get enabled upstream.
20354d7675SEmmanuel Vadot  */
21354d7675SEmmanuel Vadot
22*cb7aa33aSEmmanuel Vadotgpu_opp_table_3_0: opp-table-gpu30 {
23354d7675SEmmanuel Vadot	compatible = "operating-points-v2";
24354d7675SEmmanuel Vadot
25354d7675SEmmanuel Vadot	opp-624000000 {
26354d7675SEmmanuel Vadot		opp-hz = /bits/ 64 <624000000>;
27354d7675SEmmanuel Vadot		opp-level = <7>;
28354d7675SEmmanuel Vadot	};
29354d7675SEmmanuel Vadot
30354d7675SEmmanuel Vadot	opp-560000000 {
31354d7675SEmmanuel Vadot		opp-hz = /bits/ 64 <560000000>;
32354d7675SEmmanuel Vadot		opp-level = <6>;
33354d7675SEmmanuel Vadot	};
34354d7675SEmmanuel Vadot
35354d7675SEmmanuel Vadot	opp-510000000 {
36354d7675SEmmanuel Vadot		opp-hz = /bits/ 64 <510000000>;
37354d7675SEmmanuel Vadot		opp-level = <5>;
38354d7675SEmmanuel Vadot	};
39354d7675SEmmanuel Vadot
40354d7675SEmmanuel Vadot	opp-401800000 {
41354d7675SEmmanuel Vadot		opp-hz = /bits/ 64 <401800000>;
42354d7675SEmmanuel Vadot		opp-level = <4>;
43354d7675SEmmanuel Vadot	};
44354d7675SEmmanuel Vadot
45354d7675SEmmanuel Vadot	opp-315000000 {
46354d7675SEmmanuel Vadot		opp-hz = /bits/ 64 <315000000>;
47354d7675SEmmanuel Vadot		opp-level = <3>;
48354d7675SEmmanuel Vadot	};
49354d7675SEmmanuel Vadot
50354d7675SEmmanuel Vadot	opp-214000000 {
51354d7675SEmmanuel Vadot		opp-hz = /bits/ 64 <214000000>;
52354d7675SEmmanuel Vadot		opp-level = <3>;
53354d7675SEmmanuel Vadot	};
54354d7675SEmmanuel Vadot
55354d7675SEmmanuel Vadot	opp-133000000 {
56354d7675SEmmanuel Vadot		opp-hz = /bits/ 64 <133000000>;
57354d7675SEmmanuel Vadot		opp-level = <3>;
58354d7675SEmmanuel Vadot	};
59354d7675SEmmanuel Vadot};
60354d7675SEmmanuel Vadot
61354d7675SEmmanuel Vadot&gpu {
62354d7675SEmmanuel Vadot	operating-points-v2 = <&gpu_opp_table_3_0>;
63354d7675SEmmanuel Vadot};
64