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 12*c66ec88fSEmmanuel Vadotdescription: | 13*c66ec88fSEmmanuel Vadot Analog Devices Generic AXI ADC IP core for interfacing an ADC device 14*c66ec88fSEmmanuel Vadot with a high speed serial (JESD204B/C) or source synchronous parallel 15*c66ec88fSEmmanuel Vadot interface (LVDS/CMOS). 16*c66ec88fSEmmanuel Vadot Usually, some other interface type (i.e SPI) is used as a control 17*c66ec88fSEmmanuel Vadot interface for the actual ADC, while this IP core will interface 18*c66ec88fSEmmanuel Vadot to the data-lines of the ADC and handle the streaming of data into 19*c66ec88fSEmmanuel Vadot memory via DMA. 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot https://wiki.analog.com/resources/fpga/docs/axi_adc_ip 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadotproperties: 24*c66ec88fSEmmanuel Vadot compatible: 25*c66ec88fSEmmanuel Vadot enum: 26*c66ec88fSEmmanuel Vadot - adi,axi-adc-10.0.a 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot reg: 29*c66ec88fSEmmanuel Vadot maxItems: 1 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot dmas: 32*c66ec88fSEmmanuel Vadot maxItems: 1 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel Vadot dma-names: 35*c66ec88fSEmmanuel Vadot items: 36*c66ec88fSEmmanuel Vadot - const: rx 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot adi,adc-dev: 39*c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 40*c66ec88fSEmmanuel Vadot description: 41*c66ec88fSEmmanuel Vadot A reference to a the actual ADC to which this FPGA ADC interfaces to. 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadotrequired: 44*c66ec88fSEmmanuel Vadot - compatible 45*c66ec88fSEmmanuel Vadot - dmas 46*c66ec88fSEmmanuel Vadot - reg 47*c66ec88fSEmmanuel Vadot - adi,adc-dev 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel VadotadditionalProperties: false 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadotexamples: 52*c66ec88fSEmmanuel Vadot - | 53*c66ec88fSEmmanuel Vadot axi-adc@44a00000 { 54*c66ec88fSEmmanuel Vadot compatible = "adi,axi-adc-10.0.a"; 55*c66ec88fSEmmanuel Vadot reg = <0x44a00000 0x10000>; 56*c66ec88fSEmmanuel Vadot dmas = <&rx_dma 0>; 57*c66ec88fSEmmanuel Vadot dma-names = "rx"; 58*c66ec88fSEmmanuel Vadot 59*c66ec88fSEmmanuel Vadot adi,adc-dev = <&spi_adc>; 60*c66ec88fSEmmanuel Vadot }; 61*c66ec88fSEmmanuel Vadot... 62