Back to home page

OSCL-LXR

 
 

    


0001 MOXA ART DMA Controller
0002 
0003 See dma.txt first
0004 
0005 Required properties:
0006 
0007 - compatible :  Must be "moxa,moxart-dma"
0008 - reg :         Should contain registers location and length
0009 - interrupts :  Should contain an interrupt-specifier for the sole
0010                 interrupt generated by the device
0011 - #dma-cells :  Should be 1, a single cell holding a line request number
0012 
0013 Example:
0014 
0015         dma: dma@90500000 {
0016                 compatible = "moxa,moxart-dma";
0017                 reg = <0x90500080 0x40>;
0018                 interrupts = <24 0>;
0019                 #dma-cells = <1>;
0020         };
0021 
0022 
0023 Clients:
0024 
0025 DMA clients connected to the MOXA ART DMA controller must use the format
0026 described in the dma.txt file, using a two-cell specifier for each channel:
0027 a phandle plus one integer cells.
0028 The two cells in order are:
0029 
0030 1. A phandle pointing to the DMA controller.
0031 2. Peripheral identifier for the hardware handshaking interface.
0032 
0033 Example:
0034 Use specific request line passing from dma
0035 For example, MMC request line is 5
0036 
0037         mmc: mmc@98e00000 {
0038                 compatible = "moxa,moxart-mmc";
0039                 reg = <0x98e00000 0x5C>;
0040                 interrupts = <5 0>;
0041                 clocks = <&clk_apb>;
0042                 dmas =  <&dma 5>,
0043                         <&dma 5>;
0044                 dma-names = "tx", "rx";
0045         };