ARCH=powerpc: IRQ numbers change mysteriously
Hi!
On my MPC8439 based board, running Linux 2.6.18 with ARCH=powerpc, the IRQ's for the I2C behave in a for me mysterious way.
In my DTS file, I have the following:
i2c@3000 {
device_type = "i2c";
compatible = "fsl-i2c";
reg = <3000 100>;
interrupts = <e 8>;
interrupt-parent = <&/soc8349@ff400000/pic@700>;
dfsrr;
};i2c@3100 {
device_type = "i2c";
compatible = "fsl-i2c";
reg = <3000 100>;
interrupts = <f 8>;
interrupt-parent = <&/soc8349@ff400000/pic@700>;
dfsrr;
};But when I boot the system and cat /proc/interrupts, the output says:
18: 61 IPIC Level i2c-mpc 19: 0 IPIC Level i2c-mpc
This doesn't make sense to me. Why are the IRQ numbers changed? They are still adjacent, so it seems to be some logic to the change. Does anyone know what this is?
Cheers // Fredrik Roubert
Signature · 2 lines
Barco Medical Imaging | +32 56 233549 http://www.barco.com/medical/ | [email protected]
The irq number on powerpc ARCH is now a virtual number. This change was introduced by Ben's irq mapping change in early 2.6.18-rc.
- Leo
Quoted 3 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of
Quoted 8 lines
Fredrik Roubert
Sent: Tuesday, October 24, 2006 12:41 AM
To: [email protected]
Subject: ARCH=3Dpowerpc: IRQ numbers change mysteriously =20
Hi!
=20
On my MPC8439 based board, running Linux 2.6.18 with ARCH=3Dpowerpc, =
the
Quoted 27 lines
IRQ's for the I2C behave in a for me mysterious way. =20
In my DTS file, I have the following:
=20
=20i2c@3000 { device_type =3D "i2c"; compatible =3D "fsl-i2c"; reg =3D <3000 100>; interrupts =3D <e 8>; interrupt-parent =3D <&/soc8349@ff400000/pic@700>; dfsrr; }; =20 i2c@3100 { device_type =3D "i2c"; compatible =3D "fsl-i2c"; reg =3D <3000 100>; interrupts =3D <f 8>; interrupt-parent =3D <&/soc8349@ff400000/pic@700>; dfsrr; };=20
=20
But when I boot the system and cat/proc/interrupts, the output says:
=20
=20
Quoted 5 lines
18: 61 IPIC Level i2c-mpc 19: 0 IPIC Level i2c-mpc=20
=20
This doesn't make sense to me. Why are the IRQ numbers changed? They
are
Quoted 1 line
still adjacent, so it seems to be some logic to the change. Does
anyone
Quoted 11 lines
know what this is?
=20
Cheers // Fredrik Roubert
=20
--Barco Medical Imaging | +32 56 233549 http://www.barco.com/medical/ | [email protected]_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded