blob: 772471455e75f40690a1758e853e5ec101fdf3b6 [file] [log] [blame]
Rohit kumar75f5ed22017-11-21 18:21:03 +05301/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +05302 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#include <dt-bindings/spmi/spmi.h>
14#include <dt-bindings/interrupt-controller/irq.h>
Manaf Meethalavalappu Pallikunhiee31b902017-08-23 21:20:38 +053015#include <dt-bindings/thermal/thermal.h>
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +053016
17&spmi_bus {
Tirupathi Reddy4b983082017-09-04 10:11:15 +053018 pm660_0: qcom,pm660@0 {
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +053019 compatible ="qcom,spmi-pmic";
20 reg = <0x0 SPMI_USID>;
21 #address-cells = <2>;
22 #size-cells = <0>;
23
24 pm660_revid: qcom,revid@100 {
25 compatible = "qcom,qpnp-revid";
26 reg = <0x100 0x100>;
27 qcom,fab-id-valid;
28 };
29
30 pm660_misc: qcom,misc@900 {
31 compatible = "qcom,qpnp-misc";
32 reg = <0x900 0x100>;
33 };
34
35 qcom,power-on@800 {
36 compatible = "qcom,qpnp-power-on";
37 reg = <0x800 0x100>;
38 interrupts = <0x0 0x8 0x0 IRQ_TYPE_NONE>,
39 <0x0 0x8 0x1 IRQ_TYPE_NONE>,
40 <0x0 0x8 0x4 IRQ_TYPE_NONE>,
41 <0x0 0x8 0x5 IRQ_TYPE_NONE>;
42 interrupt-names = "kpdpwr", "resin",
43 "resin-bark", "kpdpwr-resin-bark";
44 qcom,pon-dbc-delay = <15625>;
45 qcom,kpdpwr-sw-debounce;
46 qcom,system-reset;
47 qcom,store-hard-reset-reason;
48
49 qcom,pon_1 {
50 qcom,pon-type = <0>;
51 qcom,pull-up = <1>;
52 linux,code = <116>;
53 };
54
55 qcom,pon_2 {
56 qcom,pon-type = <1>;
57 qcom,pull-up = <1>;
58 linux,code = <114>;
59 };
60 };
61
Manaf Meethalavalappu Pallikunhi1742be92017-09-07 01:32:28 +053062 pm660_tz: qcom,temp-alarm@2400 {
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +053063 compatible = "qcom,qpnp-temp-alarm";
64 reg = <0x2400 0x100>;
65 interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
66 label = "pm660_tz";
67 qcom,channel-num = <6>;
68 qcom,temp_alarm-vadc = <&pm660_vadc>;
Manaf Meethalavalappu Pallikunhi1742be92017-09-07 01:32:28 +053069 #thermal-sensor-cells = <0>;
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +053070 };
71
Tirupathi Reddya1f73442017-08-11 12:31:00 +053072 pm660_gpios: pinctrl@c000 {
73 compatible = "qcom,spmi-gpio";
74 reg = <0xc000 0xd00>;
75 interrupts = <0x0 0xc1 0 IRQ_TYPE_NONE>,
76 <0x0 0xc2 0 IRQ_TYPE_NONE>,
77 <0x0 0xc3 0 IRQ_TYPE_NONE>,
78 <0x0 0xc8 0 IRQ_TYPE_NONE>,
79 <0x0 0xca 0 IRQ_TYPE_NONE>,
80 <0x0 0xcb 0 IRQ_TYPE_NONE>,
81 <0x0 0xcc 0 IRQ_TYPE_NONE>;
82 interrupt-names = "pm660_gpio2", "pm660_gpio3",
83 "pm660_gpio4", "pm660_gpio9",
84 "pm660_gpio11", "pm660_gpio12",
85 "pm660_gpio13";
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +053086 gpio-controller;
87 #gpio-cells = <2>;
Tirupathi Reddya1f73442017-08-11 12:31:00 +053088 qcom,gpios-disallowed = <1 5 6 7 8 10>;
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +053089 };
90
91 pm660_coincell: qcom,coincell@2800 {
92 compatible = "qcom,qpnp-coincell";
93 reg = <0x2800 0x100>;
94 };
95
96 pm660_rtc: qcom,pm660_rtc {
97 compatible = "qcom,qpnp-rtc";
98 #address-cells = <1>;
99 #size-cells = <1>;
100 qcom,qpnp-rtc-write = <0>;
101 qcom,qpnp-rtc-alarm-pwrup = <0>;
102
103 qcom,pm660_rtc_rw@6000 {
104 reg = <0x6000 0x100>;
105 };
106 qcom,pm660_rtc_alarm@6100 {
107 reg = <0x6100 0x100>;
108 interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
109 };
110 };
111
112 pm660_vadc: vadc@3100 {
113 compatible = "qcom,qpnp-vadc-hc";
114 reg = <0x3100 0x100>;
115 #address-cells = <1>;
116 #size-cells = <0>;
117 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
118 interrupt-names = "eoc-int-en-set";
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530119 qcom,adc-vdd-reference = <1875>;
120
121 chan@6 {
122 label = "die_temp";
123 reg = <6>;
124 qcom,decimation = <2>;
125 qcom,pre-div-channel-scaling = <0>;
126 qcom,calibration-type = "absolute";
127 qcom,scale-function = <3>;
128 qcom,hw-settle-time = <0>;
129 qcom,fast-avg-setup = <0>;
130 qcom,cal-val = <0>;
131 };
132
133 chan@0 {
134 label = "ref_gnd";
135 reg = <0>;
136 qcom,decimation = <2>;
137 qcom,pre-div-channel-scaling = <0>;
138 qcom,calibration-type = "absolute";
139 qcom,scale-function = <0>;
140 qcom,hw-settle-time = <0>;
141 qcom,fast-avg-setup = <0>;
142 qcom,cal-val = <0>;
143 };
144
145 chan@1 {
146 label = "ref_1250v";
147 reg = <1>;
148 qcom,decimation = <2>;
149 qcom,pre-div-channel-scaling = <0>;
150 qcom,calibration-type = "absolute";
151 qcom,scale-function = <0>;
152 qcom,hw-settle-time = <0>;
153 qcom,fast-avg-setup = <0>;
154 qcom,cal-val = <0>;
155 };
156
157 chan@83 {
158 label = "vph_pwr";
159 reg = <0x83>;
160 qcom,decimation = <2>;
161 qcom,pre-div-channel-scaling = <1>;
162 qcom,calibration-type = "absolute";
163 qcom,scale-function = <0>;
164 qcom,hw-settle-time = <0>;
165 qcom,fast-avg-setup = <0>;
166 };
167
168 chan@85 {
169 label = "vcoin";
170 reg = <0x85>;
171 qcom,decimation = <2>;
172 qcom,pre-div-channel-scaling = <1>;
173 qcom,calibration-type = "absolute";
174 qcom,scale-function = <0>;
175 qcom,hw-settle-time = <0>;
176 qcom,fast-avg-setup = <0>;
177 };
178
179 chan@4c {
180 label = "xo_therm";
181 reg = <0x4c>;
182 qcom,decimation = <2>;
183 qcom,pre-div-channel-scaling = <0>;
184 qcom,calibration-type = "ratiometric";
185 qcom,scale-function = <4>;
186 qcom,hw-settle-time = <2>;
187 qcom,fast-avg-setup = <0>;
188 };
189
190 chan@4d {
191 label = "msm_therm";
192 reg = <0x4d>;
193 qcom,decimation = <2>;
194 qcom,pre-div-channel-scaling = <0>;
195 qcom,calibration-type = "ratiometric";
196 qcom,scale-function = <2>;
197 qcom,hw-settle-time = <2>;
198 qcom,fast-avg-setup = <0>;
199 };
200
201 chan@51 {
202 label = "quiet_therm";
203 reg = <0x51>;
204 qcom,decimation = <2>;
205 qcom,pre-div-channel-scaling = <0>;
206 qcom,calibration-type = "ratiometric";
207 qcom,scale-function = <2>;
208 qcom,hw-settle-time = <2>;
209 qcom,fast-avg-setup = <0>;
210 };
211
212 chan@4e {
213 label = "emmc_therm";
214 reg = <0x4e>;
215 qcom,decimation = <2>;
216 qcom,pre-div-channel-scaling = <0>;
217 qcom,calibration-type = "ratiometric";
218 qcom,scale-function = <2>;
219 qcom,hw-settle-time = <2>;
220 qcom,fast-avg-setup = <0>;
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530221 };
222
223 chan@4f {
224 label = "pa_therm0";
225 reg = <0x4f>;
226 qcom,decimation = <2>;
227 qcom,pre-div-channel-scaling = <0>;
228 qcom,calibration-type = "ratiometric";
229 qcom,scale-function = <2>;
230 qcom,hw-settle-time = <2>;
231 qcom,fast-avg-setup = <0>;
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530232 };
233
234 chan@1d {
235 label = "drax_temp";
236 reg = <0x1d>;
237 qcom,decimation = <2>;
238 qcom,pre-div-channel-scaling = <0>;
239 qcom,calibration-type = "absolute";
240 qcom,scale-function = <3>;
241 qcom,hw-settle-time = <0>;
242 qcom,fast-avg-setup = <0>;
243 qcom,cal-val = <0>;
244 };
245 };
246
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530247 pm660_pdphy: qcom,usb-pdphy@1700 {
248 compatible = "qcom,qpnp-pdphy";
249 reg = <0x1700 0x100>;
250 vdd-pdphy-supply = <&pm660l_l7>;
Pratham Pratap1cb68832017-09-14 15:47:58 +0530251 vbus-supply = <0>;
252 vconn-supply = <0>;
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530253 interrupts = <0x0 0x17 0x0 IRQ_TYPE_EDGE_RISING>,
254 <0x0 0x17 0x1 IRQ_TYPE_EDGE_RISING>,
255 <0x0 0x17 0x2 IRQ_TYPE_EDGE_RISING>,
256 <0x0 0x17 0x3 IRQ_TYPE_EDGE_RISING>,
257 <0x0 0x17 0x4 IRQ_TYPE_EDGE_RISING>,
258 <0x0 0x17 0x5 IRQ_TYPE_EDGE_RISING>,
259 <0x0 0x17 0x6 IRQ_TYPE_EDGE_RISING>;
260
261 interrupt-names = "sig-tx",
262 "sig-rx",
263 "msg-tx",
264 "msg-rx",
265 "msg-tx-failed",
266 "msg-tx-discarded",
267 "msg-rx-discarded";
268
269 qcom,default-sink-caps = <5000 3000>, /* 5V @ 3A */
270 <9000 3000>; /* 9V @ 3A */
271 };
272
273 pm660_adc_tm: vadc@3400 {
274 compatible = "qcom,qpnp-adc-tm-hc";
275 reg = <0x3400 0x100>;
276 #address-cells = <1>;
277 #size-cells = <0>;
278 interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>;
279 interrupt-names = "eoc-int-en-set";
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530280 qcom,adc-vdd-reference = <1875>;
281 qcom,adc_tm-vadc = <&pm660_vadc>;
282 qcom,decimation = <0>;
283 qcom,fast-avg-setup = <0>;
Lakshmi Sunkara5afac232017-06-27 18:06:25 +0530284 #thermal-sensor-cells = <1>;
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530285
286 chan@83 {
287 label = "vph_pwr";
288 reg = <0x83>;
289 qcom,pre-div-channel-scaling = <1>;
290 qcom,calibration-type = "absolute";
291 qcom,scale-function = <0>;
292 qcom,hw-settle-time = <0>;
293 qcom,btm-channel-number = <0x60>;
294 };
295
296 chan@4d {
297 label = "msm_therm";
298 reg = <0x4d>;
299 qcom,pre-div-channel-scaling = <0>;
300 qcom,calibration-type = "ratiometric";
301 qcom,scale-function = <2>;
302 qcom,hw-settle-time = <2>;
303 qcom,btm-channel-number = <0x68>;
304 qcom,thermal-node;
305 };
306
307 chan@51 {
308 label = "quiet_therm";
309 reg = <0x51>;
310 qcom,pre-div-channel-scaling = <0>;
311 qcom,calibration-type = "ratiometric";
312 qcom,scale-function = <2>;
313 qcom,hw-settle-time = <2>;
314 qcom,btm-channel-number = <0x70>;
315 qcom,thermal-node;
316 };
317
318 chan@4c {
319 label = "xo_therm";
320 reg = <0x4c>;
321 qcom,pre-div-channel-scaling = <0>;
322 qcom,calibration-type = "ratiometric";
323 qcom,scale-function = <4>;
324 qcom,hw-settle-time = <2>;
325 qcom,btm-channel-number = <0x78>;
326 qcom,thermal-node;
327 };
Lakshmi Sunkara5afac232017-06-27 18:06:25 +0530328
329 chan@4e {
330 label = "emmc_therm";
331 reg = <0x4e>;
332 qcom,pre-div-channel-scaling = <0>;
333 qcom,calibration-type = "ratiometric";
334 qcom,scale-function = <2>;
335 qcom,hw-settle-time = <2>;
336 qcom,btm-channel-number = <0x80>;
Rama Krishna Phani Ab7b382b2017-10-25 10:55:07 +0530337 qcom,thermal-node;
Lakshmi Sunkara5afac232017-06-27 18:06:25 +0530338 };
339
340 chan@4f {
341 label = "pa_therm0";
342 reg = <0x4f>;
343 qcom,pre-div-channel-scaling = <0>;
344 qcom,calibration-type = "ratiometric";
345 qcom,scale-function = <2>;
346 qcom,hw-settle-time = <2>;
347 qcom,btm-channel-number = <0x88>;
Rama Krishna Phani Ab7b382b2017-10-25 10:55:07 +0530348 qcom,thermal-node;
Lakshmi Sunkara5afac232017-06-27 18:06:25 +0530349 };
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530350 };
351
Manaf Meethalavalappu Pallikunhiee31b902017-08-23 21:20:38 +0530352 bcl_sensor: bcl@4200 {
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530353 compatible = "qcom,msm-bcl-lmh";
354 reg = <0x4200 0xff>,
355 <0x4300 0xff>;
356 reg-names = "fg_user_adc",
357 "fg_lmh";
358 interrupts = <0x0 0x42 0x0 IRQ_TYPE_NONE>,
Manaf Meethalavalappu Pallikunhiee31b902017-08-23 21:20:38 +0530359 <0x0 0x42 0x1 IRQ_TYPE_NONE>,
360 <0x0 0x42 0x2 IRQ_TYPE_NONE>,
361 <0x0 0x42 0x3 IRQ_TYPE_NONE>,
362 <0x0 0x42 0x4 IRQ_TYPE_NONE>;
363 interrupt-names = "bcl-high-ibat",
364 "bcl-very-high-ibat",
365 "bcl-low-vbat",
366 "bcl-very-low-vbat",
367 "bcl-crit-low-vbat";
368 #thermal-sensor-cells = <1>;
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530369 };
Tirupathi Reddyf805ac72017-10-12 14:22:17 +0530370
371 pm660_div_clk: qcom,clkdiv@5b00 {
372 compatible = "qcom,qpnp-clkdiv";
373 reg = <0x5b00 0x100>;
374 #clock-cells = <1>;
375 qcom,cxo-freq = <19200000>;
376 qcom,clkdiv-id = <1>;
Rohit kumar75f5ed22017-11-21 18:21:03 +0530377 qcom,clkdiv-init-freq = <9600000>;
Tirupathi Reddyf805ac72017-10-12 14:22:17 +0530378 status = "disabled";
379 };
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530380 };
381
Tirupathi Reddy4b983082017-09-04 10:11:15 +0530382 pm660_1: qcom,pm660@1 {
Tirupathi Reddy8f14a6a2017-06-09 11:13:21 +0530383 compatible ="qcom,spmi-pmic";
384 reg = <0x1 SPMI_USID>;
385 #address-cells = <2>;
386 #size-cells = <0>;
387 };
388};
Lakshmi Sunkara5afac232017-06-27 18:06:25 +0530389
390&thermal_zones {
391 xo-therm-adc {
392 polling-delay-passive = <0>;
393 polling-delay = <0>;
394 thermal-sensors = <&pm660_adc_tm 0x4c>;
395 thermal-governor = "user_space";
396
397 trips {
398 active-config0 {
399 temperature = <65000>;
400 hysteresis = <1000>;
401 type = "passive";
402 };
403 };
404 };
405
406 msm-therm-adc {
407 polling-delay-passive = <0>;
408 polling-delay = <0>;
409 thermal-sensors = <&pm660_adc_tm 0x4d>;
410 thermal-governor = "user_space";
411
412 trips {
413 active-config0 {
414 temperature = <65000>;
415 hysteresis = <1000>;
416 type = "passive";
417 };
418 };
419 };
420
421 emmc-therm-adc {
422 polling-delay-passive = <0>;
423 polling-delay = <0>;
424 thermal-sensors = <&pm660_adc_tm 0x4e>;
425 thermal-governor = "user_space";
426
427 trips {
428 active-config0 {
429 temperature = <65000>;
430 hysteresis = <1000>;
431 type = "passive";
432 };
433 };
434 };
435
436 pa-therm0-adc {
437 polling-delay-passive = <0>;
438 polling-delay = <0>;
439 thermal-sensors = <&pm660_adc_tm 0x4f>;
440 thermal-governor = "user_space";
441
442 trips {
443 active-config0 {
444 temperature = <65000>;
445 hysteresis = <1000>;
446 type = "passive";
447 };
448 };
449 };
450
451 quiet-therm-adc {
452 polling-delay-passive = <0>;
453 polling-delay = <0>;
454 thermal-sensors = <&pm660_adc_tm 0x51>;
455 thermal-governor = "user_space";
456
457 trips {
458 active-config0 {
459 temperature = <65000>;
460 hysteresis = <1000>;
461 type = "passive";
462 };
463 };
464 };
Manaf Meethalavalappu Pallikunhiee31b902017-08-23 21:20:38 +0530465
466 ibat-high {
467 polling-delay-passive = <0>;
468 polling-delay = <0>;
469 thermal-governor = "step_wise";
470 thermal-sensors = <&bcl_sensor 0>;
471
472 trips {
473 ibat-high {
474 temperature = <4200>;
475 hysteresis = <200>;
476 type = "passive";
477 };
478 };
479 };
480
481 ibat-vhigh {
482 polling-delay-passive = <0>;
483 polling-delay = <0>;
484 thermal-governor = "step_wise";
485 thermal-sensors = <&bcl_sensor 1>;
486
487 trips {
488 ibat-vhigh {
489 temperature = <4300>;
490 hysteresis = <100>;
491 type = "passive";
492 };
493 };
494 };
495
496 vbat_adc {
497 polling-delay-passive = <100>;
498 polling-delay = <0>;
499 thermal-governor = "low_limits_cap";
500 thermal-sensors = <&bcl_sensor 2>;
501 tracks-low;
502
503 trips {
504 pm660_vbat_adc: vbat-adc {
Manaf Meethalavalappu Pallikunhi8d7443c2018-02-01 20:29:11 +0530505 temperature = <3200>;
Manaf Meethalavalappu Pallikunhiee31b902017-08-23 21:20:38 +0530506 hysteresis = <100>;
507 type = "passive";
508 };
509 };
510 cooling-maps {
511 vbat_map6 {
512 trip = <&pm660_vbat_adc>;
513 cooling-device =
514 <&CPU6 THERMAL_MAX_LIMIT
515 THERMAL_MAX_LIMIT>;
516 };
517 vbat_map7 {
518 trip = <&pm660_vbat_adc>;
519 cooling-device =
520 <&CPU7 THERMAL_MAX_LIMIT
521 THERMAL_MAX_LIMIT>;
522 };
523 };
524 };
525
526 vbat_low {
527 polling-delay-passive = <0>;
528 polling-delay = <0>;
529 thermal-governor = "low_limits_cap";
530 thermal-sensors = <&bcl_sensor 3>;
531 tracks-low;
532
533 trips {
534 vbat-low {
Manaf Meethalavalappu Pallikunhi8d7443c2018-02-01 20:29:11 +0530535 temperature = <2800>;
Manaf Meethalavalappu Pallikunhiee31b902017-08-23 21:20:38 +0530536 hysteresis = <0>;
537 type = "passive";
538 };
539 };
540 };
541
542 vbat_too_low {
543 polling-delay-passive = <0>;
544 polling-delay = <0>;
545 thermal-governor = "low_limits_cap";
546 thermal-sensors = <&bcl_sensor 4>;
547 tracks-low;
548
549 trips {
550 vbat-too-low {
Manaf Meethalavalappu Pallikunhi8d7443c2018-02-01 20:29:11 +0530551 temperature = <2600>;
Manaf Meethalavalappu Pallikunhiee31b902017-08-23 21:20:38 +0530552 hysteresis = <0>;
553 type = "passive";
554 };
555 };
556 };
557
558 soc {
559 polling-delay-passive = <100>;
560 polling-delay = <0>;
561 thermal-governor = "low_limits_cap";
562 thermal-sensors = <&bcl_sensor 5>;
563 tracks-low;
564
565 trips {
566 pm660_low_soc: low-soc {
567 temperature = <10>;
568 hysteresis = <0>;
569 type = "passive";
570 };
571 };
572 cooling-maps {
573 soc_map6 {
574 trip = <&pm660_low_soc>;
575 cooling-device =
576 <&CPU6 THERMAL_MAX_LIMIT
577 THERMAL_MAX_LIMIT>;
578 };
579 soc_map7 {
580 trip = <&pm660_low_soc>;
581 cooling-device =
582 <&CPU7 THERMAL_MAX_LIMIT
583 THERMAL_MAX_LIMIT>;
584 };
585 };
586 };
Manaf Meethalavalappu Pallikunhi1742be92017-09-07 01:32:28 +0530587
588 pm660_temp_alarm: pm660_tz {
589 polling-delay-passive = <0>;
590 polling-delay = <0>;
591 thermal-governor = "step_wise";
592 thermal-sensors = <&pm660_tz>;
593
594 trips {
595 pm660_trip0: pm660-trip0 {
596 temperature = <105000>;
597 hysteresis = <0>;
598 type = "passive";
599 };
600 pm660_trip1: pm660-trip1 {
601 temperature = <125000>;
602 hysteresis = <0>;
603 type = "passive";
604 };
605 pm660_trip2: pm660-trip2 {
606 temperature = <145000>;
607 hysteresis = <0>;
608 type = "critical";
609 };
610 };
611 cooling-maps {
612 trip0_cpu0 {
613 trip = <&pm660_trip0>;
614 cooling-device =
615 <&CPU0 (THERMAL_MAX_LIMIT-1)
616 (THERMAL_MAX_LIMIT-1)>;
617 };
618 trip0_cpu1 {
619 trip = <&pm660_trip0>;
620 cooling-device =
621 <&CPU1 (THERMAL_MAX_LIMIT-1)
622 (THERMAL_MAX_LIMIT-1)>;
623 };
624 trip0_cpu2 {
625 trip = <&pm660_trip0>;
626 cooling-device =
627 <&CPU2 (THERMAL_MAX_LIMIT-1)
628 (THERMAL_MAX_LIMIT-1)>;
629 };
630 trip0_cpu3 {
631 trip = <&pm660_trip0>;
632 cooling-device =
633 <&CPU3 (THERMAL_MAX_LIMIT-1)
634 (THERMAL_MAX_LIMIT-1)>;
635 };
636 trip0_cpu4 {
637 trip = <&pm660_trip0>;
638 cooling-device =
639 <&CPU4 (THERMAL_MAX_LIMIT-1)
640 (THERMAL_MAX_LIMIT-1)>;
641 };
642 trip0_cpu5 {
643 trip = <&pm660_trip0>;
644 cooling-device =
645 <&CPU5 (THERMAL_MAX_LIMIT-1)
646 (THERMAL_MAX_LIMIT-1)>;
647 };
648 trip0_cpu6 {
649 trip = <&pm660_trip0>;
650 cooling-device =
651 <&CPU6 (THERMAL_MAX_LIMIT-1)
652 (THERMAL_MAX_LIMIT-1)>;
653 };
654 trip0_cpu7 {
655 trip = <&pm660_trip0>;
656 cooling-device =
657 <&CPU7 (THERMAL_MAX_LIMIT-1)
658 (THERMAL_MAX_LIMIT-1)>;
659 };
660 trip1_cpu1 {
661 trip = <&pm660_trip1>;
662 cooling-device =
663 <&CPU1 THERMAL_MAX_LIMIT
664 THERMAL_MAX_LIMIT>;
665 };
666 trip1_cpu2 {
667 trip = <&pm660_trip1>;
668 cooling-device =
669 <&CPU2 THERMAL_MAX_LIMIT
670 THERMAL_MAX_LIMIT>;
671 };
672 trip1_cpu3 {
673 trip = <&pm660_trip1>;
674 cooling-device =
675 <&CPU3 THERMAL_MAX_LIMIT
676 THERMAL_MAX_LIMIT>;
677 };
678 trip1_cpu4 {
679 trip = <&pm660_trip1>;
680 cooling-device =
681 <&CPU4 THERMAL_MAX_LIMIT
682 THERMAL_MAX_LIMIT>;
683 };
684 trip1_cpu5 {
685 trip = <&pm660_trip1>;
686 cooling-device =
687 <&CPU5 THERMAL_MAX_LIMIT
688 THERMAL_MAX_LIMIT>;
689 };
690 trip1_cpu6 {
691 trip = <&pm660_trip1>;
692 cooling-device =
693 <&CPU6 THERMAL_MAX_LIMIT
694 THERMAL_MAX_LIMIT>;
695 };
696 trip1_cpu7 {
697 trip = <&pm660_trip1>;
698 cooling-device =
699 <&CPU7 THERMAL_MAX_LIMIT
700 THERMAL_MAX_LIMIT>;
701 };
702 };
703 };
Lakshmi Sunkara5afac232017-06-27 18:06:25 +0530704};