1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Device Tree Source for OMAP4/5 SoC CPU ther 3 * Device Tree Source for OMAP4/5 SoC CPU thermal 4 * 4 * 5 * Copyright (C) 2013 Texas Instruments Incorp 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 6 * Contact: Eduardo Valentin <eduardo.valentin@ 6 * Contact: Eduardo Valentin <eduardo.valentin@ti.com> 7 */ 7 */ 8 8 9 #include <dt-bindings/thermal/thermal.h> 9 #include <dt-bindings/thermal/thermal.h> 10 10 11 cpu_thermal: cpu_thermal { 11 cpu_thermal: cpu_thermal { 12 polling-delay-passive = <250>; /* mill 12 polling-delay-passive = <250>; /* milliseconds */ 13 polling-delay = <1000>; /* millisecond 13 polling-delay = <1000>; /* milliseconds */ 14 14 15 /* 15 /* 16 * See 44xx files for single sensor ad 16 * See 44xx files for single sensor addressing, omap5 and dra7 need 17 * also sensor ID for addressing. 17 * also sensor ID for addressing. 18 */ 18 */ 19 thermal-sensors = <&bandgap 0>; 19 thermal-sensors = <&bandgap 0>; 20 20 21 cpu_trips: trips { 21 cpu_trips: trips { 22 cpu_alert0: cpu_alert { 22 cpu_alert0: cpu_alert { 23 temperature = <100000> 23 temperature = <100000>; /* millicelsius */ 24 hysteresis = <2000>; / 24 hysteresis = <2000>; /* millicelsius */ 25 type = "passive"; 25 type = "passive"; 26 }; 26 }; 27 cpu_crit: cpu_crit { 27 cpu_crit: cpu_crit { 28 temperature = <125000> 28 temperature = <125000>; /* millicelsius */ 29 hysteresis = <2000>; / 29 hysteresis = <2000>; /* millicelsius */ 30 type = "critical"; 30 type = "critical"; 31 }; 31 }; 32 }; 32 }; 33 33 34 cpu_cooling_maps: cooling-maps { 34 cpu_cooling_maps: cooling-maps { 35 map0 { 35 map0 { 36 trip = <&cpu_alert0>; 36 trip = <&cpu_alert0>; 37 cooling-device = 37 cooling-device = 38 <&cpu0 THERMAL 38 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 39 }; 39 }; 40 }; 40 }; 41 }; 41 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.