1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2 # Copyright 2019 Marcus Folkesson <marcus.folkesson@gmail.com>
5 $id: "http://devicetree.org/schemas/iio/adc/microchip,mcp3911.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Microchip MCP3911 Dual channel analog front end (ADC)
11 - Marcus Folkesson <marcus.folkesson@gmail.com>
12 - Kent Gustavsson <nedo80@gmail.com>
15 Bindings for the Microchip MCP3911 Dual channel ADC device. Datasheet can be
16 found here: https://ww1.microchip.com/downloads/en/DeviceDoc/20002286C.pdf
31 Phandle and clock identifier for external sampling clock.
32 If not specified, the internal crystal oscillator will be used.
36 description: IRQ line of the ADC
39 microchip,device-addr:
40 description: Device address when multiple MCP3911 chips are present on the same SPI bus.
41 $ref: /schemas/types.yaml#/definitions/uint32
47 Phandle to the external reference voltage supply.
48 If not specified, the internal voltage reference (1.2V) will be used.
54 additionalProperties: false
63 compatible = "microchip,mcp3911";
65 interrupt-parent = <&gpio5>;
67 spi-max-frequency = <20000000>;
68 microchip,device-addr = <0>;
69 vref-supply = <&vref_reg>;