Loading...
1/*
2 * Device Tree Source for OMAP3 SoC CPU thermal
3 *
4 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
5 *
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>;
20};
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Device Tree Source for OMAP3 SoC CPU thermal
4 *
5 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
6 */
7
8#include <dt-bindings/thermal/thermal.h>
9
10cpu_thermal: cpu-thermal {
11 polling-delay-passive = <250>; /* milliseconds */
12 polling-delay = <1000>; /* milliseconds */
13 coefficients = <0 20000>;
14
15 /* sensor ID */
16 thermal-sensors = <&bandgap 0>;
17
18 cpu_trips: trips {
19 cpu_alert0: cpu_alert {
20 temperature = <80000>; /* millicelsius */
21 hysteresis = <2000>; /* millicelsius */
22 type = "passive";
23 };
24 cpu_crit: cpu_crit {
25 temperature = <90000>; /* millicelsius */
26 hysteresis = <2000>; /* millicelsius */
27 type = "critical";
28 };
29 };
30
31 cpu_cooling_maps: cooling-maps {
32 map0 {
33 trip = <&cpu_alert0>;
34 cooling-device =
35 <&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
36 };
37 };
38};