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