xref: /freebsd/sys/contrib/device-tree/Bindings/thermal/brcm,bcm2835-thermal.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*f126890aSEmmanuel Vadot%YAML 1.2
3*f126890aSEmmanuel Vadot---
4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/thermal/brcm,bcm2835-thermal.yaml#
5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadottitle: Broadcom BCM2835 thermal sensor
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadotmaintainers:
10*f126890aSEmmanuel Vadot  - Stefan Wahren <stefan.wahren@i2se.com>
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel VadotallOf:
13*f126890aSEmmanuel Vadot  - $ref: thermal-sensor.yaml#
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadotproperties:
16*f126890aSEmmanuel Vadot  compatible:
17*f126890aSEmmanuel Vadot    enum:
18*f126890aSEmmanuel Vadot      - brcm,bcm2835-thermal
19*f126890aSEmmanuel Vadot      - brcm,bcm2836-thermal
20*f126890aSEmmanuel Vadot      - brcm,bcm2837-thermal
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot  reg:
23*f126890aSEmmanuel Vadot    maxItems: 1
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot  clocks:
26*f126890aSEmmanuel Vadot    maxItems: 1
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot  "#thermal-sensor-cells":
29*f126890aSEmmanuel Vadot    const: 0
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel VadotunevaluatedProperties: false
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadotrequired:
34*f126890aSEmmanuel Vadot  - compatible
35*f126890aSEmmanuel Vadot  - reg
36*f126890aSEmmanuel Vadot  - clocks
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadotexamples:
39*f126890aSEmmanuel Vadot  - |
40*f126890aSEmmanuel Vadot    #include <dt-bindings/clock/bcm2835.h>
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot    thermal@7e212000 {
43*f126890aSEmmanuel Vadot      compatible = "brcm,bcm2835-thermal";
44*f126890aSEmmanuel Vadot      reg = <0x7e212000 0x8>;
45*f126890aSEmmanuel Vadot      clocks = <&clocks BCM2835_CLOCK_TSENS>;
46*f126890aSEmmanuel Vadot      #thermal-sensor-cells = <0>;
47*f126890aSEmmanuel Vadot    };
48