1 From e55d2c7272ff647efac4aecd895b20ee66e43519 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Fri, 14 Apr 2017 23:42:28 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Add CPU thermal sensor and zone
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 This uses CPU thermal sensor available on every Northstar chipset to
10 monitor temperature. We don't have any cooling or throttling so only a
11 critical trip was added.
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Acked-by: Jon Mason <jon.mason@broadcom.com>
15 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
17 arch/arm/boot/dts/bcm5301x.dtsi | 26 ++++++++++++++++++++++++++
18 1 file changed, 26 insertions(+)
20 --- a/arch/arm/boot/dts/bcm5301x.dtsi
21 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
26 + thermal: thermal@1800c2c0 {
27 + compatible = "brcm,ns-thermal";
28 + reg = <0x1800c2c0 0x10>;
29 + #thermal-sensor-cells = <0>;
33 compatible = "brcm,bcm5301x-srab";
34 reg = <0x18007000 0x1000>;
41 + cpu_thermal: cpu-thermal {
42 + polling-delay-passive = <0>;
43 + polling-delay = <1000>;
44 + coefficients = <(-556) 418000>;
45 + thermal-sensors = <&thermal>;
49 + temperature = <125000>;