1 From eba73069e7f6ac3bcb3669d980994ec42ddd810a Mon Sep 17 00:00:00 2001
2 From: Yuantian Tang <andy.tang@nxp.com>
3 Date: Thu, 16 Apr 2020 17:40:06 +0800
4 Subject: [PATCH] arm64: dts: lx2160a: add more thermal zone support
6 There are 7 thermal zones in lx2160a soc. Add the
7 rest thermal zone node to enable them.
8 Also correct one of the values for tmu-calibration property.
10 Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
12 .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 130 +++++++++++++++++-
13 1 file changed, 125 insertions(+), 5 deletions(-)
15 diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
16 index cab7468c3..fe9b8bf4d 100644
17 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
18 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
23 - core_thermal1: core-thermal1 {
25 polling-delay-passive = <1000>;
26 polling-delay = <5000>;
27 thermal-sensors = <&tmu 0>;
30 - core_cluster_alert: core-cluster-alert {
31 + cluster6_7_alert: cluster6-7-alert {
32 temperature = <85000>;
37 - core_cluster_crit: core-cluster-crit {
38 + cluster6_7_crit: cluster6-7-crit {
39 temperature = <95000>;
46 - trip = <&core_cluster_alert>;
47 + trip = <&cluster6_7_alert>;
49 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
50 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
57 + polling-delay-passive = <1000>;
58 + polling-delay = <5000>;
59 + thermal-sensors = <&tmu 1>;
62 + ddr-cluster5-alert {
63 + temperature = <85000>;
64 + hysteresis = <2000>;
69 + temperature = <95000>;
70 + hysteresis = <2000>;
77 + polling-delay-passive = <1000>;
78 + polling-delay = <5000>;
79 + thermal-sensors = <&tmu 2>;
83 + temperature = <85000>;
84 + hysteresis = <2000>;
89 + temperature = <95000>;
90 + hysteresis = <2000>;
97 + polling-delay-passive = <1000>;
98 + polling-delay = <5000>;
99 + thermal-sensors = <&tmu 3>;
103 + temperature = <85000>;
104 + hysteresis = <2000>;
109 + temperature = <95000>;
110 + hysteresis = <2000>;
117 + polling-delay-passive = <1000>;
118 + polling-delay = <5000>;
119 + thermal-sensors = <&tmu 4>;
123 + temperature = <85000>;
124 + hysteresis = <2000>;
129 + temperature = <95000>;
130 + hysteresis = <2000>;
137 + polling-delay-passive = <1000>;
138 + polling-delay = <5000>;
139 + thermal-sensors = <&tmu 5>;
142 + clust4-hsio3-alert {
143 + temperature = <85000>;
144 + hysteresis = <2000>;
148 + clust4-hsio3-crit {
149 + temperature = <95000>;
150 + hysteresis = <2000>;
157 + polling-delay-passive = <1000>;
158 + polling-delay = <5000>;
159 + thermal-sensors = <&tmu 6>;
163 + temperature = <85000>;
164 + hysteresis = <2000>;
169 + temperature = <95000>;
170 + hysteresis = <2000>;
179 /* Calibration data group 1 */
180 <0x00000000 0x00000035
181 /* Calibration data group 2 */
182 - 0x00010001 0x00000154>;
183 + 0x00000001 0x00000154>;
185 #thermal-sensor-cells = <1>;