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,bcm2835-thermal.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom BCM2835 thermal sensor
8
9maintainers:
10  - Stefan Wahren <stefan.wahren@i2se.com>
11
12allOf:
13  - $ref: thermal-sensor.yaml#
14
15properties:
16  compatible:
17    enum:
18      - brcm,bcm2835-thermal
19      - brcm,bcm2836-thermal
20      - brcm,bcm2837-thermal
21
22  reg:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  "#thermal-sensor-cells":
29    const: 0
30
31unevaluatedProperties: false
32
33required:
34  - compatible
35  - reg
36  - clocks
37
38examples:
39  - |
40    #include <dt-bindings/clock/bcm2835.h>
41
42    thermal@7e212000 {
43      compatible = "brcm,bcm2835-thermal";
44      reg = <0x7e212000 0x8>;
45      clocks = <&clocks BCM2835_CLOCK_TSENS>;
46      #thermal-sensor-cells = <0>;
47    };
48