OF PCI howto?
Joakim Tjernlund
Joakim.Tjernlund at transmode.se
Thu Apr 16 18:05:40 EST 2009
Kumar Gala <galak at kernel.crashing.org> wrote on 15/04/2009 17:20:21:
> On Apr 15, 2009, at 8:08 AM, Wolfram Sang wrote:
>
> > On Wed, Apr 15, 2009 at 02:54:57PM +0200, Joakim Tjernlund wrote:
> >
> >> dts fragment correct for my setup? If not, is there a better
> >> example I can
> >> look at?
> >
> > Maybe this message/thread can help you:
> >
> > http://ozlabs.org/pipermail/devicetree-discuss/2009-March/000597.html
>
> You may also want to take a look at ePAPR on the power.org site
Thanks guys
Looking in ePAPR I see I should read the IDSEL like this:
/* IDSEL 0x11 AD17 */
0x8800 0x0 0x0 0x1 &ipic 20 0x8 /* INTA */
0x8800 0x0 0x0 0x2 &ipic 21 0x8 /* INTB */
0x8800 0x0 0x0 0x3 &ipic 22 0x8 /* INTC */
0x8800 0x0 0x0 0x4 &ipic 23 0x8 /* INTD */
grouping the first line into:
"0x8800 0x0 0x0" "0x1" "&ipic" "20 0x8" /* INTA */
"0x8800 0x0 0x0" = child unit address
"0x1" = child interrupt specifier = INTA
"&ipic" = interrupt parent
"20 0x8" = parent interrupt specifier
Questions:
MPC832x appears to only have INTA so why are the INTB,INTC
and INTD lines there?
I don't understand how IDSEL values are decided. Are IDSEL 0x11-0x18
randomly
selected or are they fixed for MPC832x?
What I really trying to understand is what fields I might need to change
and what to change them to.
So far the "interrupt-map" and the "ranges" items looks like they might
need
some tweaking, but I really don't know at this point.
Any pointers in this area is much appreciated.
Jocke
More information about the Linuxppc-dev
mailing list