xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/lm87.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1*LM87 hwmon sensor.
2
3Required properties:
4- compatible: Should be
5	"ti,lm87"
6
7- reg: I2C address
8
9optional properties:
10- has-temp3: This configures pins 18 and 19 to be used as a second
11             remote temperature sensing channel. By default the pins
12             are configured as voltage input pins in0 and in5.
13
14- has-in6: When set, pin 5 is configured to be used as voltage input
15           in6. Otherwise the pin is set as FAN1 input.
16
17- has-in7: When set, pin 6 is configured to be used as voltage input
18           in7. Otherwise the pin is set as FAN2 input.
19
20- vcc-supply: a Phandle for the regulator supplying power, can be
21              cofigured to measure 5.0V power supply. Default is 3.3V.
22
23Example:
24
25lm87@2e {
26	compatible = "ti,lm87";
27	reg = <0x2e>;
28	has-temp3;
29	vcc-supply = <&reg_5v0>;
30};
31