arm64: dts: imx8-apalis: add thermal nodes

Add the thermal-zones and cooling-maps nodes for the PMIC device.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Max Krummenacher
2025-10-27 10:30:08 +01:00
committed by Shawn Guo
parent 53948d7f54
commit a2c79d55bd
2 changed files with 37 additions and 3 deletions

View File

@@ -226,6 +226,34 @@
spdif-out;
};
thermal-zones {
pmic-thermal {
polling-delay-passive = <250>;
polling-delay = <2000>;
thermal-sensors = <&tsens IMX_SC_R_PMIC_0>;
cooling-maps {
cooling_maps_map0: map0 {
trip = <&pmic_alert0>;
};
};
trips {
pmic_alert0: trip0 {
hysteresis = <2000>;
temperature = <110000>;
type = "passive";
};
pmic_crit0: trip1 {
hysteresis = <2000>;
temperature = <125000>;
type = "critical";
};
};
};
};
touchscreen: touchscreen {
compatible = "toradex,vf50-touchscreen";
interrupt-parent = <&lsio_gpio3>;
@@ -833,8 +861,6 @@
status = "okay";
};
/* TODO: Thermal Zones */
/* TODO: Apalis USBH2, Apalis USBH3 and on-module Wi-Fi via on-module HSIC Hub */
/* Apalis USBH4 */

View File

@@ -11,4 +11,12 @@
model = "Toradex Apalis iMX8QM V1.1";
};
/* TODO: Cooling Maps */
&cooling_maps_map0 {
cooling-device =
<&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&A72_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&A72_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};