Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only OR MIT |
| 2 | /* |
| 3 | * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | */ |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 5 | |
| 6 | #include <dt-bindings/thermal/thermal.h> |
| 7 | |
| 8 | thermal_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 | }; |