Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 <michael.hennerich@analog.com> |
| 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 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 31 | clocks: |
| 32 | maxItems: 1 |
| 33 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 34 | 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 Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 45 | deprecated: true |
| 46 | |
| 47 | '#io-backend-cells': |
| 48 | const: 0 |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 49 | |
| 50 | required: |
| 51 | - compatible |
| 52 | - dmas |
| 53 | - reg |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 54 | - clocks |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 55 | |
| 56 | additionalProperties: false |
| 57 | |
| 58 | examples: |
| 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 Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 65 | clocks = <&axi_clk>; |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 66 | #io-backend-cells = <0>; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 67 | }; |
| 68 | ... |