Path: blob/main/sys/contrib/device-tree/Bindings/dma/adi,axi-dmac.txt
48376 views
Analog Devices AXI-DMAC DMA controller12Required properties:3- compatible: Must be "adi,axi-dmac-1.00.a".4- reg: Specification for the controllers memory mapped register map.5- interrupts: Specification for the controllers interrupt.6- clocks: Phandle and specifier to the controllers AXI interface clock7- #dma-cells: Must be 1.89Required sub-nodes:10- adi,channels: This sub-node must contain a sub-node for each DMA channel. For11the channel sub-nodes the following bindings apply. They must match the12configuration options of the peripheral as it was instantiated.1314Required properties for adi,channels sub-node:15- #size-cells: Must be 016- #address-cells: Must be 11718Required channel sub-node properties:19- reg: Which channel this node refers to.20- adi,source-bus-width,21adi,destination-bus-width: Width of the source or destination bus in bits.22- adi,source-bus-type,23adi,destination-bus-type: Type of the source or destination bus. Must be one24of the following:250 (AXI_DMAC_TYPE_AXI_MM): Memory mapped AXI interface261 (AXI_DMAC_TYPE_AXI_STREAM): Streaming AXI interface272 (AXI_DMAC_TYPE_AXI_FIFO): FIFO interface2829Deprecated optional channel properties:30- adi,length-width: Width of the DMA transfer length register.31- adi,cyclic: Must be set if the channel supports hardware cyclic DMA32transfers.33- adi,2d: Must be set if the channel supports hardware 2D DMA transfers.3435DMA clients connected to the AXI-DMAC DMA controller must use the format36described in the dma.txt file using a one-cell specifier. The value of the37specifier refers to the DMA channel index.3839Example:4041dma: dma@7c420000 {42compatible = "adi,axi-dmac-1.00.a";43reg = <0x7c420000 0x10000>;44interrupts = <0 57 0>;45clocks = <&clkc 16>;46#dma-cells = <1>;4748adi,channels {49#size-cells = <0>;50#address-cells = <1>;5152dma-channel@0 {53reg = <0>;54adi,source-bus-width = <32>;55adi,source-bus-type = <ADI_AXI_DMAC_TYPE_MM_AXI>;56adi,destination-bus-width = <64>;57adi,destination-bus-type = <ADI_AXI_DMAC_TYPE_FIFO>;58};59};60};616263