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