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/moxa,moxart-dma.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 MOXA ART DMA Controller
    2 
    3 See dma.txt first
    4 
    5 Required properties:
    6 
    7 - compatible :  Must be "moxa,moxart-dma"
    8 - reg :         Should contain registers location and length
    9 - interrupts :  Should contain an interrupt-specifier for the sole
   10                 interrupt generated by the device
   11 - #dma-cells :  Should be 1, a single cell holding a line request number
   12 
   13 Example:
   14 
   15         dma: dma@90500000 {
   16                 compatible = "moxa,moxart-dma";
   17                 reg = <0x90500080 0x40>;
   18                 interrupts = <24 0>;
   19                 #dma-cells = <1>;
   20         };
   21 
   22 
   23 Clients:
   24 
   25 DMA clients connected to the MOXA ART DMA controller must use the format
   26 described in the dma.txt file, using a two-cell specifier for each channel:
   27 a phandle plus one integer cells.
   28 The two cells in order are:
   29 
   30 1. A phandle pointing to the DMA controller.
   31 2. Peripheral identifier for the hardware handshaking interface.
   32 
   33 Example:
   34 Use specific request line passing from dma
   35 For example, MMC request line is 5
   36 
   37         mmc: mmc@98e00000 {
   38                 compatible = "moxa,moxart-mmc";
   39                 reg = <0x98e00000 0x5C>;
   40                 interrupts = <5 0>;
   41                 clocks = <&clk_apb>;
   42                 dmas =  <&dma 5>,
   43                         <&dma 5>;
   44                 dma-names = "tx", "rx";
   45         };

Cache object: 562a9e269507d7109c49b1415eac909c


[ 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.