Path: blob/master/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/dma/adi,axi-dmac.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Analog Devices AXI-DMAC DMA controller78description: |9FPGA-based DMA controller designed for use with high-speed converter hardware.1011http://analogdevicesinc.github.io/hdl/library/axi_dmac/index.html1213maintainers:14- Nuno Sa <nuno.sa@analog.com>1516additionalProperties: false1718properties:19compatible:20const: adi,axi-dmac-1.00.a2122reg:23maxItems: 12425interrupts:26maxItems: 12728clocks:29maxItems: 13031"#dma-cells":32const: 13334adi,channels:35deprecated: true36type: object37description:38This sub-node must contain a sub-node for each DMA channel. This node is39only required for IP versions older than 4.3.a and should otherwise be40omitted.41additionalProperties: false4243properties:44"#size-cells":45const: 046"#address-cells":47const: 14849patternProperties:50"^dma-channel@[0-9a-f]+$":51type: object52description:53DMA channel properties based on HDL compile-time configuration.54additionalProperties: false5556properties:57reg:58maxItems: 15960adi,source-bus-width:61$ref: /schemas/types.yaml#/definitions/uint3262description: Width of the source bus in bits.63enum: [8, 16, 32, 64, 128]6465adi,destination-bus-width:66$ref: /schemas/types.yaml#/definitions/uint3267description: Width of the destination bus in bits.68enum: [8, 16, 32, 64, 128]6970adi,source-bus-type:71$ref: /schemas/types.yaml#/definitions/uint3272description: |73Type of the source bus.74750: Memory mapped AXI interface761: Streaming AXI interface772: FIFO interface78enum: [0, 1, 2]7980adi,destination-bus-type:81$ref: /schemas/types.yaml#/definitions/uint3282description: Type of the destination bus (see adi,source-bus-type).83enum: [0, 1, 2]8485adi,length-width:86deprecated: true87$ref: /schemas/types.yaml#/definitions/uint3288description: Width of the DMA transfer length register.8990adi,cyclic:91deprecated: true92type: boolean93description:94Must be set if the channel supports hardware cyclic DMA transfers.9596adi,2d:97deprecated: true98type: boolean99description:100Must be set if the channel supports hardware 2D DMA transfers.101102required:103- reg104- adi,source-bus-width105- adi,destination-bus-width106- adi,source-bus-type107- adi,destination-bus-type108109required:110- "#size-cells"111- "#address-cells"112113required:114- compatible115- reg116- interrupts117- clocks118- "#dma-cells"119120examples:121- |122dma-controller@7c420000 {123compatible = "adi,axi-dmac-1.00.a";124reg = <0x7c420000 0x10000>;125interrupts = <0 57 0>;126clocks = <&clkc 16>;127#dma-cells = <1>;128};129130131