70 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---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 Monitor9 10maintainers:11 - Javier Carrasco <javier.carrasco.cruz@gmail.com>12 13description: |14 The LM87 is a serial interface system hardware monitor15 with remote diode temperature sensing.16 17 Datasheets:18 https://www.ti.com/product/LM8719 20properties:21 compatible:22 const: ti,lm8723 24 reg:25 maxItems: 126 27 has-temp3:28 $ref: /schemas/types.yaml#/definitions/flag29 description:30 This configures pins 18 and 19 to be used as a second31 remote temperature sensing channel. By default the pins32 are configured as voltage input pins in0 and in5.33 34 has-in6:35 $ref: /schemas/types.yaml#/definitions/flag36 description:37 When set, pin 5 is configured to be used as voltage input38 in6. Otherwise the pin is set as FAN1 input.39 40 has-in7:41 $ref: /schemas/types.yaml#/definitions/flag42 description:43 When set, pin 6 is configured to be used as voltage input44 in7. Otherwise the pin is set as FAN2 input.45 46 vcc-supply:47 description:48 Regulator supplying power, can be configured to measure49 5.0V power supply. Default is 3.3V.50 51required:52 - compatible53 - reg54 55additionalProperties: false56 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