Interfacing a new SDIO wifi module to MMC3 on BBB

Hi All,

I am trying to bring up the SDIO WiFI module on the BBB on the MMC3.
I tried the hardware connections as mentioned in the TI link:

mmc3_pins_default: pinmux_mmc3_pins_default {
		pinctrl-single,pins = <
			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0 */
			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1 */
			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2 */
			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3 */
			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd */
			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk */
		>;
	};

	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
		pinctrl-single,pins = <
			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a1.mmc2_dat0 */
			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a2.mmc2_dat1 */
			0x4C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a3.mmc2_dat2 */
			0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ben1.mmc2_da */
			0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_csn3.mmc2_cmd */
			0x8C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_clk.mmc2_clk */
		>;
	};

I made the GPIO1_16 as input.
I modified the am335x-boneblack.dts file as per the above.

But still the MMC3 is not up.

Need help on this for my project.

Thanks,
Annapurna.B

Hi All,

I am trying to bring up the SDIO WiFI module on the BBB on the MMC3.
I tried the hardware connections as mentioned in the TI link:

mmc3_pins_default: pinmux_mmc3_pins_default {
pinctrl-single,pins = <
0x44 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a1.mmc2_dat0 */
0x48 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a2.mmc2_dat1 */
0x4C (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a3.mmc2_dat2 */
0x78 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ben1.mmc2_dat3 */
0x88 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd */
0x8C (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk */
>;
};

mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
pinctrl-single,pins = <
0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a1.mmc2_dat0 */
0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a2.mmc2_dat1 */
0x4C (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a3.mmc2_dat2 */
0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ben1.mmc2_da */
0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn3.mmc2_cmd */
0x8C (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_clk.mmc2_clk */
>;
};

I made the GPIO1_16 as input.
I modified the am335x-boneblack.dts file as per the above.

So TI's pinmux agree's.

mymmc2_pins_default: mymmc2_pins_default {
    pinctrl-single,pins = <
        AM33XX_IOPAD(0x8c, PIN_INPUT_PULLUP | MUX_MODE3) /* (V12)
gpmc_clk.mmc2_clk */
        AM33XX_IOPAD(0x88, PIN_INPUT_PULLUP | MUX_MODE3) /* (T13)
gpmc_csn3.mmc2_cmd */
        AM33XX_IOPAD(0x44, PIN_INPUT_PULLUP | MUX_MODE3) /* (V14)
gpmc_a1.mmc2_dat0 */
        AM33XX_IOPAD(0x48, PIN_INPUT_PULLUP | MUX_MODE3) /* (U14)
gpmc_a2.mmc2_dat1 */
        AM33XX_IOPAD(0x4c, PIN_INPUT_PULLUP | MUX_MODE3) /* (T14)
gpmc_a3.mmc2_dat2 */
        AM33XX_IOPAD(0x78, PIN_INPUT_PULLUP | MUX_MODE3) /* (U18)
gpmc_be1n.mmc2_dat3 */
    >;
};

But still the MMC3 is not up.

Well let's see your mmc3 node:

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BBGW-WL1835-00A0.dts#L144-L170

Regards,