Analog Devices AXI ADC IP core

Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/adi,axi-adc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michael Hennerich <michael.hennerich@analog.com>"

Analog Devices Generic AXI ADC IP core for interfacing an ADC device
with a high speed serial (JESD204B/C) or source synchronous parallel
interface (LVDS/CMOS).
Usually, some other interface type (i.e SPI) is used as a control
interface for the actual ADC, while this IP core will interface
to the data-lines of the ADC and handle the streaming of data into
memory via DMA.
In some cases, the AXI ADC interface is used to perform specialized
operation to a particular ADC, e.g access the physical bus through
specific registers to write ADC registers.
In this case, we use a different compatible which indicates the target
IP core's name.
The following IP is currently supported:
  - AXI AD7606x: specialized version of the IP core for all the chips from
    the ad7606 family.

https://wiki.analog.com/resources/fpga/docs/axi_adc_ip https://analogdevicesinc.github.io/hdl/library/axi_ad408x/index.html https://analogdevicesinc.github.io/hdl/library/axi_ad485x/index.html http://analogdevicesinc.github.io/hdl/library/axi_ad7606x/index.html

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,axi-adc-10.0.a", "adi,axi-ad408x", "adi,axi-ad7606x", "adi,axi-ad485x"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

dmas — required here #

Maximum number of items (maxItems): 1

dma-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

adi,adc-dev — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

A reference to a the actual ADC to which this FPGA ADC interfaces to.

Deprecated (deprecated): true

#io-backend-cells — not listed as required here #

Exact value (const): 0

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^adc@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties and child nodes (properties) #

reg — required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Required in this object (required): "compatible", "reg"

Required in this object (required): "compatible", "dmas", "reg", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "adi,axi-ad7606x"

When the condition matches (then) #

Properties and child nodes (properties)

#address-cells — not listed as required here

false — Not permitted by this property rule.

#size-cells — not listed as required here

false — Not permitted by this property rule.

Properties matching a name pattern (patternProperties)

^adc@[0-9a-f]+$ — name matches this regular expression

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

adc@44a00000 {
    compatible = "adi,axi-adc-10.0.a";
    reg = <0x44a00000 0x10000>;
    dmas = <&rx_dma 0>;
    dma-names = "rx";
    clocks = <&axi_clk>;
    #io-backend-cells = <0>;
};
#include <dt-bindings/gpio/gpio.h>
parallel_bus_controller@44a00000 {
    compatible = "adi,axi-ad7606x";
    reg = <0x44a00000 0x10000>;
    dmas = <&rx_dma 0>;
    dma-names = "rx";
    clocks = <&ext_clk>;
    #address-cells = <1>;
    #size-cells = <0>;

    adc@0 {
        compatible = "adi,ad7606b";
        reg = <0>;
        pwms = <&axi_pwm_gen 0 0>;
        pwm-names = "convst1";
        avcc-supply = <&adc_vref>;
        vdrive-supply = <&vdd_supply>;
        reset-gpios = <&gpio0 91 GPIO_ACTIVE_HIGH>;
        standby-gpios = <&gpio0 90 GPIO_ACTIVE_LOW>;
        adi,range-gpios = <&gpio0 89 GPIO_ACTIVE_HIGH>;
        adi,oversampling-ratio-gpios = <&gpio0 88 GPIO_ACTIVE_HIGH
                        &gpio0 87 GPIO_ACTIVE_HIGH
                        &gpio0 86 GPIO_ACTIVE_HIGH>;
        io-backends = <&parallel_bus_controller>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page