Tom Rini | abb9a04 | 2024-05-18 20:20:43 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Nishanth Menon | ca012b9 | 2023-11-13 08:51:43 -0600 | [diff] [blame] | 2 | |
| 3 | #include <dt-bindings/thermal/thermal.h> |
| 4 | |
| 5 | thermal_zones: thermal-zones { |
| 6 | main0_thermal: main0-thermal { |
| 7 | polling-delay-passive = <250>; /* milliSeconds */ |
| 8 | polling-delay = <500>; /* milliSeconds */ |
| 9 | thermal-sensors = <&wkup_vtm0 0>; |
| 10 | |
| 11 | trips { |
| 12 | main0_crit: main0-crit { |
| 13 | temperature = <125000>; /* milliCelsius */ |
| 14 | hysteresis = <2000>; /* milliCelsius */ |
| 15 | type = "critical"; |
| 16 | }; |
| 17 | }; |
| 18 | }; |
| 19 | |
| 20 | main1_thermal: main1-thermal { |
| 21 | polling-delay-passive = <250>; /* milliSeconds */ |
| 22 | polling-delay = <500>; /* milliSeconds */ |
| 23 | thermal-sensors = <&wkup_vtm0 1>; |
| 24 | |
| 25 | trips { |
| 26 | main1_crit: main1-crit { |
| 27 | temperature = <125000>; /* milliCelsius */ |
| 28 | hysteresis = <2000>; /* milliCelsius */ |
| 29 | type = "critical"; |
| 30 | }; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | main2_thermal: main2-thermal { |
| 35 | polling-delay-passive = <250>; /* milliSeconds */ |
| 36 | polling-delay = <500>; /* milliSeconds */ |
| 37 | thermal-sensors = <&wkup_vtm0 2>; |
| 38 | |
| 39 | trips { |
| 40 | main2_crit: main2-crit { |
| 41 | temperature = <125000>; /* milliCelsius */ |
| 42 | hysteresis = <2000>; /* milliCelsius */ |
| 43 | type = "critical"; |
| 44 | }; |
| 45 | }; |
| 46 | }; |
| 47 | }; |