1*c66ec88fSEmmanuel Vadot* Freescale MPC512x and MPC8308 DMA Controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe DMA controller in Freescale MPC512x and MPC8308 SoCs can move 4*c66ec88fSEmmanuel Vadotblocks of memory contents between memory and peripherals or 5*c66ec88fSEmmanuel Vadotfrom memory to memory. 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel VadotRefer to "Generic DMA Controller and DMA request bindings" in 8*c66ec88fSEmmanuel Vadotthe dma/dma.txt file for a more detailed description of binding. 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel VadotRequired properties: 11*c66ec88fSEmmanuel Vadot- compatible: should be "fsl,mpc5121-dma" or "fsl,mpc8308-dma"; 12*c66ec88fSEmmanuel Vadot- reg: should contain the DMA controller registers location and length; 13*c66ec88fSEmmanuel Vadot- interrupt for the DMA controller: syntax of interrupt client node 14*c66ec88fSEmmanuel Vadot is described in interrupt-controller/interrupts.txt file. 15*c66ec88fSEmmanuel Vadot- #dma-cells: the length of the DMA specifier, must be <1>. 16*c66ec88fSEmmanuel Vadot Each channel of this DMA controller has a peripheral request line, 17*c66ec88fSEmmanuel Vadot the assignment is fixed in hardware. This one cell 18*c66ec88fSEmmanuel Vadot in dmas property of a client device represents the channel number. 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel VadotExample: 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot dma0: dma@14000 { 23*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc5121-dma"; 24*c66ec88fSEmmanuel Vadot reg = <0x14000 0x1800>; 25*c66ec88fSEmmanuel Vadot interrupts = <65 0x8>; 26*c66ec88fSEmmanuel Vadot #dma-cells = <1>; 27*c66ec88fSEmmanuel Vadot }; 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel VadotDMA clients must use the format described in dma/dma.txt file. 30