xref: /freebsd/sys/contrib/device-tree/Bindings/thermal/brcm,avs-tmon.yaml (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
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  - "#thermal-sensor-cells"
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