mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-05 00:15:29 +07:00
arm64: dts: marvell: add interrupt support to cp110 thermal node
Add interrupt properties in the thermal node as well as a critical trip point in the thermal-zone. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
parent
a3f3332f41
commit
47041b9780
@ -28,12 +28,19 @@ / {
|
||||
*/
|
||||
thermal-zones {
|
||||
CP110_LABEL(thermal_ic): CP110_NODE_NAME(thermal-ic) {
|
||||
polling-delay-passive = <1000>;
|
||||
polling-delay = <1000>;
|
||||
polling-delay-passive = <0>; /* Interrupt driven */
|
||||
polling-delay = <0>; /* Interrupt driven */
|
||||
|
||||
thermal-sensors = <&CP110_LABEL(thermal) 0>;
|
||||
|
||||
trips { };
|
||||
trips {
|
||||
CP110_LABEL(crit): crit {
|
||||
temperature = <100000>; /* mC degrees */
|
||||
hysteresis = <2000>; /* mC degrees */
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps { };
|
||||
};
|
||||
};
|
||||
@ -259,6 +266,8 @@ CP110_LABEL(syscon1): system-controller@400000 {
|
||||
CP110_LABEL(thermal): thermal-sensor@70 {
|
||||
compatible = "marvell,armada-cp110-thermal";
|
||||
reg = <0x70 0x10>;
|
||||
interrupts-extended =
|
||||
<&CP110_LABEL(icu_sei) 116 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user