arm64: dts: ls1028a: add one more thermal zone support
authorYuantian Tang <andy.tang@nxp.com>
Mon, 25 May 2020 07:38:27 +0000 (15:38 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 18 Jun 2020 14:33:23 +0000 (22:33 +0800)
There are 2 thermal zones in ls1028a soc. Current dts only
includes one. This patch adds the other thermal zone node
in dts to enable it.

Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 055f114cf848da6913ac5809f565efdb4d439001..bc6f0c0f85da849fa13587ca0aaf4122ed8a460a 100644 (file)
        };
 
        thermal-zones {
-               core-cluster {
+               ddr-controller {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 0>;
 
+                       trips {
+                               ddr-ctrler-alert {
+                                       temperature = <85000>;
+                                       hysteresis = <2000>;
+                                       type = "passive";
+                               };
+
+                               ddr-ctrler-crit {
+                                       temperature = <95000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
+                       };
+               };
+
+               core-cluster {
+                       polling-delay-passive = <1000>;
+                       polling-delay = <5000>;
+                       thermal-sensors = <&tmu 1>;
+
                        trips {
                                core_cluster_alert: core-cluster-alert {
                                        temperature = <85000>;