ARCH=powerpc: IRQ numbers change mysteriously

Fredrik Roubert fredrik.roubert at barco.com
Tue Oct 24 02:41:16 EST 2006


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 at 3000 {
	device_type = "i2c";
	compatible = "fsl-i2c";
	reg = <3000 100>;
	interrupts = <e 8>;
	interrupt-parent = <&/soc8349 at ff400000/pic at 700>;
	dfsrr;
};

i2c at 3100 {
	device_type = "i2c";
	compatible = "fsl-i2c";
	reg = <3000 100>;
	interrupts = <f 8>;
	interrupt-parent = <&/soc8349 at ff400000/pic at 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

-- 
Barco Medical Imaging          |  +32 56 233549
http://www.barco.com/medical/  |  fredrik.roubert at barco.com



More information about the Linuxppc-embedded mailing list