xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/lm90.txt (revision acb1f1269c6f4ff89a0d28ba742f6687e9ef779d)
1* LM90 series thermometer.
2
3Required node properties:
4- compatible: manufacturer and chip name, one of
5		"adi,adm1032"
6		"adi,adt7461"
7		"adi,adt7461a"
8		"gmt,g781"
9		"national,lm90"
10		"national,lm86"
11		"national,lm89"
12		"national,lm99"
13		"dallas,max6646"
14		"dallas,max6647"
15		"dallas,max6649"
16		"dallas,max6657"
17		"dallas,max6658"
18		"dallas,max6659"
19		"dallas,max6680"
20		"dallas,max6681"
21		"dallas,max6695"
22		"dallas,max6696"
23		"onnn,nct1008"
24		"winbond,w83l771"
25		"nxp,sa56004"
26		"ti,tmp451"
27
28- reg: I2C bus address of the device
29
30- vcc-supply: vcc regulator for the supply voltage.
31
32Optional properties:
33- interrupts: Contains a single interrupt specifier which describes the
34              LM90 "-ALERT" pin output.
35              See interrupt-controller/interrupts.txt for the format.
36
37- #thermal-sensor-cells: should be set to 1. See thermal/thermal-sensor.yaml
38	      for details. See <include/dt-bindings/thermal/lm90.h> for the
39	      definition of the local, remote and 2nd remote sensor index
40	      constants.
41
42Example LM90 node:
43
44temp-sensor {
45	compatible = "onnn,nct1008";
46	reg = <0x4c>;
47	vcc-supply = <&palmas_ldo6_reg>;
48	interrupt-parent = <&gpio>;
49	interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
50	#thermal-sensor-cells = <1>;
51}
52