xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/adi,axi-adc.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*c66ec88fSEmmanuel Vadot%YAML 1.2
3*c66ec88fSEmmanuel Vadot---
4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/adi,axi-adc.yaml#
5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadottitle: Analog Devices AXI ADC IP core
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadotmaintainers:
10*c66ec88fSEmmanuel Vadot  - Michael Hennerich <michael.hennerich@analog.com>
11*c66ec88fSEmmanuel Vadot  - Alexandru Ardelean <alexandru.ardelean@analog.com>
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadotdescription: |
14*c66ec88fSEmmanuel Vadot  Analog Devices Generic AXI ADC IP core for interfacing an ADC device
15*c66ec88fSEmmanuel Vadot  with a high speed serial (JESD204B/C) or source synchronous parallel
16*c66ec88fSEmmanuel Vadot  interface (LVDS/CMOS).
17*c66ec88fSEmmanuel Vadot  Usually, some other interface type (i.e SPI) is used as a control
18*c66ec88fSEmmanuel Vadot  interface for the actual ADC, while this IP core will interface
19*c66ec88fSEmmanuel Vadot  to the data-lines of the ADC and handle the streaming of data into
20*c66ec88fSEmmanuel Vadot  memory via DMA.
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot  https://wiki.analog.com/resources/fpga/docs/axi_adc_ip
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadotproperties:
25*c66ec88fSEmmanuel Vadot  compatible:
26*c66ec88fSEmmanuel Vadot    enum:
27*c66ec88fSEmmanuel Vadot      - adi,axi-adc-10.0.a
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot  reg:
30*c66ec88fSEmmanuel Vadot    maxItems: 1
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot  dmas:
33*c66ec88fSEmmanuel Vadot    maxItems: 1
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot  dma-names:
36*c66ec88fSEmmanuel Vadot    items:
37*c66ec88fSEmmanuel Vadot      - const: rx
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot  adi,adc-dev:
40*c66ec88fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
41*c66ec88fSEmmanuel Vadot    description:
42*c66ec88fSEmmanuel Vadot      A reference to a the actual ADC to which this FPGA ADC interfaces to.
43*c66ec88fSEmmanuel Vadot
44*c66ec88fSEmmanuel Vadotrequired:
45*c66ec88fSEmmanuel Vadot  - compatible
46*c66ec88fSEmmanuel Vadot  - dmas
47*c66ec88fSEmmanuel Vadot  - reg
48*c66ec88fSEmmanuel Vadot  - adi,adc-dev
49*c66ec88fSEmmanuel Vadot
50*c66ec88fSEmmanuel VadotadditionalProperties: false
51*c66ec88fSEmmanuel Vadot
52*c66ec88fSEmmanuel Vadotexamples:
53*c66ec88fSEmmanuel Vadot  - |
54*c66ec88fSEmmanuel Vadot    axi-adc@44a00000 {
55*c66ec88fSEmmanuel Vadot          compatible = "adi,axi-adc-10.0.a";
56*c66ec88fSEmmanuel Vadot          reg = <0x44a00000 0x10000>;
57*c66ec88fSEmmanuel Vadot          dmas = <&rx_dma 0>;
58*c66ec88fSEmmanuel Vadot          dma-names = "rx";
59*c66ec88fSEmmanuel Vadot
60*c66ec88fSEmmanuel Vadot          adi,adc-dev = <&spi_adc>;
61*c66ec88fSEmmanuel Vadot    };
62*c66ec88fSEmmanuel Vadot...
63