xref: /linux/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-thermal.dtsi (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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	main0_thermal: main0-thermal {
10		polling-delay-passive = <250>;	/* milliSeconds */
11		polling-delay = <500>;		/* milliSeconds */
12		thermal-sensors = <&wkup_vtm0 0>;
13
14		trips {
15			main0_crit: main0-crit {
16				temperature = <125000>;	/* milliCelsius */
17				hysteresis = <2000>;	/* milliCelsius */
18				type = "critical";
19			};
20		};
21	};
22
23	main1_thermal: main1-thermal {
24		polling-delay-passive = <250>;	/* milliSeconds */
25		polling-delay = <500>;		/* milliSeconds */
26		thermal-sensors = <&wkup_vtm0 1>;
27
28		trips {
29			main1_crit: main1-crit {
30				temperature = <125000>;	/* milliCelsius */
31				hysteresis = <2000>;	/* milliCelsius */
32				type = "critical";
33			};
34		};
35	};
36
37	main2_thermal: main2-thermal {
38	       polling-delay-passive = <250>;	/* milliSeconds */
39	       polling-delay = <500>;		/* milliSeconds */
40	       thermal-sensors = <&wkup_vtm0 2>;
41
42		trips {
43			main2_crit: main2-crit {
44				temperature = <125000>;	/* milliCelsius */
45				hysteresis = <2000>;	/* milliCelsius */
46				type = "critical";
47			};
48		};
49	};
50};
51