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