[PATCH v1 19/25] arm64: dts: colibri-imx8x: Set thermal thresholds
From: Philippe Schenker
Date: Wed Mar 08 2023 - 08:01:22 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>
---
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 f09a6aad6275..2f86a2eb4ff3 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";
+};
+
/* Colibri FastEthernet */
&fec1 {
pinctrl-names = "default", "sleep";
--
2.39.2