xref: /linux/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml (revision 84e85359f4999a439aa12e04bf0ae9e13e00fc66)
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
7*84e85359SKrzysztof Kozlowskititle: Texas Instruments AM654 VTM (DTS)
83dc74875SKeerthy
93dc74875SKeerthymaintainers:
103dc74875SKeerthy  - Keerthy <j-keerthy@ti.com>
113dc74875SKeerthy
123dc74875SKeerthyproperties:
133dc74875SKeerthy  compatible:
143dc74875SKeerthy    const: ti,am654-vtm
153dc74875SKeerthy
163dc74875SKeerthy  reg:
173dc74875SKeerthy    maxItems: 1
183dc74875SKeerthy
193dc74875SKeerthy  power-domains:
203dc74875SKeerthy    maxItems: 1
213dc74875SKeerthy
223dc74875SKeerthy  "#thermal-sensor-cells":
233dc74875SKeerthy    const: 1
243dc74875SKeerthy
253dc74875SKeerthyrequired:
263dc74875SKeerthy  - compatible
273dc74875SKeerthy  - reg
283dc74875SKeerthy  - power-domains
293dc74875SKeerthy  - "#thermal-sensor-cells"
303dc74875SKeerthy
313dc74875SKeerthyadditionalProperties: false
323dc74875SKeerthy
333dc74875SKeerthyexamples:
343dc74875SKeerthy  - |
353dc74875SKeerthy    #include <dt-bindings/soc/ti,sci_pm_domain.h>
363dc74875SKeerthy    vtm: thermal@42050000 {
373dc74875SKeerthy        compatible = "ti,am654-vtm";
3834140441SFabio Estevam        reg = <0x42050000 0x25c>;
393dc74875SKeerthy        power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
403dc74875SKeerthy        #thermal-sensor-cells = <1>;
413dc74875SKeerthy    };
423dc74875SKeerthy
433dc74875SKeerthy    mpu0_thermal: mpu0_thermal {
443dc74875SKeerthy        polling-delay-passive = <250>; /* milliseconds */
453dc74875SKeerthy        polling-delay = <500>; /* milliseconds */
463dc74875SKeerthy        thermal-sensors = <&vtm0 0>;
473dc74875SKeerthy
483dc74875SKeerthy        trips {
493dc74875SKeerthy                mpu0_crit: mpu0_crit {
503dc74875SKeerthy                        temperature = <125000>; /* milliCelsius */
513dc74875SKeerthy                        hysteresis = <2000>; /* milliCelsius */
523dc74875SKeerthy                        type = "critical";
533dc74875SKeerthy                };
543dc74875SKeerthy        };
553dc74875SKeerthy    };
563dc74875SKeerthy...
57