xref: /freebsd/sys/contrib/device-tree/Bindings/thermal/brcm,avs-ro-thermal.yaml (revision 833a452e9f082a7982a31c21f0da437dbbe0a39d)
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,avs-ro-thermal.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom AVS ring oscillator thermal
8
9maintainers:
10  - Stefan Wahren <wahrenst@gmx.net>
11
12description: |+
13  The thermal node should be the child of a syscon node with the
14  required property:
15
16  - compatible: Should be one of the following:
17                "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd"
18
19  Refer to the the bindings described in
20  Documentation/devicetree/bindings/mfd/syscon.yaml
21
22properties:
23  compatible:
24    const: brcm,bcm2711-thermal
25
26  # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
27  "#thermal-sensor-cells":
28    const: 0
29
30required:
31  - compatible
32  - '#thermal-sensor-cells'
33
34additionalProperties: false
35
36examples:
37  - |
38        avs-monitor@7d5d2000 {
39                compatible = "brcm,bcm2711-avs-monitor",
40                             "syscon", "simple-mfd";
41                reg = <0x7d5d2000 0xf00>;
42
43                thermal: thermal {
44                        compatible = "brcm,bcm2711-thermal";
45                        #thermal-sensor-cells = <0>;
46                };
47        };
48...
49