Path: blob/master/Documentation/devicetree/bindings/dma/moxa,moxart-dma.txt
26308 views
MOXA ART DMA Controller12See dma.txt first34Required properties:56- compatible : Must be "moxa,moxart-dma"7- reg : Should contain registers location and length8- interrupts : Should contain an interrupt-specifier for the sole9interrupt generated by the device10- #dma-cells : Should be 1, a single cell holding a line request number1112Example:1314dma: dma@90500000 {15compatible = "moxa,moxart-dma";16reg = <0x90500080 0x40>;17interrupts = <24 0>;18#dma-cells = <1>;19};202122Clients:2324DMA clients connected to the MOXA ART DMA controller must use the format25described in the dma.txt file, using a two-cell specifier for each channel:26a phandle plus one integer cells.27The two cells in order are:28291. A phandle pointing to the DMA controller.302. Peripheral identifier for the hardware handshaking interface.3132Example:33Use specific request line passing from dma34For example, MMC request line is 53536mmc: mmc@98e00000 {37compatible = "moxa,moxart-mmc";38reg = <0x98e00000 0x5C>;39interrupts = <5 0>;40clocks = <&clk_apb>;41dmas = <&dma 5>,42<&dma 5>;43dma-names = "tx", "rx";44};454647