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.
53 description: Represents an external channel which are
54 connected to the DAC. Channel 0 can act both as a current
60 description: This represents the channel number.
64 description: Output range of the channel.
77 description: Represents an external channel which are
83 description: This represents the channel number.
87 description: Output range of the channel.
90 - enum: [ 140000, 250000 ]
93 description: Represents an external channel which are
99 description: This represents the channel number.
103 description: Output range of the channel.
106 - enum: [ 55000, 150000 ]
111 description: Represents the external channels which are connected to the DAC.
114 description: This represents the channel number.
119 description: Output range of the channel.
122 - enum: [ 45000, 100000 ]
136 #address-cells = <1>;
140 compatible = "adi,ad5770r";
142 spi-max-frequency = <1000000>;
143 vref-supply = <&vref>;
144 adi,external-resistor;
145 reset-gpios = <&gpio 22 0>;
146 #address-cells = <1>;
151 adi,range-microamp = <0 300000>;
156 adi,range-microamp = <0 140000>;
161 adi,range-microamp = <0 55000>;
166 adi,range-microamp = <0 45000>;
171 adi,range-microamp = <0 45000>;
176 adi,range-microamp = <0 45000>;