xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sdm632.dtsi (revision 38a52bd3b5cac3da6f7f6eef3dd050e6aa08ebb3)
1// SPDX-License-Identifier: BSD-3-Clause
2/* Copyright (c) 2022, The Linux Foundation. All rights reserved. */
3
4#include "msm8953.dtsi"
5
6/ {
7	thermal-zones {
8		/delete-node/cpu1-thermal;
9		/delete-node/cpu2-thermal;
10		/delete-node/cpu3-thermal;
11
12		cpu0-thermal {
13			thermal-sensors = <&tsens0 13>;
14
15			cooling-maps {
16				map0 {
17					cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
18							 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
19							 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
20							 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
21				};
22			};
23		};
24
25		cpu4-thermal {
26			thermal-sensors = <&tsens0 5>;
27		};
28
29		cpu5-thermal {
30			thermal-sensors = <&tsens0 6>;
31		};
32
33		cpu6-thermal {
34			thermal-sensors = <&tsens0 7>;
35		};
36
37		cpu7-thermal {
38			thermal-sensors = <&tsens0 8>;
39		};
40	};
41};
42
43/*
44 * SDM632 uses Kryo 250 instead of Cortex A53
45 * CPU0-3 are efficiency cores, CPU4-7 are performance cores
46 */
47&CPU0 {
48	compatible = "qcom,kryo250";
49};
50
51&CPU1 {
52	compatible = "qcom,kryo250";
53};
54
55&CPU2 {
56	compatible = "qcom,kryo250";
57};
58
59&CPU3 {
60	compatible = "qcom,kryo250";
61};
62
63&CPU4 {
64	compatible = "qcom,kryo250";
65	capacity-dmips-mhz = <1980>;
66};
67
68&CPU5 {
69	compatible = "qcom,kryo250";
70	capacity-dmips-mhz = <1980>;
71};
72
73&CPU6 {
74	compatible = "qcom,kryo250";
75	capacity-dmips-mhz = <1980>;
76};
77
78&CPU7 {
79	compatible = "qcom,kryo250";
80	capacity-dmips-mhz = <1980>;
81};
82