1*8fb4e87cSKeerthy// SPDX-License-Identifier: GPL-2.0
2*8fb4e87cSKeerthy
3*8fb4e87cSKeerthy#include <dt-bindings/thermal/thermal.h>
4*8fb4e87cSKeerthy
5*8fb4e87cSKeerthythermal_zones: thermal-zones {
6*8fb4e87cSKeerthy	wkup_thermal: wkup-thermal {
7*8fb4e87cSKeerthy		polling-delay-passive = <250>; /* milliseconds */
8*8fb4e87cSKeerthy		polling-delay = <500>; /* milliseconds */
9*8fb4e87cSKeerthy		thermal-sensors = <&wkup_vtm0 0>;
10*8fb4e87cSKeerthy
11*8fb4e87cSKeerthy		trips {
12*8fb4e87cSKeerthy			wkup_crit: wkup-crit {
13*8fb4e87cSKeerthy				temperature = <125000>; /* milliCelsius */
14*8fb4e87cSKeerthy				hysteresis = <2000>; /* milliCelsius */
15*8fb4e87cSKeerthy				type = "critical";
16*8fb4e87cSKeerthy			};
17*8fb4e87cSKeerthy		};
18*8fb4e87cSKeerthy	};
19*8fb4e87cSKeerthy
20*8fb4e87cSKeerthy	mpu_thermal: mpu-thermal {
21*8fb4e87cSKeerthy		polling-delay-passive = <250>; /* milliseconds */
22*8fb4e87cSKeerthy		polling-delay = <500>; /* milliseconds */
23*8fb4e87cSKeerthy		thermal-sensors = <&wkup_vtm0 1>;
24*8fb4e87cSKeerthy
25*8fb4e87cSKeerthy		trips {
26*8fb4e87cSKeerthy			mpu_crit: mpu-crit {
27*8fb4e87cSKeerthy				temperature = <125000>; /* milliCelsius */
28*8fb4e87cSKeerthy				hysteresis = <2000>; /* milliCelsius */
29*8fb4e87cSKeerthy				type = "critical";
30*8fb4e87cSKeerthy			};
31*8fb4e87cSKeerthy		};
32*8fb4e87cSKeerthy	};
33*8fb4e87cSKeerthy
34*8fb4e87cSKeerthy	c7x_thermal: c7x-thermal {
35*8fb4e87cSKeerthy		polling-delay-passive = <250>; /* milliseconds */
36*8fb4e87cSKeerthy		polling-delay = <500>; /* milliseconds */
37*8fb4e87cSKeerthy		thermal-sensors = <&wkup_vtm0 2>;
38*8fb4e87cSKeerthy
39*8fb4e87cSKeerthy		trips {
40*8fb4e87cSKeerthy			c7x_crit: c7x-crit {
41*8fb4e87cSKeerthy				temperature = <125000>; /* milliCelsius */
42*8fb4e87cSKeerthy				hysteresis = <2000>; /* milliCelsius */
43*8fb4e87cSKeerthy				type = "critical";
44*8fb4e87cSKeerthy			};
45*8fb4e87cSKeerthy		};
46*8fb4e87cSKeerthy	};
47*8fb4e87cSKeerthy
48*8fb4e87cSKeerthy	gpu_thermal: gpu-thermal {
49*8fb4e87cSKeerthy		polling-delay-passive = <250>; /* milliseconds */
50*8fb4e87cSKeerthy		polling-delay = <500>; /* milliseconds */
51*8fb4e87cSKeerthy		thermal-sensors = <&wkup_vtm0 3>;
52*8fb4e87cSKeerthy
53*8fb4e87cSKeerthy		trips {
54*8fb4e87cSKeerthy			gpu_crit: gpu-crit {
55*8fb4e87cSKeerthy				temperature = <125000>; /* milliCelsius */
56*8fb4e87cSKeerthy				hysteresis = <2000>; /* milliCelsius */
57*8fb4e87cSKeerthy				type = "critical";
58*8fb4e87cSKeerthy			};
59*8fb4e87cSKeerthy		};
60*8fb4e87cSKeerthy	};
61*8fb4e87cSKeerthy
62*8fb4e87cSKeerthy	r5f_thermal: r5f-thermal {
63*8fb4e87cSKeerthy		polling-delay-passive = <250>; /* milliseconds */
64*8fb4e87cSKeerthy		polling-delay = <500>; /* milliseconds */
65*8fb4e87cSKeerthy		thermal-sensors = <&wkup_vtm0 4>;
66*8fb4e87cSKeerthy
67*8fb4e87cSKeerthy		trips {
68*8fb4e87cSKeerthy			r5f_crit: r5f-crit {
69*8fb4e87cSKeerthy				temperature = <125000>; /* milliCelsius */
70*8fb4e87cSKeerthy				hysteresis = <2000>; /* milliCelsius */
71*8fb4e87cSKeerthy				type = "critical";
72*8fb4e87cSKeerthy			};
73*8fb4e87cSKeerthy		};
74*8fb4e87cSKeerthy	};
75*8fb4e87cSKeerthy};
76