Skip to contentSkip to conversation

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

DISCUSSION Matthias Fuchs 1 participant 1 message Sep 17, 2008

lore
Share & tools
lore
#0 lore raw

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@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