1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/thermal/brcm,ns-thermal.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom Northstar Thermal
8
9maintainers:
10  - Rafa�� Mi��ecki <rafal@milecki.pl>
11
12description:
13  Thermal sensor that is part of Northstar's DMU (Device Management Unit).
14
15allOf:
16  - $ref: thermal-sensor.yaml#
17
18properties:
19  compatible:
20    const: brcm,ns-thermal
21
22  reg:
23    description: PVTMON registers range
24    maxItems: 1
25
26  "#thermal-sensor-cells":
27    const: 0
28
29unevaluatedProperties: false
30
31required:
32  - reg
33
34examples:
35  - |
36    thermal: thermal@1800c2c0 {
37        compatible = "brcm,ns-thermal";
38        reg = <0x1800c2c0 0x10>;
39        #thermal-sensor-cells = <0>;
40    };
41
42    thermal-zones {
43        cpu-thermal {
44            polling-delay-passive = <0>;
45            polling-delay = <1000>;
46            coefficients = <(-556) 418000>;
47            thermal-sensors = <&thermal>;
48
49            trips {
50                cpu-crit {
51                    temperature = <125000>;
52                    hysteresis = <0>;
53                    type = "critical";
54                };
55            };
56
57            cooling-maps {
58            };
59        };
60    };
61