1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/thermal/st,stm32-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 digital thermal sensor (DTS) binding
10 - David Hernandez Sanchez <david.hernandezsanchez@st.com>
14 const: st,stm32-thermal
29 "#thermal-sensor-cells":
33 - "#thermal-sensor-cells"
40 additionalProperties: false
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
45 #include <dt-bindings/clock/stm32mp1-clks.h>
46 dts: thermal@50028000 {
47 compatible = "st,stm32-thermal";
48 reg = <0x50028000 0x100>;
49 clocks = <&rcc TMPSENS>;
51 #thermal-sensor-cells = <0>;
52 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
56 cpu_thermal: cpu-thermal {
57 polling-delay-passive = <0>;
60 thermal-sensors = <&dts>;
62 cpu_alert1: cpu-alert1 {
63 temperature = <85000>;
69 temperature = <120000>;