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 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_alert: main0-alert { 16 temperature = <95000>; 17 hysteresis = <2000>; 18 type = "passive"; 19 }; 20 21 main0_crit: main0-crit { 22 temperature = <105000>; /* milliCelsius */ 23 hysteresis = <2000>; /* milliCelsius */ 24 type = "critical"; 25 }; 26 }; 27 28 cooling-maps { 29 map0 { 30 trip = <&main0_alert>; 31 cooling-device = 32 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 33 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 34 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 35 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 36 }; 37 }; 38 }; 39 40 main1_thermal: main1-thermal { 41 polling-delay-passive = <250>; /* milliSeconds */ 42 polling-delay = <500>; /* milliSeconds */ 43 thermal-sensors = <&wkup_vtm0 1>; 44 45 trips { 46 main1_alert: main1-alert { 47 temperature = <95000>; 48 hysteresis = <2000>; 49 type = "passive"; 50 }; 51 52 main1_crit: main1-crit { 53 temperature = <105000>; /* milliCelsius */ 54 hysteresis = <2000>; /* milliCelsius */ 55 type = "critical"; 56 }; 57 }; 58 59 cooling-maps { 60 map0 { 61 trip = <&main1_alert>; 62 cooling-device = 63 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 64 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 65 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 66 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 67 }; 68 }; 69 }; 70 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.