xref: /linux/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml (revision 3dc748754d68b5893307c3c68acfc67f76110ecf)
1*3dc74875SKeerthy# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*3dc74875SKeerthy%YAML 1.2
3*3dc74875SKeerthy---
4*3dc74875SKeerthy$id: http://devicetree.org/schemas/thermal/ti,am654-thermal.yaml#
5*3dc74875SKeerthy$schema: http://devicetree.org/meta-schemas/core.yaml#
6*3dc74875SKeerthy
7*3dc74875SKeerthytitle: Texas Instruments AM654 VTM (DTS) binding
8*3dc74875SKeerthy
9*3dc74875SKeerthymaintainers:
10*3dc74875SKeerthy  - Keerthy <j-keerthy@ti.com>
11*3dc74875SKeerthy
12*3dc74875SKeerthyproperties:
13*3dc74875SKeerthy  compatible:
14*3dc74875SKeerthy    const: ti,am654-vtm
15*3dc74875SKeerthy
16*3dc74875SKeerthy  reg:
17*3dc74875SKeerthy    maxItems: 1
18*3dc74875SKeerthy
19*3dc74875SKeerthy  power-domains:
20*3dc74875SKeerthy    maxItems: 1
21*3dc74875SKeerthy
22*3dc74875SKeerthy  "#thermal-sensor-cells":
23*3dc74875SKeerthy    const: 1
24*3dc74875SKeerthy
25*3dc74875SKeerthyrequired:
26*3dc74875SKeerthy  - compatible
27*3dc74875SKeerthy  - reg
28*3dc74875SKeerthy  - power-domains
29*3dc74875SKeerthy  - "#thermal-sensor-cells"
30*3dc74875SKeerthy
31*3dc74875SKeerthyadditionalProperties: false
32*3dc74875SKeerthy
33*3dc74875SKeerthyexamples:
34*3dc74875SKeerthy  - |
35*3dc74875SKeerthy    #include <dt-bindings/soc/ti,sci_pm_domain.h>
36*3dc74875SKeerthy    vtm: thermal@42050000 {
37*3dc74875SKeerthy        compatible = "ti,am654-vtm";
38*3dc74875SKeerthy        reg = <0x0 0x42050000 0x0 0x25c>;
39*3dc74875SKeerthy        power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
40*3dc74875SKeerthy        #thermal-sensor-cells = <1>;
41*3dc74875SKeerthy    };
42*3dc74875SKeerthy
43*3dc74875SKeerthy    mpu0_thermal: mpu0_thermal {
44*3dc74875SKeerthy        polling-delay-passive = <250>; /* milliseconds */
45*3dc74875SKeerthy        polling-delay = <500>; /* milliseconds */
46*3dc74875SKeerthy        thermal-sensors = <&vtm0 0>;
47*3dc74875SKeerthy
48*3dc74875SKeerthy        trips {
49*3dc74875SKeerthy                mpu0_crit: mpu0_crit {
50*3dc74875SKeerthy                        temperature = <125000>; /* milliCelsius */
51*3dc74875SKeerthy                        hysteresis = <2000>; /* milliCelsius */
52*3dc74875SKeerthy                        type = "critical";
53*3dc74875SKeerthy                };
54*3dc74875SKeerthy        };
55*3dc74875SKeerthy    };
56*3dc74875SKeerthy...
57