blob: ddf0f20e5285e453f6cd04b4943d6ac924d92004 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
Tom Rini53633a82024-02-29 12:33:36 -050037
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 };