1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/thermal/ti, 4 $id: http://devicetree.org/schemas/thermal/ti,am654-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Texas Instruments AM654 VTM (DTS) 7 title: Texas Instruments AM654 VTM (DTS) 8 8 9 maintainers: 9 maintainers: 10 - Keerthy <j-keerthy@ti.com> 10 - Keerthy <j-keerthy@ti.com> 11 11 12 $ref: thermal-sensor.yaml# << 13 << 14 properties: 12 properties: 15 compatible: 13 compatible: 16 const: ti,am654-vtm 14 const: ti,am654-vtm 17 15 18 reg: 16 reg: 19 maxItems: 1 17 maxItems: 1 20 18 21 power-domains: 19 power-domains: 22 maxItems: 1 20 maxItems: 1 23 21 24 "#thermal-sensor-cells": 22 "#thermal-sensor-cells": 25 const: 1 23 const: 1 26 24 27 required: 25 required: 28 - compatible 26 - compatible 29 - reg 27 - reg 30 - power-domains 28 - power-domains >> 29 - "#thermal-sensor-cells" 31 30 32 unevaluatedProperties: false !! 31 additionalProperties: false 33 32 34 examples: 33 examples: 35 - | 34 - | 36 #include <dt-bindings/soc/ti,sci_pm_domain 35 #include <dt-bindings/soc/ti,sci_pm_domain.h> 37 vtm: thermal@42050000 { 36 vtm: thermal@42050000 { 38 compatible = "ti,am654-vtm"; 37 compatible = "ti,am654-vtm"; 39 reg = <0x42050000 0x25c>; 38 reg = <0x42050000 0x25c>; 40 power-domains = <&k3_pds 80 TI_SCI_PD_ 39 power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>; 41 #thermal-sensor-cells = <1>; 40 #thermal-sensor-cells = <1>; 42 }; 41 }; 43 42 44 mpu0_thermal: mpu0_thermal { 43 mpu0_thermal: mpu0_thermal { 45 polling-delay-passive = <250>; /* mill 44 polling-delay-passive = <250>; /* milliseconds */ 46 polling-delay = <500>; /* milliseconds 45 polling-delay = <500>; /* milliseconds */ 47 thermal-sensors = <&vtm0 0>; 46 thermal-sensors = <&vtm0 0>; 48 47 49 trips { 48 trips { 50 mpu0_crit: mpu0_crit { !! 49 mpu0_crit: mpu0_crit { 51 temperature = <125000>; /* mil !! 50 temperature = <125000>; /* milliCelsius */ 52 hysteresis = <2000>; /* milliC !! 51 hysteresis = <2000>; /* milliCelsius */ 53 type = "critical"; !! 52 type = "critical"; 54 }; !! 53 }; 55 }; 54 }; 56 }; 55 }; 57 ... 56 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.