<div dir="ltr">I've connected a wlan device to an imx28-evk via a 4 bit wide MMC interface using SSP1.  I've compiled support into the kernel for the device and it is recognized upon insertion, however, the driver requires an external interrupt line to be connected from the wlan device to the imx28.  I've attempted to configure a GPIO line to interrupt on high to low edges using the device tree by defining a node like this...<br>
<br>            ssp1: ssp@80012000 {<br>                compatible = "fsl,imx28-mmc";<br>                pinctrl-names = "default";<br>                pinctrl-0 = <&mmc1_4bit_pins_a<br>                    &mmc1_cd_cfg &mmc1_sck_cfg>;<br>
                bus-width = <4>;<br>                wp-gpios = <&gpio0 28 0>;<br>                vmmc-supply = <&reg_vddio_sd1>;<br>                status = "okay";<br><br>                wlan-irq<br>
                {<br>                    compatible = "fsl,imx28-gpio";<br>                    interrupt-parent = <&gpio0>;<br>                    interrupts = <4 0x02>;<br>                };<br>
            };<br><div><br></div><div style>Is this even close to being correct?  I understand I need to modify arch/arm/mach-mxs/mach-mxs.c to provide the IRQ to the wlan platform data... but I'm confused as to how I get the IRQ number that is *hopefully* setup by the device tree node?</div>
<div style><br></div><div style>I'm just looking for some direction, if anyone has any advice it would be greatly appreciated!  The linux-arm-kernel mailing list wasn't too much help... nor Freescale support.</div>
<div style><br></div><div style>Thanks,</div><div style>Ryan</div></div>