blob: e1f450b80db27896c0c2f939e247396caf0a0e9c [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
7title: Analog Devices AXI ADC IP core
8
9maintainers:
10 - Michael Hennerich <michael.hennerich@analog.com>
11
12description: |
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
23properties:
24 compatible:
25 enum:
26 - adi,axi-adc-10.0.a
27
28 reg:
29 maxItems: 1
30
Tom Rini762f85b2024-07-20 11:15:10 -060031 clocks:
32 maxItems: 1
33
Tom Rini53633a82024-02-29 12:33:36 -050034 dmas:
35 maxItems: 1
36
37 dma-names:
38 items:
39 - const: rx
40
41 adi,adc-dev:
42 $ref: /schemas/types.yaml#/definitions/phandle
43 description:
44 A reference to a the actual ADC to which this FPGA ADC interfaces to.
Tom Rini6bb92fc2024-05-20 09:54:58 -060045 deprecated: true
46
47 '#io-backend-cells':
48 const: 0
Tom Rini53633a82024-02-29 12:33:36 -050049
50required:
51 - compatible
52 - dmas
53 - reg
Tom Rini762f85b2024-07-20 11:15:10 -060054 - clocks
Tom Rini53633a82024-02-29 12:33:36 -050055
56additionalProperties: false
57
58examples:
59 - |
60 axi-adc@44a00000 {
61 compatible = "adi,axi-adc-10.0.a";
62 reg = <0x44a00000 0x10000>;
63 dmas = <&rx_dma 0>;
64 dma-names = "rx";
Tom Rini762f85b2024-07-20 11:15:10 -060065 clocks = <&axi_clk>;
Tom Rini6bb92fc2024-05-20 09:54:58 -060066 #io-backend-cells = <0>;
Tom Rini53633a82024-02-29 12:33:36 -050067 };
68...