[PATCH v2 17/23] arm64: dts: colibri-imx8x: Set thermal thresholds

From: Philippe Schenker
Date: Tue Mar 14 2023 - 06:26:02 EST


From: Philippe Schenker <philippe.schenker@xxxxxxxxxxx>

Set critical/alert thermal thresholds for all relevant SOC
temperature trips to the IT value (max T_junction 105 degree
Celsius) in accordance with the IT grade of the SOM.

Signed-off-by: Philippe Schenker <philippe.schenker@xxxxxxxxxxx>
---

(no changes since v1)

arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index 2e228c5b8109..1e41965e2d01 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -16,6 +16,18 @@ reg_module_3v3: regulator-module-3v3 {
};
};

+&cpu_alert0 {
+ hysteresis = <2000>;
+ temperature = <90000>;
+ type = "passive";
+};
+
+&cpu_crit0 {
+ hysteresis = <2000>;
+ temperature = <105000>;
+ type = "critical";
+};
+
/* On-module I2C */
&i2c0 {
#address-cells = <1>;
--
2.39.2