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