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