Commit c147caa6 authored by Yuantian Tang's avatar Yuantian Tang Committed by Shawn Guo

arm64: dts: ls1043a: add more thermal zone support

There are 5 thermal zones in ls1043a soc. Add the
rest thermal zone nodes to enable them.
Signed-off-by: default avatarYuantian Tang <andy.tang@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 160e7d8e
...@@ -150,19 +150,79 @@ reboot { ...@@ -150,19 +150,79 @@ reboot {
}; };
thermal-zones { thermal-zones {
cpu_thermal: cpu-thermal { ddr-controller {
polling-delay-passive = <1000>; polling-delay-passive = <1000>;
polling-delay = <5000>; 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";
};
};
};
serdes {
polling-delay-passive = <1000>;
polling-delay = <5000>;
thermal-sensors = <&tmu 1>;
trips {
serdes-alert {
temperature = <85000>;
hysteresis = <2000>;
type = "passive";
};
serdes-crit {
temperature = <95000>;
hysteresis = <2000>;
type = "critical";
};
};
};
fman {
polling-delay-passive = <1000>;
polling-delay = <5000>;
thermal-sensors = <&tmu 2>;
trips {
fman-alert {
temperature = <85000>;
hysteresis = <2000>;
type = "passive";
};
fman-crit {
temperature = <95000>;
hysteresis = <2000>;
type = "critical";
};
};
};
core-cluster {
polling-delay-passive = <1000>;
polling-delay = <5000>;
thermal-sensors = <&tmu 3>; thermal-sensors = <&tmu 3>;
trips { trips {
cpu_alert: cpu-alert { core_cluster_alert: core-cluster-alert {
temperature = <85000>; temperature = <85000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "passive"; type = "passive";
}; };
cpu_crit: cpu-crit {
core_cluster_crit: core-cluster-crit {
temperature = <95000>; temperature = <95000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "critical"; type = "critical";
...@@ -171,7 +231,7 @@ cpu_crit: cpu-crit { ...@@ -171,7 +231,7 @@ cpu_crit: cpu-crit {
cooling-maps { cooling-maps {
map0 { map0 {
trip = <&cpu_alert>; trip = <&core_cluster_alert>;
cooling-device = cooling-device =
<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
...@@ -180,6 +240,26 @@ map0 { ...@@ -180,6 +240,26 @@ map0 {
}; };
}; };
}; };
sec {
polling-delay-passive = <1000>;
polling-delay = <5000>;
thermal-sensors = <&tmu 4>;
trips {
sec-alert {
temperature = <85000>;
hysteresis = <2000>;
type = "passive";
};
sec-crit {
temperature = <95000>;
hysteresis = <2000>;
type = "critical";
};
};
};
}; };
timer { timer {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment