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