• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Device Tree Source for OMAP4/5 SoC CPU thermal
3 *
4 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
5 * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
6 *
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2.  This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
10 */
11
12#include <dt-bindings/thermal/thermal.h>
13
14cpu_thermal: cpu_thermal {
15	polling-delay-passive = <250>; /* milliseconds */
16	polling-delay = <1000>; /* milliseconds */
17
18	/*
19	 * See 44xx files for single sensor addressing, omap5 and dra7 need
20	 * also sensor ID for addressing.
21	 */
22	thermal-sensors = <&bandgap     0>;
23
24	cpu_trips: trips {
25		cpu_alert0: cpu_alert {
26			temperature = <100000>; /* millicelsius */
27			hysteresis = <2000>; /* millicelsius */
28			type = "passive";
29		};
30		cpu_crit: cpu_crit {
31			temperature = <125000>; /* millicelsius */
32			hysteresis = <2000>; /* millicelsius */
33			type = "critical";
34		};
35	};
36
37	cpu_cooling_maps: cooling-maps {
38		map0 {
39			trip = <&cpu_alert0>;
40			cooling-device =
41				<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
42		};
43	};
44};
45