xref: /freebsd/sys/contrib/device-tree/Bindings/thermal/st-thermal.txt (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1Binding for Thermal Sensor driver for STMicroelectronics STi series of SoCs.
2
3Required parameters:
4-------------------
5
6compatible : 	Should be "st,stih407-thermal"
7
8clock-names : 	Should be "thermal".
9		  See: Documentation/devicetree/bindings/resource-names.txt
10clocks : 	Phandle of the clock used by the thermal sensor.
11		  See: Documentation/devicetree/bindings/clock/clock-bindings.txt
12
13Optional parameters:
14-------------------
15
16reg : 		For non-sysconf based sensors, this should be the physical base
17		address and length of the sensor's registers.
18interrupts :	Standard way to define interrupt number.
19		  NB: For thermal sensor's for which no interrupt has been
20		  defined, a polling delay of 1000ms will be used to read the
21		  temperature from device.
22
23Example:
24
25	temp0@91a0000 {
26		compatible = "st,stih407-thermal";
27		reg = <0x91a0000 0x28>;
28		clock-names = "thermal";
29		clocks = <&CLK_SYSIN>;
30		interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
31		st,passive_cooling_temp = <110>;
32	};
33