Hi,<br>I&#39;m writing a linux driver that uses an external interrupt (ppc 405ex). I&#39;m using GPIO pin 30 (external IRQ 1) connected to UIC1. I&#39;m aware of the virtual interrupt stuff, so I added a new node to my device tree in order to get proper virtual IRQ number. This node describes an external event and its connection to UIC via the mentioned ext. int. Here is a sample of the divce-tree:<br>
..<br><br>UIC1: interrupt-controller1 {<br>        compatible = &quot;ibm,uic-405ex&quot;,&quot;ibm,uic&quot;;<br>        interrupt-controller;<br>        cell-index = &lt;1&gt;;<br>        dcr-reg = &lt;0x0d0 0x009&gt;;<br>
        #address-cells = &lt;0&gt;;<br>        #size-cells = &lt;0&gt;;<br>        #interrupt-cells = &lt;2&gt;;<br>        interrupts = &lt;0x1e 0x4 0x1f 0x4&gt;; /* cascade */<br>        interrupt-parent = &lt;&amp;UIC0&gt;;<br>
};<br><br>EXTEVENT: external_event {<br>        device_type = &quot;external&quot;;<br>        #address-cells = &lt;0&gt;;<br>        #size-cells = &lt;0&gt;;<br>        #interrupt-cells = &lt;2&gt;;<br>        interrupts = &lt;0x1e 0x1&gt;;<br>
        interrupt-parent = &lt;&amp;UIC1&gt;;<br>};<br>...<br><br>Then I use function &quot;irq_of_parse_and_map()&quot; which returns the virtual IRQ number 22. So, &quot;request_irq()&quot; seems to be satisfied with this number. I can see this interrupt in the /proc/interrupts. But! When I connect a signal source to the pin 30, nothing happens - the interrupt service routine isn&#39;t called. <br>
<br>Am I suppose to configure anything else? (e. g. pin multiplexing, further device-tree tuning...) Thank you!<br><br>Best regards,<br>Ladi<br>