Using DMA interrupt on MPC8313
    Scott Wood 
    scottwood at freescale.com
       
    Tue Jun 17 04:40:52 EST 2008
    
    
  
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 at 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
    
    
More information about the Linuxppc-dev
mailing list