device tree interrupt-map/interrupt-map-mask properties for a 405EP board

Matthias Fuchs matthias.fuchs at esd-electronics.com
Thu Sep 18 06:59:05 EST 2008


Hi,

I am trying to setup a device tree for a 405EP based board.
I did not fully understand how to setup the interrupt-map-mask and 
interrupt-map properties for the PCI node:

		...
		PCI0: pci at ec000000 {
			...
			interrupt-map-mask = <0x???? 0x0 0x0 0x0>;
			interrupt-map = <
				/* slot1: IDSEL AD12 - ext. Irq 4 */
				0x???? 0x0 0x0 0x0 &UIC0 29 0x8

				/* slot2: IDSEL AD13 - ext. Irq 5  */
				0x???? 0x0 0x0 0x0 &UIC0 30 0x8

				/* slot3: IDSEL AD14 - ext. Irq 6  */
				0x???? 0x0 0x0 0x0 &UIC0 31 0x8
			>;
		};

I have three PCI slots on the board. How do I have to fill out the ???? fields 
above? ADxx <-> IDSEL connection can be taken from the comments. Each slot 
has its  interrupt lines INTA..D connected to a single 405 external interrupt 
input.

Where can I find any docs about this?

Matthias



More information about the Linuxppc-dev mailing list