This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1801MOD wi-fi module not working with sdk 7.0

Other Parts Discussed in Thread: WL1801MOD

Hi,

We are using WL1801MOD  module with SDIO interface on AM335x based custom board.

We have configured a kernel for WL18xx support  as per the instruction . Following is the device tree entries we have done as per our hardware.

/* wl12xx/wl18xx card on mmc2 */

mmc2_pins: pinmux_mmc2_pins {
            pinctrl-single,pins = <
                0x44 0x33    /* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
                0x48 0x33    /* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */
                0x4C 0x33    /* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */
                0x78 0x33    /* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
                0x88 0x33    /* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */
                0x8C 0x33    /* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */
            >;
        };

        /* wl12xx/wl18xx card enable/irq GPIOs. */
        wlan_pins: pinmux_wlan_pins {
            pinctrl-single,pins = <
                0xE4 0x07    /* gpmc_a0.gpio2_23, OUTPUT | MODE7 wi fi irq*/
                #if 0
                0x19C 0x27    /* mcasp0_ahclkr.gpio3_17, INPUT | MODE7 */
                0x1AC 0x17    /* mcasp0_ahclkx.gpio3_21, OUTPUT_PULLUP | MODE7 */
                #endif
            >;
        };       

wlcore {
        compatible = "wlcore";
        gpio = <87>; /* Bank2, pin23 WLAN_IRQ pin */

        /*
         * TODO: use edge irqs for suspend/resume.
         * in newer kerenls, we seem to miss interrupts when
         * working with edge irqs, so revert back to level irqs.
         */
         /* platform-quirks = <1>; */

        /* if a 12xx card is there, configure the clock to
           WL12XX_REFCLOCK_38_XTAL */
        board-ref-clock = <4>;
    };

wlan_en_reg: fixedregulator@2 {
        compatible = "regulator-fixed";
        regulator-name = "wlan-en-regulator";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;

        /* WLAN_EN GPIO for this board - Bank1, pin16 */
        /*gpio = <&gpio2 23 0>; /* Harsha : Commented */

        /* WLAN card specific delay */
        startup-delay-us = <70000>;
        enable-active-high;
    };   

&mmc2 {
    status = "okay";
    bus-width = <0x4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc2_pins>;
};

We have copied a wl18xx-fw-2.bin from extra drivers of sdk 7.0 to  /lib/firmware/ti-connectivity/

We have done insmod to load the modules in following sequence.

insmod cfg80211.ko

insmod mac80211.ko

insmod wlcore.ko

insmod wl18xx.ko

We are not getting any errors while modules get loaded but we are even not getting any thing up related to wi-fi module.

Please let us know what we are missing OR something specific to be done.

We havent observed any clocks on WL_SDIO CLK pin of the module.

Thanks & Regards,

Uday Rajeshirke.