1*031c2952SKeerthy# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*031c2952SKeerthy%YAML 1.2 3*031c2952SKeerthy--- 4*031c2952SKeerthy$id: http://devicetree.org/schemas/thermal/ti,j72xx-thermal.yaml# 5*031c2952SKeerthy$schema: http://devicetree.org/meta-schemas/core.yaml# 6*031c2952SKeerthy 7*031c2952SKeerthytitle: Texas Instruments J72XX VTM (DTS) binding 8*031c2952SKeerthy 9*031c2952SKeerthymaintainers: 10*031c2952SKeerthy - Keerthy <j-keerthy@ti.com> 11*031c2952SKeerthy 12*031c2952SKeerthyproperties: 13*031c2952SKeerthy compatible: 14*031c2952SKeerthy enum: 15*031c2952SKeerthy - ti,j721e-vtm 16*031c2952SKeerthy - ti,j7200-vtm 17*031c2952SKeerthy 18*031c2952SKeerthy reg: 19*031c2952SKeerthy items: 20*031c2952SKeerthy - description: VTM cfg1 register space 21*031c2952SKeerthy - description: VTM cfg2 register space 22*031c2952SKeerthy - description: VTM efuse register space 23*031c2952SKeerthy 24*031c2952SKeerthy power-domains: 25*031c2952SKeerthy maxItems: 1 26*031c2952SKeerthy 27*031c2952SKeerthy "#thermal-sensor-cells": 28*031c2952SKeerthy const: 1 29*031c2952SKeerthy 30*031c2952SKeerthyrequired: 31*031c2952SKeerthy - compatible 32*031c2952SKeerthy - reg 33*031c2952SKeerthy - power-domains 34*031c2952SKeerthy - "#thermal-sensor-cells" 35*031c2952SKeerthy 36*031c2952SKeerthyadditionalProperties: false 37*031c2952SKeerthy 38*031c2952SKeerthyexamples: 39*031c2952SKeerthy - | 40*031c2952SKeerthy #include <dt-bindings/soc/ti,sci_pm_domain.h> 41*031c2952SKeerthy wkup_vtm0: thermal-sensor@42040000 { 42*031c2952SKeerthy compatible = "ti,j721e-vtm"; 43*031c2952SKeerthy reg = <0x42040000 0x350>, 44*031c2952SKeerthy <0x42050000 0x350>, 45*031c2952SKeerthy <0x43000300 0x10>; 46*031c2952SKeerthy power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; 47*031c2952SKeerthy #thermal-sensor-cells = <1>; 48*031c2952SKeerthy }; 49*031c2952SKeerthy 50*031c2952SKeerthy mpu_thermal: mpu-thermal { 51*031c2952SKeerthy polling-delay-passive = <250>; /* milliseconds */ 52*031c2952SKeerthy polling-delay = <500>; /* milliseconds */ 53*031c2952SKeerthy thermal-sensors = <&wkup_vtm0 0>; 54*031c2952SKeerthy 55*031c2952SKeerthy trips { 56*031c2952SKeerthy mpu_crit: mpu-crit { 57*031c2952SKeerthy temperature = <125000>; /* milliCelsius */ 58*031c2952SKeerthy hysteresis = <2000>; /* milliCelsius */ 59*031c2952SKeerthy type = "critical"; 60*031c2952SKeerthy }; 61*031c2952SKeerthy }; 62*031c2952SKeerthy }; 63*031c2952SKeerthy... 64