Trying to use Device Tree...and getting continuous interrupts from attached 88e1145
Morrison, Tom
tmorrison at empirix.com
Mon Aug 13 21:01:30 EST 2007
It turns out that Andy was right and I had not understand the
NEW MPIC format for the definition of the external interrupts.
This was different than the 2.6.11++ kernel...
Thank you Ben & Andy for your suggestions, unfortunately,
I had to learn the hard way that it was more fundamental
than I had imagined...
I continue to have problems, but I will itemize those in a
separate email.
Tom Morrison
-----Original Message-----
From: Andy Fleming [mailto:afleming at freescale.com]
Sent: Monday, August 06, 2007 2:10 PM
To: Morrison, Tom
Cc: linuxppc-dev at ozlabs.org
Subject: Re: Trying to use Device Tree...and getting continuous
interrupts from attached 88e1145
<Snip>
>>> mdio at 24520 {
>>> #address-cells = <1>;
>>> #size-cells = <0>;
>>> device_type = "mdio";
>>> compatible = "gianfar";
>>> reg = <24520 20>;
>>> phy1: ethernet-phy at 1 {
>>> interrupt-parent = <&mpic>;
>>> interrupts = <37 1>;
> How recent of a kernel are you using? The current kernel assigns
> the external interrupts to be the low 12 interrupts, which would make
> your interrupt assignment wrong.
More information about the Linuxppc-dev
mailing list