1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8bab661aSEmmanuel Vadot%YAML 1.2
3*8bab661aSEmmanuel Vadot---
4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/addac/adi,ad74115.yaml#
5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8bab661aSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Analog Devices AD74115H device
8*8bab661aSEmmanuel Vadot
9*8bab661aSEmmanuel Vadotmaintainers:
10*8bab661aSEmmanuel Vadot  - Cosmin Tanislav <cosmin.tanislav@analog.com>
11*8bab661aSEmmanuel Vadot
12*8bab661aSEmmanuel Vadotdescription: |
13*8bab661aSEmmanuel Vadot  The AD74115H is a single-channel software configurable input/output
14*8bab661aSEmmanuel Vadot  device for industrial control applications. It contains functionality for
15*8bab661aSEmmanuel Vadot  analog output, analog input, digital output, digital input, resistance
16*8bab661aSEmmanuel Vadot  temperature detector, and thermocouple measurements integrated into a single
17*8bab661aSEmmanuel Vadot  chip solution with an SPI interface. The device features a 16-bit ADC and a
18*8bab661aSEmmanuel Vadot  14-bit DAC.
19*8bab661aSEmmanuel Vadot
20*8bab661aSEmmanuel Vadot    https://www.analog.com/en/products/ad74115h.html
21*8bab661aSEmmanuel Vadot
22*8bab661aSEmmanuel Vadotproperties:
23*8bab661aSEmmanuel Vadot  compatible:
24*8bab661aSEmmanuel Vadot    enum:
25*8bab661aSEmmanuel Vadot      - adi,ad74115h
26*8bab661aSEmmanuel Vadot
27*8bab661aSEmmanuel Vadot  reg:
28*8bab661aSEmmanuel Vadot    maxItems: 1
29*8bab661aSEmmanuel Vadot
30*8bab661aSEmmanuel Vadot  spi-max-frequency:
31*8bab661aSEmmanuel Vadot    maximum: 24000000
32*8bab661aSEmmanuel Vadot
33*8bab661aSEmmanuel Vadot  spi-cpol: true
34*8bab661aSEmmanuel Vadot
35*8bab661aSEmmanuel Vadot  reset-gpios: true
36*8bab661aSEmmanuel Vadot
37*8bab661aSEmmanuel Vadot  interrupts:
38*8bab661aSEmmanuel Vadot    minItems: 1
39*8bab661aSEmmanuel Vadot    maxItems: 2
40*8bab661aSEmmanuel Vadot
41*8bab661aSEmmanuel Vadot  interrupt-names:
42*8bab661aSEmmanuel Vadot    minItems: 1
43*8bab661aSEmmanuel Vadot    maxItems: 2
44*8bab661aSEmmanuel Vadot    items:
45*8bab661aSEmmanuel Vadot      enum:
46*8bab661aSEmmanuel Vadot        - adc_rdy
47*8bab661aSEmmanuel Vadot        - alert
48*8bab661aSEmmanuel Vadot
49*8bab661aSEmmanuel Vadot  avdd-supply: true
50*8bab661aSEmmanuel Vadot  avcc-supply: true
51*8bab661aSEmmanuel Vadot  dvcc-supply: true
52*8bab661aSEmmanuel Vadot  dovdd-supply: true
53*8bab661aSEmmanuel Vadot  refin-supply: true
54*8bab661aSEmmanuel Vadot
55*8bab661aSEmmanuel Vadot  adi,ch-func:
56*8bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
57*8bab661aSEmmanuel Vadot    description: |
58*8bab661aSEmmanuel Vadot      Channel function.
59*8bab661aSEmmanuel Vadot      0 - High impedance
60*8bab661aSEmmanuel Vadot      1 - Voltage output
61*8bab661aSEmmanuel Vadot      2 - Current output
62*8bab661aSEmmanuel Vadot      3 - Voltage input
63*8bab661aSEmmanuel Vadot      4 - Current input, externally-powered
64*8bab661aSEmmanuel Vadot      5 - Current input, loop-powered
65*8bab661aSEmmanuel Vadot      6 - Resistance input
66*8bab661aSEmmanuel Vadot      7 - RTD measure
67*8bab661aSEmmanuel Vadot      8 - Digital input logic
68*8bab661aSEmmanuel Vadot      9 - Digital input, loop-powered
69*8bab661aSEmmanuel Vadot      10 - Current output with HART
70*8bab661aSEmmanuel Vadot      11 - Current input, externally-powered, with HART
71*8bab661aSEmmanuel Vadot      12 - Current input, loop-powered, with HART
72*8bab661aSEmmanuel Vadot    minimum: 0
73*8bab661aSEmmanuel Vadot    maximum: 12
74*8bab661aSEmmanuel Vadot    default: 0
75*8bab661aSEmmanuel Vadot
76*8bab661aSEmmanuel Vadot  adi,conv2-mux:
77*8bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
78*8bab661aSEmmanuel Vadot    description: |
79*8bab661aSEmmanuel Vadot      Input node for ADC conversion 2.
80*8bab661aSEmmanuel Vadot      0 - SENSE_EXT1 to AGND_SENSE
81*8bab661aSEmmanuel Vadot      1 - SENSE_EXT2 to AGND_SENSE
82*8bab661aSEmmanuel Vadot      2 - SENSE_EXT2 to SENSE_EXT1
83*8bab661aSEmmanuel Vadot      3 - AGND to AGND
84*8bab661aSEmmanuel Vadot    minimum: 0
85*8bab661aSEmmanuel Vadot    maximum: 3
86*8bab661aSEmmanuel Vadot    default: 0
87*8bab661aSEmmanuel Vadot
88*8bab661aSEmmanuel Vadot  adi,conv2-range-microvolt:
89*8bab661aSEmmanuel Vadot    description: Conversion range for ADC conversion 2.
90*8bab661aSEmmanuel Vadot    oneOf:
91*8bab661aSEmmanuel Vadot      - items:
92*8bab661aSEmmanuel Vadot          - enum: [-2500000, 0]
93*8bab661aSEmmanuel Vadot          - const: 2500000
94*8bab661aSEmmanuel Vadot      - items:
95*8bab661aSEmmanuel Vadot          - enum: [-12000000, 0]
96*8bab661aSEmmanuel Vadot          - const: 12000000
97*8bab661aSEmmanuel Vadot      - items:
98*8bab661aSEmmanuel Vadot          - const: -2500000
99*8bab661aSEmmanuel Vadot          - const: 0
100*8bab661aSEmmanuel Vadot      - items:
101*8bab661aSEmmanuel Vadot          - const: -104000
102*8bab661aSEmmanuel Vadot          - const: 104000
103*8bab661aSEmmanuel Vadot      - items:
104*8bab661aSEmmanuel Vadot          - const: 0
105*8bab661aSEmmanuel Vadot          - const: 625000
106*8bab661aSEmmanuel Vadot
107*8bab661aSEmmanuel Vadot  adi,sense-agnd-buffer-low-power:
108*8bab661aSEmmanuel Vadot    type: boolean
109*8bab661aSEmmanuel Vadot    description:
110*8bab661aSEmmanuel Vadot      Whether to enable low-power buffered mode for the AGND sense pin.
111*8bab661aSEmmanuel Vadot
112*8bab661aSEmmanuel Vadot  adi,lf-buffer-low-power:
113*8bab661aSEmmanuel Vadot    type: boolean
114*8bab661aSEmmanuel Vadot    description:
115*8bab661aSEmmanuel Vadot      Whether to enable low-power buffered mode for the low-side filtered
116*8bab661aSEmmanuel Vadot      sense pin.
117*8bab661aSEmmanuel Vadot
118*8bab661aSEmmanuel Vadot  adi,hf-buffer-low-power:
119*8bab661aSEmmanuel Vadot    type: boolean
120*8bab661aSEmmanuel Vadot    description:
121*8bab661aSEmmanuel Vadot      Whether to enable low-power buffered mode for the high-side filtered
122*8bab661aSEmmanuel Vadot      sense pin.
123*8bab661aSEmmanuel Vadot
124*8bab661aSEmmanuel Vadot  adi,ext2-buffer-low-power:
125*8bab661aSEmmanuel Vadot    type: boolean
126*8bab661aSEmmanuel Vadot    description: Whether to enable low-power buffered mode for the EXT2 pin.
127*8bab661aSEmmanuel Vadot
128*8bab661aSEmmanuel Vadot  adi,ext1-buffer-low-power:
129*8bab661aSEmmanuel Vadot    type: boolean
130*8bab661aSEmmanuel Vadot    description: Whether to enable low-power buffered mode for the EXT1 pin.
131*8bab661aSEmmanuel Vadot
132*8bab661aSEmmanuel Vadot  adi,comparator-invert:
133*8bab661aSEmmanuel Vadot    type: boolean
134*8bab661aSEmmanuel Vadot    description: Whether to invert the comparator output.
135*8bab661aSEmmanuel Vadot
136*8bab661aSEmmanuel Vadot  adi,digital-input-sink-range-high:
137*8bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
138*8bab661aSEmmanuel Vadot    description: |
139*8bab661aSEmmanuel Vadot      When not present, the digital input range is from 0 to 3700uA in steps
140*8bab661aSEmmanuel Vadot      of 120uA, with a ~2k series resistance.
141*8bab661aSEmmanuel Vadot      When present, the digital input range is from 0 to 7400uA in steps
142*8bab661aSEmmanuel Vadot      of 240uA, with a ~1k series resistance.
143*8bab661aSEmmanuel Vadot
144*8bab661aSEmmanuel Vadot  adi,digital-input-sink-microamp:
145*8bab661aSEmmanuel Vadot    description: Sink current in digital input mode.
146*8bab661aSEmmanuel Vadot    minimum: 0
147*8bab661aSEmmanuel Vadot    maximum: 3700
148*8bab661aSEmmanuel Vadot    default: 0
149*8bab661aSEmmanuel Vadot
150*8bab661aSEmmanuel Vadot  adi,digital-input-debounce-mode-counter-reset:
151*8bab661aSEmmanuel Vadot    type: boolean
152*8bab661aSEmmanuel Vadot    description: |
153*8bab661aSEmmanuel Vadot      When not present, a counter increments when the signal is asserted
154*8bab661aSEmmanuel Vadot      and decrements when the signal is de-asserted.
155*8bab661aSEmmanuel Vadot      When present, a counter increments while the signal is asserted and
156*8bab661aSEmmanuel Vadot      resets when the signal de-asserts
157*8bab661aSEmmanuel Vadot
158*8bab661aSEmmanuel Vadot  adi,digital-input-unbuffered:
159*8bab661aSEmmanuel Vadot    type: boolean
160*8bab661aSEmmanuel Vadot    description: Whether to buffer digital input signals.
161*8bab661aSEmmanuel Vadot
162*8bab661aSEmmanuel Vadot  adi,digital-input-short-circuit-detection:
163*8bab661aSEmmanuel Vadot    type: boolean
164*8bab661aSEmmanuel Vadot    description: Whether to detect digital input short circuits.
165*8bab661aSEmmanuel Vadot
166*8bab661aSEmmanuel Vadot  adi,digital-input-open-circuit-detection:
167*8bab661aSEmmanuel Vadot    type: boolean
168*8bab661aSEmmanuel Vadot    description: Whether to detect digital input open circuits.
169*8bab661aSEmmanuel Vadot
170*8bab661aSEmmanuel Vadot  adi,digital-input-threshold-mode-fixed:
171*8bab661aSEmmanuel Vadot    type: boolean
172*8bab661aSEmmanuel Vadot    description: |
173*8bab661aSEmmanuel Vadot      When not present, the digital input threshold range is -0.96 * AVDD
174*8bab661aSEmmanuel Vadot      to AVDD.
175*8bab661aSEmmanuel Vadot      When present, the threshold range is fixed from -19V to 30V.
176*8bab661aSEmmanuel Vadot
177*8bab661aSEmmanuel Vadot  adi,dac-bipolar:
178*8bab661aSEmmanuel Vadot    type: boolean
179*8bab661aSEmmanuel Vadot    description: |
180*8bab661aSEmmanuel Vadot      When not present, the DAC operates in the 0V to 12V range.
181*8bab661aSEmmanuel Vadot      When present, the DAC operates in the -12V to 12V range.
182*8bab661aSEmmanuel Vadot
183*8bab661aSEmmanuel Vadot  adi,charge-pump:
184*8bab661aSEmmanuel Vadot    type: boolean
185*8bab661aSEmmanuel Vadot    description: Whether to enable the internal charge pump.
186*8bab661aSEmmanuel Vadot
187*8bab661aSEmmanuel Vadot  adi,dac-hart-slew:
188*8bab661aSEmmanuel Vadot    type: boolean
189*8bab661aSEmmanuel Vadot    description: Whether to use a HART-compatible slew rate.
190*8bab661aSEmmanuel Vadot
191*8bab661aSEmmanuel Vadot  adi,dac-current-limit-low:
192*8bab661aSEmmanuel Vadot    type: boolean
193*8bab661aSEmmanuel Vadot    description: |
194*8bab661aSEmmanuel Vadot      When not present, the DAC short-circuit current limit is 32mA in
195*8bab661aSEmmanuel Vadot      either source or sink for VOUT and 4mA sink for IOUT.
196*8bab661aSEmmanuel Vadot      When present, the limit is 16mA in either source or sink for VOUT,
197*8bab661aSEmmanuel Vadot      1mA sink for IOUT.
198*8bab661aSEmmanuel Vadot
199*8bab661aSEmmanuel Vadot  adi,4-wire-rtd:
200*8bab661aSEmmanuel Vadot    type: boolean
201*8bab661aSEmmanuel Vadot    description: |
202*8bab661aSEmmanuel Vadot      When not present, the ADC should be used for measuring 3-wire RTDs.
203*8bab661aSEmmanuel Vadot      When present, the ADC should be used for measuring 4-wire RTDs.
204*8bab661aSEmmanuel Vadot
205*8bab661aSEmmanuel Vadot  adi,3-wire-rtd-excitation-swap:
206*8bab661aSEmmanuel Vadot    type: boolean
207*8bab661aSEmmanuel Vadot    description: Whether to swap the excitation for 3-wire RTD.
208*8bab661aSEmmanuel Vadot
209*8bab661aSEmmanuel Vadot  adi,rtd-excitation-current-microamp:
210*8bab661aSEmmanuel Vadot    description: Excitation current to apply to RTD.
211*8bab661aSEmmanuel Vadot    enum: [250, 500, 750, 1000]
212*8bab661aSEmmanuel Vadot    default: 250
213*8bab661aSEmmanuel Vadot
214*8bab661aSEmmanuel Vadot  adi,ext1-burnout:
215*8bab661aSEmmanuel Vadot    type: boolean
216*8bab661aSEmmanuel Vadot    description: Whether to enable burnout current for EXT1.
217*8bab661aSEmmanuel Vadot
218*8bab661aSEmmanuel Vadot  adi,ext1-burnout-current-nanoamp:
219*8bab661aSEmmanuel Vadot    description:
220*8bab661aSEmmanuel Vadot      Burnout current in nanoamps to be applied to EXT1.
221*8bab661aSEmmanuel Vadot    enum: [0, 50, 500, 1000, 10000]
222*8bab661aSEmmanuel Vadot    default: 0
223*8bab661aSEmmanuel Vadot
224*8bab661aSEmmanuel Vadot  adi,ext1-burnout-current-polarity-sourcing:
225*8bab661aSEmmanuel Vadot    type: boolean
226*8bab661aSEmmanuel Vadot    description: |
227*8bab661aSEmmanuel Vadot      When not present, the burnout current polarity for EXT1 is sinking.
228*8bab661aSEmmanuel Vadot      When present, the burnout current polarity for EXT1 is sourcing.
229*8bab661aSEmmanuel Vadot
230*8bab661aSEmmanuel Vadot  adi,ext2-burnout:
231*8bab661aSEmmanuel Vadot    type: boolean
232*8bab661aSEmmanuel Vadot    description: Whether to enable burnout current for EXT2.
233*8bab661aSEmmanuel Vadot
234*8bab661aSEmmanuel Vadot  adi,ext2-burnout-current-nanoamp:
235*8bab661aSEmmanuel Vadot    description: Burnout current in nanoamps to be applied to EXT2.
236*8bab661aSEmmanuel Vadot    enum: [0, 50, 500, 1000, 10000]
237*8bab661aSEmmanuel Vadot    default: 0
238*8bab661aSEmmanuel Vadot
239*8bab661aSEmmanuel Vadot  adi,ext2-burnout-current-polarity-sourcing:
240*8bab661aSEmmanuel Vadot    type: boolean
241*8bab661aSEmmanuel Vadot    description: |
242*8bab661aSEmmanuel Vadot      When not present, the burnout current polarity for EXT2 is sinking.
243*8bab661aSEmmanuel Vadot      When present, the burnout current polarity for EXT2 is sourcing.
244*8bab661aSEmmanuel Vadot
245*8bab661aSEmmanuel Vadot  adi,viout-burnout:
246*8bab661aSEmmanuel Vadot    type: boolean
247*8bab661aSEmmanuel Vadot    description: Whether to enable burnout current for VIOUT.
248*8bab661aSEmmanuel Vadot
249*8bab661aSEmmanuel Vadot  adi,viout-burnout-current-nanoamp:
250*8bab661aSEmmanuel Vadot    description: Burnout current in nanoamps to be applied to VIOUT.
251*8bab661aSEmmanuel Vadot    enum: [0, 1000, 10000]
252*8bab661aSEmmanuel Vadot    default: 0
253*8bab661aSEmmanuel Vadot
254*8bab661aSEmmanuel Vadot  adi,viout-burnout-current-polarity-sourcing:
255*8bab661aSEmmanuel Vadot    type: boolean
256*8bab661aSEmmanuel Vadot    description: |
257*8bab661aSEmmanuel Vadot      When not present, the burnout current polarity for VIOUT is sinking.
258*8bab661aSEmmanuel Vadot      When present, the burnout current polarity for VIOUT is sourcing.
259*8bab661aSEmmanuel Vadot
260*8bab661aSEmmanuel Vadot  adi,gpio0-mode:
261*8bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
262*8bab661aSEmmanuel Vadot    description: |
263*8bab661aSEmmanuel Vadot      GPIO functions.
264*8bab661aSEmmanuel Vadot      0 - Disabled
265*8bab661aSEmmanuel Vadot      1 - Logic I/O
266*8bab661aSEmmanuel Vadot      2 - Comparator output
267*8bab661aSEmmanuel Vadot      3 - Control HART CD
268*8bab661aSEmmanuel Vadot      4 - Monitor HART CD
269*8bab661aSEmmanuel Vadot      5 - Monitor HART EOM status
270*8bab661aSEmmanuel Vadot    minimum: 0
271*8bab661aSEmmanuel Vadot    maximum: 5
272*8bab661aSEmmanuel Vadot    default: 0
273*8bab661aSEmmanuel Vadot
274*8bab661aSEmmanuel Vadot  adi,gpio1-mode:
275*8bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
276*8bab661aSEmmanuel Vadot    description: |
277*8bab661aSEmmanuel Vadot      GPIO functions.
278*8bab661aSEmmanuel Vadot      0 - Disabled
279*8bab661aSEmmanuel Vadot      1 - Logic I/O
280*8bab661aSEmmanuel Vadot      2 - Drive external digital output FET
281*8bab661aSEmmanuel Vadot      3 - Control HART RXD
282*8bab661aSEmmanuel Vadot      4 - Monitor HART RXD
283*8bab661aSEmmanuel Vadot      5 - Monitor HART SOM status
284*8bab661aSEmmanuel Vadot    minimum: 0
285*8bab661aSEmmanuel Vadot    maximum: 5
286*8bab661aSEmmanuel Vadot    default: 0
287*8bab661aSEmmanuel Vadot
288*8bab661aSEmmanuel Vadot  adi,gpio2-mode:
289*8bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
290*8bab661aSEmmanuel Vadot    description: |
291*8bab661aSEmmanuel Vadot      GPIO functions.
292*8bab661aSEmmanuel Vadot      0 - Disabled
293*8bab661aSEmmanuel Vadot      1 - Logic I/O
294*8bab661aSEmmanuel Vadot      2 - Drive internal digital output FET
295*8bab661aSEmmanuel Vadot      3 - Control HART TXD
296*8bab661aSEmmanuel Vadot      4 - Monitor HART TXD
297*8bab661aSEmmanuel Vadot      5 - Monitor HART TX complete status
298*8bab661aSEmmanuel Vadot    minimum: 0
299*8bab661aSEmmanuel Vadot    maximum: 5
300*8bab661aSEmmanuel Vadot    default: 0
301*8bab661aSEmmanuel Vadot
302*8bab661aSEmmanuel Vadot  adi,gpio3-mode:
303*8bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
304*8bab661aSEmmanuel Vadot    description: |
305*8bab661aSEmmanuel Vadot      GPIO functions.
306*8bab661aSEmmanuel Vadot      0 - Disabled
307*8bab661aSEmmanuel Vadot      1 - Logic I/O
308*8bab661aSEmmanuel Vadot      2 - High impedance
309*8bab661aSEmmanuel Vadot      3 - Control HART RTS
310*8bab661aSEmmanuel Vadot      4 - Monitor HART RTS
311*8bab661aSEmmanuel Vadot      5 - Monitor HART CD complete status
312*8bab661aSEmmanuel Vadot    minimum: 0
313*8bab661aSEmmanuel Vadot    maximum: 5
314*8bab661aSEmmanuel Vadot    default: 0
315*8bab661aSEmmanuel Vadot
316*8bab661aSEmmanuel Vadotrequired:
317*8bab661aSEmmanuel Vadot  - compatible
318*8bab661aSEmmanuel Vadot  - reg
319*8bab661aSEmmanuel Vadot  - spi-cpol
320*8bab661aSEmmanuel Vadot  - avdd-supply
321*8bab661aSEmmanuel Vadot
322*8bab661aSEmmanuel VadotallOf:
323*8bab661aSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
324*8bab661aSEmmanuel Vadot  - if:
325*8bab661aSEmmanuel Vadot      required:
326*8bab661aSEmmanuel Vadot        - adi,digital-input-sink-range-high
327*8bab661aSEmmanuel Vadot    then:
328*8bab661aSEmmanuel Vadot      properties:
329*8bab661aSEmmanuel Vadot        adi,digital-input-sink-microamp:
330*8bab661aSEmmanuel Vadot          maximum: 7400
331*8bab661aSEmmanuel Vadot
332*8bab661aSEmmanuel VadotunevaluatedProperties: false
333*8bab661aSEmmanuel Vadot
334*8bab661aSEmmanuel Vadotexamples:
335*8bab661aSEmmanuel Vadot  - |
336*8bab661aSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
337*8bab661aSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
338*8bab661aSEmmanuel Vadot
339*8bab661aSEmmanuel Vadot    spi {
340*8bab661aSEmmanuel Vadot      #address-cells = <1>;
341*8bab661aSEmmanuel Vadot      #size-cells = <0>;
342*8bab661aSEmmanuel Vadot
343*8bab661aSEmmanuel Vadot      addac@0 {
344*8bab661aSEmmanuel Vadot        compatible = "adi,ad74115h";
345*8bab661aSEmmanuel Vadot        reg = <0>;
346*8bab661aSEmmanuel Vadot
347*8bab661aSEmmanuel Vadot        spi-max-frequency = <12000000>;
348*8bab661aSEmmanuel Vadot        spi-cpol;
349*8bab661aSEmmanuel Vadot
350*8bab661aSEmmanuel Vadot        reset-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
351*8bab661aSEmmanuel Vadot
352*8bab661aSEmmanuel Vadot        interrupt-parent = <&gpio>;
353*8bab661aSEmmanuel Vadot        interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
354*8bab661aSEmmanuel Vadot        interrupt-names = "adc_rdy";
355*8bab661aSEmmanuel Vadot
356*8bab661aSEmmanuel Vadot        avdd-supply = <&ad74115_avdd>;
357*8bab661aSEmmanuel Vadot
358*8bab661aSEmmanuel Vadot        adi,ch-func = <1>;
359*8bab661aSEmmanuel Vadot        adi,conv2-mux = <2>;
360*8bab661aSEmmanuel Vadot        adi,conv2-range-microvolt = <(-12000000) 12000000>;
361*8bab661aSEmmanuel Vadot
362*8bab661aSEmmanuel Vadot        adi,gpio0-mode = <1>;
363*8bab661aSEmmanuel Vadot        adi,gpio1-mode = <1>;
364*8bab661aSEmmanuel Vadot        adi,gpio2-mode = <1>;
365*8bab661aSEmmanuel Vadot        adi,gpio3-mode = <1>;
366*8bab661aSEmmanuel Vadot
367*8bab661aSEmmanuel Vadot        adi,dac-bipolar;
368*8bab661aSEmmanuel Vadot      };
369*8bab661aSEmmanuel Vadot    };
370*8bab661aSEmmanuel Vadot...
371