From c8290930f0bd391de2bdd0f46ed6dde73a23f3eb Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Fri, 24 May 2019 18:59:51 +0800 Subject: arm64: dts: imx8qxp: add pmic thermal zone Add i.MX8QXP MEK board's PMIC thermal zone support. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/imx8qxp-mek.dts') diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index ea6a47f6980c..aad6cb951855 100755 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -736,6 +736,33 @@ }; }; +&thermal_zones { + pmic-thermal0 { + polling-delay-passive = <250>; + polling-delay = <2000>; + thermal-sensors = <&tsens 497>; + trips { + pmic_alert0: trip0 { + temperature = <110000>; + hysteresis = <2000>; + type = "passive"; + }; + pmic_crit0: trip1 { + temperature = <125000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + cooling-maps { + map0 { + trip = <&pmic_alert0>; + cooling-device = + <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; +}; + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; -- cgit v1.2.3