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 - Alexandru Tachici <alexandru.tachici@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.
59 description: Represents an external channel which are
60 connected to the DAC. Channel 0 can act both as a current
63 additionalProperties: false
67 description: This represents the channel number.
71 description: Output range of the channel.
84 description: Represents an external channel which are
87 additionalProperties: false
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.
104 additionalProperties: false
108 description: This represents the channel number.
112 description: Output range of the channel.
115 - enum: [55000, 150000]
120 additionalProperties: false
121 description: Represents the external channels which are connected to the DAC.
124 description: This represents the channel number.
129 description: Output range of the channel.
132 - enum: [45000, 100000]
144 - $ref: /schemas/spi/spi-peripheral-props.yaml#
146 unevaluatedProperties: false
151 #address-cells = <1>;
155 compatible = "adi,ad5770r";
157 spi-max-frequency = <1000000>;
158 vref-supply = <&vref>;
159 adi,external-resistor;
160 reset-gpios = <&gpio 22 0>;
161 #address-cells = <1>;
166 adi,range-microamp = <0 300000>;
171 adi,range-microamp = <0 140000>;
176 adi,range-microamp = <0 55000>;
181 adi,range-microamp = <0 45000>;
186 adi,range-microamp = <0 45000>;
191 adi,range-microamp = <0 45000>;