summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8qm.dtsi
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2019-10-31 14:01:14 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 16:08:55 +0800
commit38e057ea0642e34a1510bfce67cfa44202f86e2b (patch)
tree5fdc52f2bb0aecda6b0c80177edbdc3438fede23 /arch/arm64/boot/dts/freescale/imx8qm.dtsi
parent4f63a7faca87b1b08150bbaad483932da0c3a5e3 (diff)
arm64: dts: imx8qm: Add A72 cluster thermal zone
Add A72 cluster thermal zone support. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8qm.dtsi')
-rwxr-xr-xarch/arm64/boot/dts/freescale/imx8qm.dtsi28
1 files changed, 27 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
index d435042efc95..ab5abb64b446 100755
--- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
@@ -48,7 +48,7 @@
i2c1 = &i2c_rpbus_1;
};
- cpus {
+ cpus: cpus {
#address-cells = <2>;
#size-cells = <0>;
@@ -339,6 +339,32 @@
};
};
+ cpu-thermal1 {
+ polling-delay-passive = <250>;
+ polling-delay = <2000>;
+ thermal-sensors = <&tsens IMX_SC_R_A72>;
+ trips {
+ cpu_alert1: trip0 {
+ temperature = <107000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+ cpu_crit1: trip1 {
+ temperature = <127000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+ cooling-maps {
+ map0 {
+ trip = <&cpu_alert1>;
+ cooling-device =
+ <&A72_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A72_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+ };
+
gpu-thermal0 {
polling-delay-passive = <250>;
polling-delay = <2000>;