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 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
16 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
21 - core_thermal1: core-thermal1 {
23 polling-delay-passive = <1000>;
24 polling-delay = <5000>;
25 thermal-sensors = <&tmu 0>;
28 - core_cluster_alert: core-cluster-alert {
29 + cluster6_7_alert: cluster6-7-alert {
30 temperature = <85000>;
35 - core_cluster_crit: core-cluster-crit {
36 + cluster6_7_crit: cluster6-7-crit {
37 temperature = <95000>;
44 - trip = <&core_cluster_alert>;
45 + trip = <&cluster6_7_alert>;
47 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
48 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
55 + polling-delay-passive = <1000>;
56 + polling-delay = <5000>;
57 + thermal-sensors = <&tmu 1>;
60 + ddr-cluster5-alert {
61 + temperature = <85000>;
62 + hysteresis = <2000>;
67 + temperature = <95000>;
68 + hysteresis = <2000>;
75 + polling-delay-passive = <1000>;
76 + polling-delay = <5000>;
77 + thermal-sensors = <&tmu 2>;
81 + temperature = <85000>;
82 + hysteresis = <2000>;
87 + temperature = <95000>;
88 + hysteresis = <2000>;
95 + polling-delay-passive = <1000>;
96 + polling-delay = <5000>;
97 + thermal-sensors = <&tmu 3>;
101 + temperature = <85000>;
102 + hysteresis = <2000>;
107 + temperature = <95000>;
108 + hysteresis = <2000>;
115 + polling-delay-passive = <1000>;
116 + polling-delay = <5000>;
117 + thermal-sensors = <&tmu 4>;
121 + temperature = <85000>;
122 + hysteresis = <2000>;
127 + temperature = <95000>;
128 + hysteresis = <2000>;
135 + polling-delay-passive = <1000>;
136 + polling-delay = <5000>;
137 + thermal-sensors = <&tmu 5>;
140 + clust4-hsio3-alert {
141 + temperature = <85000>;
142 + hysteresis = <2000>;
146 + clust4-hsio3-crit {
147 + temperature = <95000>;
148 + hysteresis = <2000>;
155 + polling-delay-passive = <1000>;
156 + polling-delay = <5000>;
157 + thermal-sensors = <&tmu 6>;
161 + temperature = <85000>;
162 + hysteresis = <2000>;
167 + temperature = <95000>;
168 + hysteresis = <2000>;
177 /* Calibration data group 1 */
178 <0x00000000 0x00000035
179 /* Calibration data group 2 */
180 - 0x00010001 0x00000154>;
181 + 0x00000001 0x00000154>;
183 #thermal-sensor-cells = <1>;