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