1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/ti,lm87.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments LM87 Hardware Monitor 8 9maintainers: 10 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 11 12description: | 13 The LM87 is a serial interface system hardware monitor 14 with remote diode temperature sensing. 15 16 Datasheets: 17 https://www.ti.com/product/LM87 18 19properties: 20 compatible: 21 const: ti,lm87 22 23 reg: 24 maxItems: 1 25 26 has-temp3: 27 $ref: /schemas/types.yaml#/definitions/flag 28 description: 29 This configures pins 18 and 19 to be used as a second 30 remote temperature sensing channel. By default the pins 31 are configured as voltage input pins in0 and in5. 32 33 has-in6: 34 $ref: /schemas/types.yaml#/definitions/flag 35 description: 36 When set, pin 5 is configured to be used as voltage input 37 in6. Otherwise the pin is set as FAN1 input. 38 39 has-in7: 40 $ref: /schemas/types.yaml#/definitions/flag 41 description: 42 When set, pin 6 is configured to be used as voltage input 43 in7. Otherwise the pin is set as FAN2 input. 44 45 vcc-supply: 46 description: 47 Regulator supplying power, can be configured to measure 48 5.0V power supply. Default is 3.3V. 49 50required: 51 - compatible 52 - reg 53 54additionalProperties: false 55 56examples: 57 - | 58 i2c { 59 #address-cells = <1>; 60 #size-cells = <0>; 61 62 hwmon@2e { 63 compatible = "ti,lm87"; 64 reg = <0x2e>; 65 has-temp3; 66 vcc-supply = <®_5v0>; 67 }; 68 }; 69