162306a36Sopenharmony_ci* Freescale MPC512x and MPC8308 DMA Controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciThe DMA controller in Freescale MPC512x and MPC8308 SoCs can move 462306a36Sopenharmony_ciblocks of memory contents between memory and peripherals or 562306a36Sopenharmony_cifrom memory to memory. 662306a36Sopenharmony_ci 762306a36Sopenharmony_ciRefer to "Generic DMA Controller and DMA request bindings" in 862306a36Sopenharmony_cithe dma/dma.txt file for a more detailed description of binding. 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciRequired properties: 1162306a36Sopenharmony_ci- compatible: should be "fsl,mpc5121-dma" or "fsl,mpc8308-dma"; 1262306a36Sopenharmony_ci- reg: should contain the DMA controller registers location and length; 1362306a36Sopenharmony_ci- interrupt for the DMA controller: syntax of interrupt client node 1462306a36Sopenharmony_ci is described in interrupt-controller/interrupts.txt file. 1562306a36Sopenharmony_ci- #dma-cells: the length of the DMA specifier, must be <1>. 1662306a36Sopenharmony_ci Each channel of this DMA controller has a peripheral request line, 1762306a36Sopenharmony_ci the assignment is fixed in hardware. This one cell 1862306a36Sopenharmony_ci in dmas property of a client device represents the channel number. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciExample: 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci dma0: dma@14000 { 2362306a36Sopenharmony_ci compatible = "fsl,mpc5121-dma"; 2462306a36Sopenharmony_ci reg = <0x14000 0x1800>; 2562306a36Sopenharmony_ci interrupts = <65 0x8>; 2662306a36Sopenharmony_ci #dma-cells = <1>; 2762306a36Sopenharmony_ci }; 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciDMA clients must use the format described in dma/dma.txt file. 30