1279377Simp/*
2279377Simp * Device Tree Source for OMAP4/5 SoC CPU thermal
3279377Simp *
4279377Simp * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
5279377Simp * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
6279377Simp *
7279377Simp * This file is licensed under the terms of the GNU General Public License
8279377Simp * version 2.  This program is licensed "as is" without any warranty of any
9279377Simp * kind, whether express or implied.
10279377Simp */
11279377Simp
12279377Simp#include <dt-bindings/thermal/thermal.h>
13279377Simp
14279377Simpcpu_thermal: cpu_thermal {
15279377Simp	polling-delay-passive = <250>; /* milliseconds */
16279377Simp	polling-delay = <1000>; /* milliseconds */
17279377Simp
18279377Simp			/* sensor       ID */
19279377Simp        thermal-sensors = <&bandgap     0>;
20279377Simp
21295436Sandrew	cpu_trips: trips {
22279377Simp                cpu_alert0: cpu_alert {
23279377Simp                        temperature = <100000>; /* millicelsius */
24279377Simp                        hysteresis = <2000>; /* millicelsius */
25279377Simp                        type = "passive";
26279377Simp                };
27279377Simp                cpu_crit: cpu_crit {
28279377Simp                        temperature = <125000>; /* millicelsius */
29279377Simp                        hysteresis = <2000>; /* millicelsius */
30279377Simp                        type = "critical";
31279377Simp                };
32279377Simp        };
33279377Simp
34295436Sandrew	cpu_cooling_maps: cooling-maps {
35279377Simp		map0 {
36279377Simp			trip = <&cpu_alert0>;
37279377Simp			cooling-device =
38279377Simp				<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
39279377Simp		};
40279377Simp	};
41279377Simp};
42