blob: 1ed837859374514c4b3e48659a7ed5841d6c0bd2 [file] [log] [blame]
Keerthya761d512017-03-09 13:35:55 +05301/*
2 * Device Tree Source for OMAP3 SoC CPU thermal
3 *
Alexander A. Klimov75f66812020-07-08 11:34:51 +02004 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
Keerthya761d512017-03-09 13:35:55 +05305 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11#include <dt-bindings/thermal/thermal.h>
12
13cpu_thermal: cpu_thermal {
14 polling-delay-passive = <250>; /* milliseconds */
15 polling-delay = <1000>; /* milliseconds */
16 coefficients = <0 20000>;
17
18 /* sensor ID */
19 thermal-sensors = <&bandgap 0>;
Adam Fordbbdb5d12020-08-18 07:57:20 -050020
21 cpu_trips: trips {
22 cpu_alert0: cpu_alert {
23 temperature = <80000>; /* millicelsius */
24 hysteresis = <2000>; /* millicelsius */
25 type = "passive";
26 };
27 cpu_crit: cpu_crit {
28 temperature = <90000>; /* millicelsius */
29 hysteresis = <2000>; /* millicelsius */
30 type = "critical";
31 };
32 };
33
34 cpu_cooling_maps: cooling-maps {
35 map0 {
36 trip = <&cpu_alert0>;
37 cooling-device =
38 <&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
39 };
40 };
Keerthya761d512017-03-09 13:35:55 +053041};