1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2020 Analog Devices Inc.
5 $id: http://devicetree.org/schemas/iio/dac/adi,ad5770r.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Analog Devices AD5770R DAC device driver
11 - Mircea Caprioru <mircea.caprioru@analog.com>
14 Bindings for the Analog Devices AD5770R current DAC device. Datasheet can be
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5770R.pdf
28 AVdd voltage supply. Represents two different supplies in the datasheet
29 that are in fact the same.
33 Voltage supply for the chip interface.
36 description: Specify the voltage of the external reference used.
37 Available reference options are 1.25 V or 2.5 V. If no
38 external reference declared then the device will use the
39 internal reference of 1.25 V.
41 adi,external-resistor:
42 description: Specify if an external 2.5k ohm resistor is used. If not
43 specified the device will use an internal 2.5k ohm resistor.
44 The precision resistor is used for reference current generation.
48 description: GPIO spec for the RESET pin. If specified, it will be
49 asserted during driver probe.
52 spi-max-frequency: true
61 description: Represents an external channel which are
62 connected to the DAC. Channel 0 can act both as a current
68 description: This represents the channel number.
72 description: Output range of the channel.
85 description: Represents an external channel which are
91 description: This represents the channel number.
95 description: Output range of the channel.
98 - enum: [140000, 250000]
101 description: Represents an external channel which are
102 connected to the DAC.
107 description: This represents the channel number.
111 description: Output range of the channel.
114 - enum: [55000, 150000]
119 description: Represents the external channels which are connected to the DAC.
122 description: This represents the channel number.
127 description: Output range of the channel.
130 - enum: [45000, 100000]
141 additionalProperties: false
146 #address-cells = <1>;
150 compatible = "adi,ad5770r";
152 spi-max-frequency = <1000000>;
153 vref-supply = <&vref>;
154 adi,external-resistor;
155 reset-gpios = <&gpio 22 0>;
156 #address-cells = <1>;
161 adi,range-microamp = <0 300000>;
166 adi,range-microamp = <0 140000>;
171 adi,range-microamp = <0 55000>;
176 adi,range-microamp = <0 45000>;
181 adi,range-microamp = <0 45000>;
186 adi,range-microamp = <0 45000>;