More DTS questions

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Sep 4 13:18:55 EST 2008


> > The things that truly aren't clear are the various lists.
> > For example, how does "interrupt-map" and "interrupts" describe
> > how the interrupts are handled? 
> 
> It is described in this document:
> http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf

And in Documentation/powerpc/booting-without-of.txt

> > I don't see any reference in the code to these names (how does a driver
> > get access to such properties?)
> 
> Look in arch/powerpc/kernel/prom_parse.c.
> 
> You'll want to change &mpc5200_pic in your interrupt-map to point to your
> FPGA interrupt controller, and change the interrupt specifiers accordingly.

Yeah, basically. You create a node for your cascaded interrupt
controller, point some interrupts at it, etc...

Ben.





More information about the Linuxppc-dev mailing list