xref: /freebsd/sys/contrib/device-tree/Bindings/thermal/brcm,avs-tmon.yaml (revision 9978553d0199e7ec0bdd1c44fc7f6c7b0c11e43b)
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-tmon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom STB thermal management
8
9description: Thermal management core, provided by the AVS TMON hardware block.
10
11maintainers:
12  - Florian Fainelli <f.fainelli@gmail.com>
13
14allOf:
15  - $ref: thermal-sensor.yaml#
16
17properties:
18  compatible:
19    items:
20      - enum:
21          - brcm,avs-tmon-bcm74110
22          - brcm,avs-tmon-bcm7216
23          - brcm,avs-tmon-bcm7445
24      - const: brcm,avs-tmon
25
26  reg:
27    maxItems: 1
28    description: >
29      Address range for the AVS TMON registers
30
31  interrupts:
32    maxItems: 1
33
34  interrupt-names:
35    items:
36      - const: tmon
37
38  "#thermal-sensor-cells":
39    const: 0
40
41additionalProperties: false
42
43required:
44  - compatible
45  - reg
46
47examples:
48  - |
49    thermal@f04d1500 {
50        compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon";
51        reg = <0xf04d1500 0x28>;
52        interrupts = <0x6>;
53        interrupt-names = "tmon";
54        interrupt-parent = <&avs_host_l2_intc>;
55        #thermal-sensor-cells = <0>;
56    };
57