1 Binding for Thermal Sensor for STMicroelectronics STM32 series of SoCs.
3 On STM32 SoCs, the Digital Temperature Sensor (DTS) is in charge of managing an
4 analog block which delivers a frequency depending on the internal SoC's
5 temperature. By using a reference frequency, DTS is able to provide a sample
6 number which can be translated into a temperature by the user.
8 DTS provides interrupt notification mechanism by threshold. This mechanism
9 offers two temperature trip points: passive and critical. The first is intended
10 for passive cooling notification while the second is used for over-temperature
16 compatible: Should be "st,stm32-thermal"
17 reg: This should be the physical base address and length of the
19 clocks: Phandle of the clock used by the thermal sensor.
20 See: Documentation/devicetree/bindings/clock/clock-bindings.txt
21 clock-names: Should be "pclk" for register access clock and reference clock.
22 See: Documentation/devicetree/bindings/resource-names.txt
23 #thermal-sensor-cells: Should be 0. See ./thermal.txt for a description.
24 interrupts: Standard way to define interrupt number.
29 cpu_thermal: cpu-thermal {
30 polling-delay-passive = <0>;
33 thermal-sensors = <&thermal>;
36 cpu_alert1: cpu-alert1 {
37 temperature = <85000>;
43 temperature = <120000>;
54 thermal: thermal@50028000 {
55 compatible = "st,stm32-thermal";
56 reg = <0x50028000 0x100>;
57 clocks = <&rcc TMPSENS>;
59 #thermal-sensor-cells = <0>;
60 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;