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

Philippe Schenker dev at pschenker.ch
Wed Jun 22 09:44:10 PDT 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/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 8 ++++++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
index eafa88d980b3..a819ed43e727 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
@@ -154,6 +154,14 @@ &A53_3 {
 	cpu-supply = <&reg_vdd_arm>;
 };
 
+&cpu_alert0 {
+	temperature = <95000>;
+};
+
+&cpu_crit0 {
+	temperature = <105000>;
+};
+
 &ddrc {
 	operating-points-v2 = <&ddrc_opp_table>;
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
index fb17e329cd37..7d8d8df569c5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
@@ -146,6 +146,14 @@ reserved-memory {
 	};
 };
 
+&cpu_alert0 {
+	temperature = <95000>;
+};
+
+&cpu_crit0 {
+	temperature = <105000>;
+};
+
 /* Verdin SPI_1 */
 &ecspi1 {
 	#address-cells = <1>;
-- 
2.36.1




More information about the linux-arm-kernel mailing list