]> git.ipfire.org Git - thirdparty/kernel/stable.git/blame - arch/arm/boot/dts/ti/omap/omap4-cpu-thermal.dtsi
Merge tag 'kvm-x86-mmu-6.7' of https://github.com/kvm-x86/linux into HEAD
[thirdparty/kernel/stable.git] / arch / arm / boot / dts / ti / omap / omap4-cpu-thermal.dtsi
CommitLineData
0fdebc5e 1// SPDX-License-Identifier: GPL-2.0-only
0bbf6c54
EV
2/*
3 * Device Tree Source for OMAP4/5 SoC CPU thermal
4 *
75f66813 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
0bbf6c54 6 * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
0bbf6c54
EV
7 */
8
9#include <dt-bindings/thermal/thermal.h>
10
11cpu_thermal: cpu_thermal {
12 polling-delay-passive = <250>; /* milliseconds */
13 polling-delay = <1000>; /* milliseconds */
14
6469b2fe
TL
15 /*
16 * See 44xx files for single sensor addressing, omap5 and dra7 need
17 * also sensor ID for addressing.
18 */
8ae9c7a6 19 thermal-sensors = <&bandgap 0>;
0bbf6c54 20
d723cfea 21 cpu_trips: trips {
8ae9c7a6
KK
22 cpu_alert0: cpu_alert {
23 temperature = <100000>; /* millicelsius */
24 hysteresis = <2000>; /* millicelsius */
25 type = "passive";
26 };
27 cpu_crit: cpu_crit {
28 temperature = <125000>; /* millicelsius */
29 hysteresis = <2000>; /* millicelsius */
30 type = "critical";
31 };
32 };
0bbf6c54 33
d723cfea 34 cpu_cooling_maps: cooling-maps {
0bbf6c54
EV
35 map0 {
36 trip = <&cpu_alert0>;
37 cooling-device =
38 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
39 };
40 };
41};