arm64: dts: fsl: librem5: Add multiple TMU sensors

There are 3 TMU ( Thermal management unit ) sensors on the board.
Add the the GPU and VPU nodes.
Signed-off-by: 's avatarAngus Ainslie (Purism) <angus@akkea.ca>
parent 686ddd02
......@@ -102,6 +102,7 @@
enable-method = "psci";
next-level-cache = <&A53_L2>;
operating-points-v2 = <&a53_0_opp_table>;
#cooling-cells = <2>;
};
A53_2: cpu@2 {
......@@ -113,6 +114,7 @@
enable-method = "psci";
next-level-cache = <&A53_L2>;
operating-points-v2 = <&a53_0_opp_table>;
#cooling-cells = <2>;
};
A53_3: cpu@3 {
......@@ -124,6 +126,7 @@
enable-method = "psci";
next-level-cache = <&A53_L2>;
operating-points-v2 = <&a53_0_opp_table>;
#cooling-cells = <2>;
};
A53_L2: l2-cache0 {
......@@ -321,23 +324,23 @@
0x00030005 0x00000053
0x00030006 0x0000005f
0x00030007 0x00000071>;
#thermal-sensor-cells = <0>;
#thermal-sensor-cells = <1>;
};
thermal-zones {
cpu-thermal {
polling-delay-passive = <250>;
polling-delay = <2000>;
thermal-sensors = <&tmu>;
thermal-sensors = <&tmu 0>;
trips {
cpu_alert0: trip0 {
cpu_alert: trip0 {
temperature = <85000>;
hysteresis = <2000>;
type = "passive";
};
cpu_crit0: trip1 {
cpu_crit: trip1 {
temperature = <95000>;
hysteresis = <2000>;
type = "critical";
......@@ -346,8 +349,40 @@
cooling-maps {
map0 {
trip = <&cpu_alert0>;
cooling-device = <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
trip = <&cpu_alert>;
cooling-device =
<&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
gpu-thermal {
polling-delay-passive = <250>;
polling-delay = <2000>;
thermal-sensors = <&tmu 1>;
trips {
cpu-crit {
temperature = <95000>;
hysteresis = <2000>;
type = "critical";
};
};
};
vpu-thermal {
polling-delay-passive = <250>;
polling-delay = <2000>;
thermal-sensors = <&tmu 2>;
trips {
cpu-crit {
temperature = <95000>;
hysteresis = <2000>;
type = "critical";
};
};
};
......
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