xref: /linux/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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-bcm7216
22          - brcm,avs-tmon-bcm7445
23      - const: brcm,avs-tmon
24
25  reg:
26    maxItems: 1
27    description: >
28      Address range for the AVS TMON registers
29
30  interrupts:
31    maxItems: 1
32
33  interrupt-names:
34    items:
35      - const: tmon
36
37  "#thermal-sensor-cells":
38    const: 0
39
40additionalProperties: false
41
42required:
43  - compatible
44  - reg
45
46examples:
47  - |
48    thermal@f04d1500 {
49        compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon";
50        reg = <0xf04d1500 0x28>;
51        interrupts = <0x6>;
52        interrupt-names = "tmon";
53        interrupt-parent = <&avs_host_l2_intc>;
54        #thermal-sensor-cells = <0>;
55    };
56