1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2724ba675SRob Herring/* 3724ba675SRob Herring * Device Tree Source for OMAP4/5 SoC CPU thermal 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 6724ba675SRob Herring * Contact: Eduardo Valentin <eduardo.valentin@ti.com> 7724ba675SRob Herring */ 8724ba675SRob Herring 9724ba675SRob Herring#include <dt-bindings/thermal/thermal.h> 10724ba675SRob Herring 11724ba675SRob Herringcpu_thermal: cpu_thermal { 12724ba675SRob Herring polling-delay-passive = <250>; /* milliseconds */ 13724ba675SRob Herring polling-delay = <1000>; /* milliseconds */ 14724ba675SRob Herring 15*6469b2feSTony Lindgren /* 16*6469b2feSTony Lindgren * See 44xx files for single sensor addressing, omap5 and dra7 need 17*6469b2feSTony Lindgren * also sensor ID for addressing. 18*6469b2feSTony Lindgren */ 19724ba675SRob Herring thermal-sensors = <&bandgap 0>; 20724ba675SRob Herring 21724ba675SRob Herring cpu_trips: trips { 22724ba675SRob Herring cpu_alert0: cpu_alert { 23724ba675SRob Herring temperature = <100000>; /* millicelsius */ 24724ba675SRob Herring hysteresis = <2000>; /* millicelsius */ 25724ba675SRob Herring type = "passive"; 26724ba675SRob Herring }; 27724ba675SRob Herring cpu_crit: cpu_crit { 28724ba675SRob Herring temperature = <125000>; /* millicelsius */ 29724ba675SRob Herring hysteresis = <2000>; /* millicelsius */ 30724ba675SRob Herring type = "critical"; 31724ba675SRob Herring }; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring cpu_cooling_maps: cooling-maps { 35724ba675SRob Herring map0 { 36724ba675SRob Herring trip = <&cpu_alert0>; 37724ba675SRob Herring cooling-device = 38724ba675SRob Herring <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 39724ba675SRob Herring }; 40724ba675SRob Herring }; 41724ba675SRob Herring}; 42