xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-j784s4-j742s2-thermal-common.dtsi (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT
2*5f62a964SEmmanuel Vadot/*
3*5f62a964SEmmanuel Vadot * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
4*5f62a964SEmmanuel Vadot */
5*5f62a964SEmmanuel Vadot
6*5f62a964SEmmanuel Vadot#include <dt-bindings/thermal/thermal.h>
7*5f62a964SEmmanuel Vadot
8*5f62a964SEmmanuel Vadotwkup0_thermal: wkup0-thermal {
9*5f62a964SEmmanuel Vadot	polling-delay-passive = <250>; /* milliseconds */
10*5f62a964SEmmanuel Vadot	polling-delay = <500>; /* milliseconds */
11*5f62a964SEmmanuel Vadot	thermal-sensors = <&wkup_vtm0 0>;
12*5f62a964SEmmanuel Vadot
13*5f62a964SEmmanuel Vadot	trips {
14*5f62a964SEmmanuel Vadot		wkup0_crit: wkup0-crit {
15*5f62a964SEmmanuel Vadot			temperature = <125000>; /* milliCelsius */
16*5f62a964SEmmanuel Vadot			hysteresis = <2000>; /* milliCelsius */
17*5f62a964SEmmanuel Vadot			type = "critical";
18*5f62a964SEmmanuel Vadot		};
19*5f62a964SEmmanuel Vadot	};
20*5f62a964SEmmanuel Vadot};
21*5f62a964SEmmanuel Vadot
22*5f62a964SEmmanuel Vadotwkup1_thermal: wkup1-thermal {
23*5f62a964SEmmanuel Vadot	polling-delay-passive = <250>; /* milliseconds */
24*5f62a964SEmmanuel Vadot	polling-delay = <500>; /* milliseconds */
25*5f62a964SEmmanuel Vadot	thermal-sensors = <&wkup_vtm0 1>;
26*5f62a964SEmmanuel Vadot
27*5f62a964SEmmanuel Vadot	trips {
28*5f62a964SEmmanuel Vadot		wkup1_crit: wkup1-crit {
29*5f62a964SEmmanuel Vadot			temperature = <125000>; /* milliCelsius */
30*5f62a964SEmmanuel Vadot			hysteresis = <2000>; /* milliCelsius */
31*5f62a964SEmmanuel Vadot			type = "critical";
32*5f62a964SEmmanuel Vadot		};
33*5f62a964SEmmanuel Vadot	};
34*5f62a964SEmmanuel Vadot};
35*5f62a964SEmmanuel Vadot
36*5f62a964SEmmanuel Vadotmain0_thermal: main0-thermal {
37*5f62a964SEmmanuel Vadot	polling-delay-passive = <250>; /* milliseconds */
38*5f62a964SEmmanuel Vadot	polling-delay = <500>; /* milliseconds */
39*5f62a964SEmmanuel Vadot	thermal-sensors = <&wkup_vtm0 2>;
40*5f62a964SEmmanuel Vadot
41*5f62a964SEmmanuel Vadot	trips {
42*5f62a964SEmmanuel Vadot		main0_crit: main0-crit {
43*5f62a964SEmmanuel Vadot			temperature = <125000>; /* milliCelsius */
44*5f62a964SEmmanuel Vadot			hysteresis = <2000>; /* milliCelsius */
45*5f62a964SEmmanuel Vadot			type = "critical";
46*5f62a964SEmmanuel Vadot		};
47*5f62a964SEmmanuel Vadot	};
48*5f62a964SEmmanuel Vadot};
49*5f62a964SEmmanuel Vadot
50*5f62a964SEmmanuel Vadotmain1_thermal: main1-thermal {
51*5f62a964SEmmanuel Vadot	polling-delay-passive = <250>; /* milliseconds */
52*5f62a964SEmmanuel Vadot	polling-delay = <500>; /* milliseconds */
53*5f62a964SEmmanuel Vadot	thermal-sensors = <&wkup_vtm0 3>;
54*5f62a964SEmmanuel Vadot
55*5f62a964SEmmanuel Vadot	trips {
56*5f62a964SEmmanuel Vadot		main1_crit: main1-crit {
57*5f62a964SEmmanuel Vadot			temperature = <125000>; /* milliCelsius */
58*5f62a964SEmmanuel Vadot			hysteresis = <2000>; /* milliCelsius */
59*5f62a964SEmmanuel Vadot			type = "critical";
60*5f62a964SEmmanuel Vadot		};
61*5f62a964SEmmanuel Vadot	};
62*5f62a964SEmmanuel Vadot};
63*5f62a964SEmmanuel Vadot
64*5f62a964SEmmanuel Vadotmain2_thermal: main2-thermal {
65*5f62a964SEmmanuel Vadot	polling-delay-passive = <250>; /* milliseconds */
66*5f62a964SEmmanuel Vadot	polling-delay = <500>; /* milliseconds */
67*5f62a964SEmmanuel Vadot	thermal-sensors = <&wkup_vtm0 4>;
68*5f62a964SEmmanuel Vadot
69*5f62a964SEmmanuel Vadot	trips {
70*5f62a964SEmmanuel Vadot		main2_crit: main2-crit {
71*5f62a964SEmmanuel Vadot			temperature = <125000>; /* milliCelsius */
72*5f62a964SEmmanuel Vadot			hysteresis = <2000>; /* milliCelsius */
73*5f62a964SEmmanuel Vadot			type = "critical";
74*5f62a964SEmmanuel Vadot		};
75*5f62a964SEmmanuel Vadot	};
76*5f62a964SEmmanuel Vadot};
77*5f62a964SEmmanuel Vadot
78*5f62a964SEmmanuel Vadotmain3_thermal: main3-thermal {
79*5f62a964SEmmanuel Vadot	polling-delay-passive = <250>; /* milliseconds */
80*5f62a964SEmmanuel Vadot	polling-delay = <500>; /* milliseconds */
81*5f62a964SEmmanuel Vadot	thermal-sensors = <&wkup_vtm0 5>;
82*5f62a964SEmmanuel Vadot
83*5f62a964SEmmanuel Vadot	trips {
84*5f62a964SEmmanuel Vadot		main3_crit: main3-crit {
85*5f62a964SEmmanuel Vadot			temperature = <125000>; /* milliCelsius */
86*5f62a964SEmmanuel Vadot			hysteresis = <2000>; /* milliCelsius */
87*5f62a964SEmmanuel Vadot			type = "critical";
88*5f62a964SEmmanuel Vadot		};
89*5f62a964SEmmanuel Vadot	};
90*5f62a964SEmmanuel Vadot};
91*5f62a964SEmmanuel Vadot
92*5f62a964SEmmanuel Vadotmain4_thermal: main4-thermal {
93*5f62a964SEmmanuel Vadot	polling-delay-passive = <250>; /* milliseconds */
94*5f62a964SEmmanuel Vadot	polling-delay = <500>; /* milliseconds */
95*5f62a964SEmmanuel Vadot	thermal-sensors = <&wkup_vtm0 6>;
96*5f62a964SEmmanuel Vadot
97*5f62a964SEmmanuel Vadot	trips {
98*5f62a964SEmmanuel Vadot		main4_crit: main4-crit {
99*5f62a964SEmmanuel Vadot			temperature = <125000>; /* milliCelsius */
100*5f62a964SEmmanuel Vadot			hysteresis = <2000>; /* milliCelsius */
101*5f62a964SEmmanuel Vadot			type = "critical";
102*5f62a964SEmmanuel Vadot		};
103*5f62a964SEmmanuel Vadot	};
104*5f62a964SEmmanuel Vadot};
105