Subject: Re: Using DMA interrupt on MPC8313

From: Scott Wood <[email-masked]>
Date: Mon, 16 Jun 2008 13:40:52 -0500

Ron Madrid wrote:
> I don't see a "dma" node in the mpc8377mds.dts (2.6.25).  I found one in mpc8610_hpcd.dts and
> modeled it after that.

Try head-of-tree.

> 		dma@82a8 {
> 			#address-cells = <1>;
> 			#size-cells = <1>;
> 			compatible = "fsl,elo-dma";
> 			cell-index = <0>;
> 			reg = <0x82a8 0x4>; /* DMA general status register */
> 			ranges = <0x0 0x8100 0x200>;

Should also put the interrupts in the dma node itself, so that the 
driver can register it once and use the shared status register (but 
don't remove it from the individual channels).

-Scott