summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-03-07 14:01:39 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:30:52 +0800
commit3b785774996e984f5db55d46a77266bd658ae55d (patch)
treeb830ebe0e2f8ab4e4721ee0b9cb91ea3905229ef /arch/arm64/boot/dts
parent05dfcbdc95dc9f7552f801e022ba9e8668603096 (diff)
MLK-17698-6 ARM64: dts: freescale: imx8qm: enable mek board pmic thermal zone
Enable i.MX8QM MEK board PMIC thermal zone. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts26
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi4
2 files changed, 27 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts
index 272259c24442..caaa2982d41b 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek.dts
@@ -1,5 +1,5 @@
/*
- * Copyright 2017 NXP
+ * Copyright 2017-2018 NXP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -1308,3 +1308,27 @@
pinctrl-0 = <&pinctrl_lvds1_pwm0>;
status = "okay";
};
+
+&tsens {
+ tsens-num = <6>;
+};
+
+&thermal_zones {
+ pmic-thermal0 {
+ polling-delay-passive = <250>;
+ polling-delay = <2000>;
+ thermal-sensors = <&tsens 5>;
+ trips {
+ pmic_alert0: trip0 {
+ temperature = <80000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+ pmic_crit0: trip1 {
+ temperature = <125000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+ };
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi
index 9c710a1b88f2..56bc23bab33f 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2016 Freescale Semiconductor, Inc.
- * Copyright 2017 NXP
+ * Copyright 2017-2018 NXP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -1118,7 +1118,7 @@
#thermal-sensor-cells = <1>;
};
- thermal-zones {
+ thermal_zones: thermal-zones {
/* cpu thermal */
cpu-thermal0 {
polling-delay-passive = <250>;