[PATCH] arm: dts: imx8m{m,p}-verdin: use IT temperatures

Philippe Schenker dev at pschenker.ch
Wed Jun 22 17:43:31 CEST 2022


From: Philippe Schenker <philippe.schenker at toradex.com>

Use IT temperature threshold for critical/passive trip point
on Verdin iMX8M Plus and Mini.

Signed-off-by: Philippe Schenker <philippe.schenker at toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini at toradex.com>

---

 arch/arm/dts/imx8mm-verdin.dts | 8 ++++++++
 arch/arm/dts/imx8mp-verdin.dts | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/arch/arm/dts/imx8mm-verdin.dts b/arch/arm/dts/imx8mm-verdin.dts
index a2331627d7..bc6f0bfec8 100644
--- a/arch/arm/dts/imx8mm-verdin.dts
+++ b/arch/arm/dts/imx8mm-verdin.dts
@@ -101,6 +101,14 @@
 	assigned-clock-rates = <786432000>, <722534400>;
 };
 
+&cpu_alert0 {
+	temperature = <95000>;
+};
+
+&cpu_crit0 {
+	temperature = <105000>;
+};
+
 /* Verdin SPI_1 */
 &ecspi2 {
 	#address-cells = <1>;
diff --git a/arch/arm/dts/imx8mp-verdin.dts b/arch/arm/dts/imx8mp-verdin.dts
index bc8bf4dad5..b9c6b924e4 100644
--- a/arch/arm/dts/imx8mp-verdin.dts
+++ b/arch/arm/dts/imx8mp-verdin.dts
@@ -52,6 +52,14 @@
 	};
 };
 
+&cpu_alert0 {
+	temperature = <95000>;
+};
+
+&cpu_crit0 {
+	temperature = <105000>;
+};
+
 &eqos {
 	phy-handle = <&ethphy0>;
 	phy-mode = "rgmii-id";
-- 
2.36.1



More information about the U-Boot mailing list