xref: /linux/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml (revision 323a6134e7d0f146e7185167025c2b1c7993f5b2)
13dc74875SKeerthy# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
23dc74875SKeerthy%YAML 1.2
33dc74875SKeerthy---
43dc74875SKeerthy$id: http://devicetree.org/schemas/thermal/ti,am654-thermal.yaml#
53dc74875SKeerthy$schema: http://devicetree.org/meta-schemas/core.yaml#
63dc74875SKeerthy
784e85359SKrzysztof Kozlowskititle: Texas Instruments AM654 VTM (DTS)
83dc74875SKeerthy
93dc74875SKeerthymaintainers:
103dc74875SKeerthy  - Keerthy <j-keerthy@ti.com>
113dc74875SKeerthy
12*323a6134SKrzysztof Kozlowski$ref: thermal-sensor.yaml#
13*323a6134SKrzysztof Kozlowski
143dc74875SKeerthyproperties:
153dc74875SKeerthy  compatible:
163dc74875SKeerthy    const: ti,am654-vtm
173dc74875SKeerthy
183dc74875SKeerthy  reg:
193dc74875SKeerthy    maxItems: 1
203dc74875SKeerthy
213dc74875SKeerthy  power-domains:
223dc74875SKeerthy    maxItems: 1
233dc74875SKeerthy
243dc74875SKeerthy  "#thermal-sensor-cells":
253dc74875SKeerthy    const: 1
263dc74875SKeerthy
273dc74875SKeerthyrequired:
283dc74875SKeerthy  - compatible
293dc74875SKeerthy  - reg
303dc74875SKeerthy  - power-domains
313dc74875SKeerthy
32*323a6134SKrzysztof KozlowskiunevaluatedProperties: false
333dc74875SKeerthy
343dc74875SKeerthyexamples:
353dc74875SKeerthy  - |
363dc74875SKeerthy    #include <dt-bindings/soc/ti,sci_pm_domain.h>
373dc74875SKeerthy    vtm: thermal@42050000 {
383dc74875SKeerthy        compatible = "ti,am654-vtm";
3934140441SFabio Estevam        reg = <0x42050000 0x25c>;
403dc74875SKeerthy        power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
413dc74875SKeerthy        #thermal-sensor-cells = <1>;
423dc74875SKeerthy    };
433dc74875SKeerthy
443dc74875SKeerthy    mpu0_thermal: mpu0_thermal {
453dc74875SKeerthy        polling-delay-passive = <250>; /* milliseconds */
463dc74875SKeerthy        polling-delay = <500>; /* milliseconds */
473dc74875SKeerthy        thermal-sensors = <&vtm0 0>;
483dc74875SKeerthy
493dc74875SKeerthy        trips {
503dc74875SKeerthy                mpu0_crit: mpu0_crit {
513dc74875SKeerthy                        temperature = <125000>; /* milliCelsius */
523dc74875SKeerthy                        hysteresis = <2000>; /* milliCelsius */
533dc74875SKeerthy                        type = "critical";
543dc74875SKeerthy                };
553dc74875SKeerthy        };
563dc74875SKeerthy    };
573dc74875SKeerthy...
58