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 enum: 22 - adi,adm1024 23 - ti,lm87 24 25 reg: 26 maxItems: 1 27 28 has-temp3: 29 $ref: /schemas/types.yaml#/definitions/flag 30 description: 31 This configures pins 18 and 19 to be used as a second 32 remote temperature sensing channel. By default the pins 33 are configured as voltage input pins in0 and in5. 34 35 has-in6: 36 $ref: /schemas/types.yaml#/definitions/flag 37 description: 38 When set, pin 5 is configured to be used as voltage input 39 in6. Otherwise the pin is set as FAN1 input. 40 41 has-in7: 42 $ref: /schemas/types.yaml#/definitions/flag 43 description: 44 When set, pin 6 is configured to be used as voltage input 45 in7. Otherwise the pin is set as FAN2 input. 46 47 vcc-supply: 48 description: 49 Regulator supplying power, can be configured to measure 50 5.0V power supply. Default is 3.3V. 51 52required: 53 - compatible 54 - reg 55 56additionalProperties: false 57 58examples: 59 - | 60 i2c { 61 #address-cells = <1>; 62 #size-cells = <0>; 63 64 hwmon@2e { 65 compatible = "ti,lm87"; 66 reg = <0x2e>; 67 has-temp3; 68 vcc-supply = <®_5v0>; 69 }; 70 }; 71