Hi,shonmou
I no use TK1 here,but I try to find a solution to get my SDIO wifi module detected.
I used Marvel SD8782 module (88W8782-NAP2).
Is it compatible with 8787 driver and firmware(sd8787_uapsta.bin)?
Because I don’t find any driver and firmware named “sd8782”.
If answer is “yes”…
I tried to add the “mvsdio” drivers as a part of kernel, “mwifiex” and “mwifiex_sdio” drivers as modules
I compiled it with the Kernel 3.14.43, and board is compatible with BBB
I used this configurations(mmc3 channel) for the EVB335X DTS:
wlan_fixed: fixedregulator@0 {
compatible = “regulator-fixed”;
regulator-name = “wlan_fixed”;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
mmc3_pins: pinmux_mmc3_pins {
pinctrl-single,pins = <
0x30 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad12.mmc2_dat0 */
0x34 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad13.mmc2_dat1 */
0x38 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad14.mmc2_dat2 */
0x3c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad15.mmc2_dat3 */
0x88 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd */
0x8C (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk */
0x78 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio1_28 */
>;
};
&mmc3 {
status = “okay”;
vmmc-supply = <&wlan_fixed>;
bus-width = <0x4>;
pinctrl-names = “default”;
pinctrl-0 = <&mmc3_pins>;
dmas = <&edma 12>,<&edma 13>;
dma-names = “tx”, “rx”;
ti,non-removable;
enable-sdio-wakeup;
};
When I upload to the board, reboot the system
modprobe mwifiex_sdio
Nothing happened, and no error message and driver start message.
I can find “mvsdio” at /sys/bus/platform/drivers,and “mwifiex”,“mwifiex_sdio” at /sys/modules
dmesg | grep mmc2
mmc2: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc2: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 0
mmc2: clock 50000000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 2
mmc2: new high speed SDIO card at address 0001
Any suggestion will be appreciated.