58 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 12$ref: thermal-sensor.yaml#13 14properties:15 compatible:16 const: ti,am654-vtm17 18 reg:19 maxItems: 120 21 power-domains:22 maxItems: 123 24 "#thermal-sensor-cells":25 const: 126 27required:28 - compatible29 - reg30 - power-domains31 32unevaluatedProperties: false33 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 {50 mpu0_crit: mpu0_crit {51 temperature = <125000>; /* milliCelsius */52 hysteresis = <2000>; /* milliCelsius */53 type = "critical";54 };55 };56 };57...58