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 | wkup0_thermal: wkup0-thermal { |
| 9 | polling-delay-passive = <250>; /* milliseconds */ |
| 10 | polling-delay = <500>; /* milliseconds */ |
| 11 | thermal-sensors = <&wkup_vtm0 0>; |
| 12 | |
| 13 | trips { |
| 14 | wkup0_crit: wkup0-crit { |
| 15 | temperature = <125000>; /* milliCelsius */ |
| 16 | hysteresis = <2000>; /* milliCelsius */ |
| 17 | type = "critical"; |
| 18 | }; |
| 19 | }; |
| 20 | }; |
| 21 | |
| 22 | wkup1_thermal: wkup1-thermal { |
| 23 | polling-delay-passive = <250>; /* milliseconds */ |
| 24 | polling-delay = <500>; /* milliseconds */ |
| 25 | thermal-sensors = <&wkup_vtm0 1>; |
| 26 | |
| 27 | trips { |
| 28 | wkup1_crit: wkup1-crit { |
| 29 | temperature = <125000>; /* milliCelsius */ |
| 30 | hysteresis = <2000>; /* milliCelsius */ |
| 31 | type = "critical"; |
| 32 | }; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | main0_thermal: main0-thermal { |
| 37 | polling-delay-passive = <250>; /* milliseconds */ |
| 38 | polling-delay = <500>; /* milliseconds */ |
| 39 | thermal-sensors = <&wkup_vtm0 2>; |
| 40 | |
| 41 | trips { |
| 42 | main0_crit: main0-crit { |
| 43 | temperature = <125000>; /* milliCelsius */ |
| 44 | hysteresis = <2000>; /* milliCelsius */ |
| 45 | type = "critical"; |
| 46 | }; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | main1_thermal: main1-thermal { |
| 51 | polling-delay-passive = <250>; /* milliseconds */ |
| 52 | polling-delay = <500>; /* milliseconds */ |
| 53 | thermal-sensors = <&wkup_vtm0 3>; |
| 54 | |
| 55 | trips { |
| 56 | main1_crit: main1-crit { |
| 57 | temperature = <125000>; /* milliCelsius */ |
| 58 | hysteresis = <2000>; /* milliCelsius */ |
| 59 | type = "critical"; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | main2_thermal: main2-thermal { |
| 65 | polling-delay-passive = <250>; /* milliseconds */ |
| 66 | polling-delay = <500>; /* milliseconds */ |
| 67 | thermal-sensors = <&wkup_vtm0 4>; |
| 68 | |
| 69 | trips { |
| 70 | main2_crit: main2-crit { |
| 71 | temperature = <125000>; /* milliCelsius */ |
| 72 | hysteresis = <2000>; /* milliCelsius */ |
| 73 | type = "critical"; |
| 74 | }; |
| 75 | }; |
| 76 | }; |
| 77 | |
| 78 | main3_thermal: main3-thermal { |
| 79 | polling-delay-passive = <250>; /* milliseconds */ |
| 80 | polling-delay = <500>; /* milliseconds */ |
| 81 | thermal-sensors = <&wkup_vtm0 5>; |
| 82 | |
| 83 | trips { |
| 84 | main3_crit: main3-crit { |
| 85 | temperature = <125000>; /* milliCelsius */ |
| 86 | hysteresis = <2000>; /* milliCelsius */ |
| 87 | type = "critical"; |
| 88 | }; |
| 89 | }; |
| 90 | }; |
| 91 | |
| 92 | main4_thermal: main4-thermal { |
| 93 | polling-delay-passive = <250>; /* milliseconds */ |
| 94 | polling-delay = <500>; /* milliseconds */ |
| 95 | thermal-sensors = <&wkup_vtm0 6>; |
| 96 | |
| 97 | trips { |
| 98 | main4_crit: main4-crit { |
| 99 | temperature = <125000>; /* milliCelsius */ |
| 100 | hysteresis = <2000>; /* milliCelsius */ |
| 101 | type = "critical"; |
| 102 | }; |
| 103 | }; |
| 104 | }; |