arm64: dts: imx8qxp: add pmic thermal zone
Add i.MX8QXP MEK board's PMIC thermal zone support. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
This commit is contained in:
parent
2b2bc09293
commit
c8290930f0
|
@ -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 {
|
&iomuxc {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_hog>;
|
pinctrl-0 = <&pinctrl_hog>;
|
||||||
|
|
|
@ -215,7 +215,7 @@
|
||||||
|
|
||||||
tsens: thermal-sensor {
|
tsens: thermal-sensor {
|
||||||
compatible = "fsl,imx8qxp-sc-thermal";
|
compatible = "fsl,imx8qxp-sc-thermal";
|
||||||
tsens-num = <1>;
|
tsens-num = <2>;
|
||||||
#thermal-sensor-cells = <1>;
|
#thermal-sensor-cells = <1>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue