The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/dma/adi,axi-dmac.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Analog Devices AXI-DMAC DMA controller
    2 
    3 Required properties:
    4  - compatible: Must be "adi,axi-dmac-1.00.a".
    5  - reg: Specification for the controllers memory mapped register map.
    6  - interrupts: Specification for the controllers interrupt.
    7  - clocks: Phandle and specifier to the controllers AXI interface clock
    8  - #dma-cells: Must be 1.
    9 
   10 Required sub-nodes:
   11  - adi,channels: This sub-node must contain a sub-node for each DMA channel. For
   12    the channel sub-nodes the following bindings apply. They must match the
   13    configuration options of the peripheral as it was instantiated.
   14 
   15 Required properties for adi,channels sub-node:
   16  - #size-cells: Must be 0
   17  - #address-cells: Must be 1
   18 
   19 Required channel sub-node properties:
   20  - reg: Which channel this node refers to.
   21  - adi,source-bus-width,
   22    adi,destination-bus-width: Width of the source or destination bus in bits.
   23  - adi,source-bus-type,
   24    adi,destination-bus-type: Type of the source or destination bus. Must be one
   25    of the following:
   26         0 (AXI_DMAC_TYPE_AXI_MM): Memory mapped AXI interface
   27         1 (AXI_DMAC_TYPE_AXI_STREAM): Streaming AXI interface
   28         2 (AXI_DMAC_TYPE_AXI_FIFO): FIFO interface
   29 
   30 Deprecated optional channel properties:
   31  - adi,length-width: Width of the DMA transfer length register.
   32  - adi,cyclic: Must be set if the channel supports hardware cyclic DMA
   33    transfers.
   34  - adi,2d: Must be set if the channel supports hardware 2D DMA transfers.
   35 
   36 DMA clients connected to the AXI-DMAC DMA controller must use the format
   37 described in the dma.txt file using a one-cell specifier. The value of the
   38 specifier refers to the DMA channel index.
   39 
   40 Example:
   41 
   42 dma: dma@7c420000 {
   43         compatible = "adi,axi-dmac-1.00.a";
   44         reg = <0x7c420000 0x10000>;
   45         interrupts = <0 57 0>;
   46         clocks = <&clkc 16>;
   47         #dma-cells = <1>;
   48 
   49         adi,channels {
   50                 #size-cells = <0>;
   51                 #address-cells = <1>;
   52 
   53                 dma-channel@0 {
   54                         reg = <0>;
   55                         adi,source-bus-width = <32>;
   56                         adi,source-bus-type = <ADI_AXI_DMAC_TYPE_MM_AXI>;
   57                         adi,destination-bus-width = <64>;
   58                         adi,destination-bus-type = <ADI_AXI_DMAC_TYPE_FIFO>;
   59                 };
   60         };
   61 };

Cache object: 9377f542a521f0cd92a69bf2f3936425


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.