summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/sdm632.dtsi
blob: 645b9f6a801f44a407e84674249fe8cdc01ec4b8 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// SPDX-License-Identifier: BSD-3-Clause
/* Copyright (c) 2022, The Linux Foundation. All rights reserved. */

#include "msm8953.dtsi"

/ {
	thermal-zones {
		/delete-node/cpu1-thermal;
		/delete-node/cpu2-thermal;
		/delete-node/cpu3-thermal;

		cpu0-thermal {
			thermal-sensors = <&tsens0 13>;

			cooling-maps {
				map0 {
					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
				};
			};
		};

		cpu4-thermal {
			thermal-sensors = <&tsens0 5>;
		};

		cpu5-thermal {
			thermal-sensors = <&tsens0 6>;
		};

		cpu6-thermal {
			thermal-sensors = <&tsens0 7>;
		};

		cpu7-thermal {
			thermal-sensors = <&tsens0 8>;
		};
	};
};

/*
 * SDM632 uses Kryo 250 instead of Cortex A53
 * CPU0-3 are efficiency cores, CPU4-7 are performance cores
 */
&CPU0 {
	compatible = "qcom,kryo250";
};

&CPU1 {
	compatible = "qcom,kryo250";
};

&CPU2 {
	compatible = "qcom,kryo250";
};

&CPU3 {
	compatible = "qcom,kryo250";
};

&CPU4 {
	compatible = "qcom,kryo250";
	capacity-dmips-mhz = <1980>;
};

&CPU5 {
	compatible = "qcom,kryo250";
	capacity-dmips-mhz = <1980>;
};

&CPU6 {
	compatible = "qcom,kryo250";
	capacity-dmips-mhz = <1980>;
};

&CPU7 {
	compatible = "qcom,kryo250";
	capacity-dmips-mhz = <1980>;
};