Commit 2896cb55 authored by Jon Mason's avatar Jon Mason Committed by Florian Fainelli

ARM: dts: NSP: Add Thermal Support

Add thermal support via the ns-thermal driver and create a single
thermal zone for the entire SoC.
Signed-off-by: default avatarJon Mason <jon.mason@broadcom.com>
Acked-by: default avatarEduardo Valentin <edubezval@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent f1494a85
...@@ -413,6 +413,12 @@ pinctrl: pinctrl@3f1c0 { ...@@ -413,6 +413,12 @@ pinctrl: pinctrl@3f1c0 {
<0x3f408 0x04>; <0x3f408 0x04>;
}; };
thermal: thermal@3f2c0 {
compatible = "brcm,ns-thermal";
reg = <0x3f2c0 0x10>;
#thermal-sensor-cells = <0>;
};
sata_phy: sata_phy@40100 { sata_phy: sata_phy@40100 {
compatible = "brcm,iproc-nsp-sata-phy"; compatible = "brcm,iproc-nsp-sata-phy";
reg = <0x40100 0x340>; reg = <0x40100 0x340>;
...@@ -563,4 +569,24 @@ msi2: msi-controller { ...@@ -563,4 +569,24 @@ msi2: msi-controller {
brcm,pcie-msi-inten; brcm,pcie-msi-inten;
}; };
}; };
thermal-zones {
cpu-thermal {
polling-delay-passive = <0>;
polling-delay = <1000>;
coefficients = <(-556) 418000>;
thermal-sensors = <&thermal>;
trips {
cpu-crit {
temperature = <125000>;
hysteresis = <0>;
type = "critical";
};
};
cooling-maps {
};
};
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment