On Wed, Dec 10, 2008 at 6:04 PM, Gary Thomas <[EMAIL PROTECTED]> wrote: > Benjamin Herrenschmidt wrote: >> On Thu, 2008-12-04 at 06:51 -0700, Gary Thomas wrote: >>> I have a MPC5200 based board which has an FPGA for external >>> I/O, etc. This FPGA also funnels interrupts from the various >>> external devices through to the CPU. >>> >>> I've defined this structure in my DTS: >>> >>> [EMAIL PROTECTED] { >>> device_type = "board-control"; >>> #address-cells = <1>; >>> #size-cells = <1>; >>> // Note: includes sub-devices like CAN, A/D, etc >>> reg = <0xf8000000 0x100000>; >>> >>> fpga_ic: [EMAIL PROTECTED] { >>> device_type = "fpga-int-ctlr"; >>> interrupt-controller; >>> #address-cells = <0>; >>> #interrupt-cells = <2>; >>> interrupts = <2 26 3>; // IRQ2 > > BTW, this is wrong! Are the IRQ mappings on the MPC5200 documented > somewhere? I've looked and looked without much joy. Only by > experimentation did I discover that "<1 2 3>" corresponds to IRQ2.
http://www.nabble.com/-PATCH--powerpc-mpc5200:-Document-and-tidy-irq-driver-td20740376.html This should be going in for 2.6.29. There is also some documentation about it in Documentation/powerpc/mpc52xx-device-tree-bindings.txt g. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev