1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/fsl,imx25-gcq.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale ADC GCQ device
10 This is a generic conversion queue device that can convert any of the
11 analog inputs using the ADC unit of the i.MX25.
14 - Jonathan Cameron <jic23@kernel.org>
28 The regulator supplying the ADC reference voltage.
29 Required when at least one subnode uses the this reference.
33 The regulator supplying the ADC reference voltage on pin XP.
34 Required when at least one subnode uses this reference.
38 The regulator supplying the ADC reference voltage on pin YP.
39 Required when at least one subnode uses this reference.
58 "[a-z][a-z0-9]+@[0-9a-f]+$":
61 Child nodes used to define the reference voltages used for each channel
66 Number of the analog input.
80 $ref: /schemas/types.yaml#/definitions/uint32
82 Specifies the positive reference input as defined in
83 <dt-bindings/iio/adc/fsl-imx25-gcq.h>
84 0: YP voltage reference
85 1: XP voltage reference
86 2: External voltage reference
87 3: Internal voltage reference (default)
92 $ref: /schemas/types.yaml#/definitions/uint32
94 Specifies the negative reference input as defined in
95 <dt-bindings/iio/adc/fsl-imx25-gcq.h>
96 0: XN ground reference
97 1: YN ground reference
98 2: Internal ground reference
99 3: External ground reference (default)
106 additionalProperties: false
108 additionalProperties: false
112 #include <dt-bindings/iio/adc/fsl-imx25-gcq.h>
114 #address-cells = <1>;
117 compatible = "fsl,imx25-gcq";
118 reg = <0x50030800 0x60>;
119 interrupt-parent = <&tscadc>;
121 #address-cells = <1>;
126 fsl,adc-refp = <MX25_ADC_REFP_INT>;
127 fsl,adc-refn = <MX25_ADC_REFN_NGND>;