external IRQ's

robert lazarski robertlazarski at gmail.com
Fri Aug 17 07:34:42 EST 2007


On 8/16/07, Scott Wood <scottwood at freescale.com> wrote:
> robert lazarski wrote:
> > 1) Do I need to define those external IRQ's in both a device tree file
> > under arch/powerpc/boot/dts and also in C code under
> > arch/powerpc/platforms/85xx ?
>
> Just in the dts.

Thanks, I notice in 2.6.23-rc3 there no longer are a series of
mpic_assign_isu() .

>
> I don't know what version of the dts you're looking at, but the one in
> the current Linux tree has <5 1>, not <35 0>.

Thanks for pointing that out! 2.6.22.2 has 35 as the interrupt, while
2.6.23-rc3 has 5. 35 didn't make any sense to me since the old ppc
arch used 5.

>
> > I'm also not getting the ethernet interrupts in the above cds example:
> >
> > interrupts = <d 2 e 2 12 2>;
> >
> > Why start with 'd' and 'e' ?  I noticed many if not all boards do that.
>
> In the current dts, it's <1d 2 1e 2 22 2>.
>
> It appears that the interrupt numbering was changed not too long ago,
> and that external interrupts used to be numbered above the internal ones.
>
> -Scott
>

Why <1d 2 1e 2 22 2> ? I can't seem to parse these numbers - how do I
know what to use for my external interupts 1,2 for phy's 0,1 using a
88E1121R and for external interupts 3,4 for phy's 2,3 using a 88E1111
?

Thanks!
Robert


More information about the Linuxppc-embedded mailing list