xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/omap3-cpu-thermal.dtsi (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Device Tree Source for OMAP3 SoC CPU thermal
4 *
5 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
6 */
7
8#include <dt-bindings/thermal/thermal.h>
9
10cpu_thermal: cpu-thermal {
11	polling-delay-passive = <250>; /* milliseconds */
12	polling-delay = <1000>; /* milliseconds */
13	coefficients = <0 20000>;
14
15	thermal-sensors = <&bandgap>;
16
17	cpu_trips: trips {
18		cpu_alert0: cpu_alert {
19			temperature = <80000>; /* millicelsius */
20			hysteresis = <2000>; /* millicelsius */
21			type = "passive";
22		};
23		cpu_crit: cpu_crit {
24			temperature = <90000>; /* millicelsius */
25			hysteresis = <2000>; /* millicelsius */
26			type = "critical";
27		};
28	};
29
30	cpu_cooling_maps: cooling-maps {
31		map0 {
32			trip = <&cpu_alert0>;
33			cooling-device =
34				<&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
35		};
36	};
37};
38