arm64: dts: imx8-apalis: Set thermal thresholds
authorAndrejs Cainikovs <andrejs.cainikovs@toradex.com>
Tue, 3 Sep 2024 09:12:28 +0000 (11:12 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 15 Oct 2024 08:07:26 +0000 (16:07 +0800)
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: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi

index 160153853b686223d4afd3eaad396524091c34dc..e53683e49e03abd9773d8b2054fdb6aa0bd0351a 100644 (file)
 
 /* TODO: Asynchronous Sample Rate Converter (ASRC) */
 
+&cpu_alert0 {
+       temperature = <95000>;
+};
+
+&cpu_alert1 {
+       temperature = <95000>;
+};
+
+&cpu_crit0 {
+       temperature = <105000>;
+};
+
+&cpu_crit1 {
+       temperature = <105000>;
+};
+
+&drc_alert0 {
+       temperature = <95000>;
+};
+
+&drc_crit0 {
+       temperature = <105000>;
+};
+
 /* Apalis ETH1 */
 &fec1 {
        pinctrl-names = "default", "sleep";
 
 /* TODO: Apalis HDMI1 */
 
+&gpu_alert0 {
+       temperature = <95000>;
+};
+
+&gpu_alert1 {
+       temperature = <95000>;
+};
+
+&gpu_crit0 {
+       temperature = <105000>;
+};
+
+&gpu_crit1 {
+       temperature = <105000>;
+};
+
 /* On-module I2C */
 &i2c1 {
        pinctrl-names = "default";