blob: c123d907052542f22f050216049d04a5979a7ab0 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/thermal/ti,am654-thermal.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments AM654 VTM (DTS)
8
9maintainers:
10 - Keerthy <j-keerthy@ti.com>
11
Tom Rini6b642ac2024-10-01 12:20:28 -060012$ref: thermal-sensor.yaml#
13
Tom Rini53633a82024-02-29 12:33:36 -050014properties:
15 compatible:
16 const: ti,am654-vtm
17
18 reg:
19 maxItems: 1
20
21 power-domains:
22 maxItems: 1
23
24 "#thermal-sensor-cells":
25 const: 1
26
27required:
28 - compatible
29 - reg
30 - power-domains
Tom Rini53633a82024-02-29 12:33:36 -050031
Tom Rini6b642ac2024-10-01 12:20:28 -060032unevaluatedProperties: false
Tom Rini53633a82024-02-29 12:33:36 -050033
34examples:
35 - |
36 #include <dt-bindings/soc/ti,sci_pm_domain.h>
37 vtm: thermal@42050000 {
38 compatible = "ti,am654-vtm";
39 reg = <0x42050000 0x25c>;
40 power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
41 #thermal-sensor-cells = <1>;
42 };
43
44 mpu0_thermal: mpu0_thermal {
45 polling-delay-passive = <250>; /* milliseconds */
46 polling-delay = <500>; /* milliseconds */
47 thermal-sensors = <&vtm0 0>;
48
49 trips {
Tom Rini6b642ac2024-10-01 12:20:28 -060050 mpu0_crit: mpu0_crit {
51 temperature = <125000>; /* milliCelsius */
52 hysteresis = <2000>; /* milliCelsius */
53 type = "critical";
54 };
Tom Rini53633a82024-02-29 12:33:36 -050055 };
56 };
57...