1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/fsl,vf610-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC found on Freescale vf610 and similar SoCs
10 - Fugang Duan <fugang.duan@nxp.com>
13 ADCs found on vf610/i.MX6slx and upward SoCs from Freescale.
26 description: ADC source clock (ipg clock)
33 description: ADC reference voltage supply.
35 fsl,adck-max-frequency:
36 $ref: /schemas/types.yaml#/definitions/uint32-array
40 Maximum frequencies from datasheet operating requirements.
41 Three values necessary to cover the 3 conversion modes.
42 * Frequency in normal mode (ADLPC=0, ADHSC=0)
43 * Frequency in high-speed mode (ADLPC=0, ADHSC=1)
44 * Frequency in low-power mode (ADLPC=1, ADHSC=0)
47 $ref: /schemas/types.yaml#/definitions/uint32
49 Minimum sampling time in nanoseconds. This value has
50 to be chosen according to the conversion mode and the connected analog
51 source resistance (R_as) and capacitance (C_as). Refer the datasheet's
52 operating requirements. A safe default across a wide range of R_as and
53 C_as as well as conversion modes is 1000ns.
66 additionalProperties: false
70 #include <dt-bindings/clock/vf610-clock.h>
72 compatible = "fsl,vf610-adc";
73 reg = <0x4003b000 0x1000>;
74 interrupts = <0 53 0x04>;
75 clocks = <&clks VF610_CLK_ADC0>;
77 fsl,adck-max-frequency = <30000000>, <40000000>, <20000000>;
78 vref-supply = <®_vcc_3v3_mcu>;
79 min-sample-time = <10000>;