The Technical Reference Manual of TI8148 platform depict that there are three MMC Card Interface, but I download the PSP package , the code of mmc.h file in ..arm/plat-omap/include/plat/mmc.h, it only mentions ti8148 only support two MMC/SD, Whether there is some question about the third MMC interface, in out project, we use the third MMC/SD interface to link WL1271, now ,WL1271 can't work ;
#define TI81XX_HSMMC_SIZE 0x10000#define TI816X_MMC1_BASE 0x48060100 /* TI816X MMC/SD config base */#define TI816X_MMC1_HL_BASE 0x48060000 /* TI816X HL configuration*/#if defined(CONFIG_TI8148EVM_WL12XX) || defined(CONFIG_MACH_DRA6XX)#define TI814X_NR_MMC 2
#define TI814X_MMC1_BASE 0x48060100 /* TI814X MMC1/SD1 config base */#define TI814X_MMC1_HL_BASE 0x48060000 /* TI814X HL configuration*/#define TI814X_MMC2_BASE 0x481D8100 /* TI814X MMC2/SD2 config base */#define TI814X_MMC2_HL_BASE 0x481D8000 /* TI814X HL configuration*/
#ifdef CONFIG_ARCH_TI814X#define TI81XX_NR_MMC TI814X_NR_MMC#else /* TI816X */#define TI81XX_NR_MMC TI816X_NR_MMC#endif
we add the third MMC/SD interface as following:
static struct omap2_hsmmc_info mmc[] = { { .mmc = 1, /* Hardware SD/MMC0 */ .caps = MMC_CAP_8_BIT_DATA, .gpio_cd = -EINVAL, /* Dedicated pins for CD and WP */ .gpio_wp = -EINVAL, .ocr_mask = MMC_VDD_33_34, .nonremovable = true, }, { .mmc = 2, /* Hardware SD/MMC1 */ .caps = MMC_CAP_4_BIT_DATA, .gpio_cd = -EINVAL, /* Dedicated pins for CD and WP */ .gpio_wp = -EINVAL, .ocr_mask = MMC_VDD_33_34,
}, {
/* WLAN_EN is 0*/ // G4 A2 WLAN_EN is not support#define GPIO_WLAN_EN ((0 * 32) + 0)/* WLAN_IRQ is GP1[7] */#define GPIO_WLAN_IRQ ((1 * 32) + 7) .name ="wl1271", .mmc = 3, .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD, .gpio_cd = -EINVAL, .gpio_wp = -EINVAL, //.ocr_mask = MMC_VDD_165_195, .ocr_mask = MMC_VDD_33_34, .nonremovable = true, },
{} /* Terminator */};
but when I init WL1271 , it can't init success;
the system print "wl12xx mmc device initialization failed"
dev = mmc[2].dev; if (!dev) { pr_err("wl12xx mmc device initialization failed\n"); return; }
I want to know whether the third MMC/SD interface can't work in TI8148.
Hi,
we have released WL127x WLAN chip support on TI814x EVM please download images and PSP (that isncludes the connection to the SDIO, IRQ and WLAN enable signals) from http://processors.wiki.ti.com/index.php/DM814x_release_download_page
Regards,
Eyal
thanks.
The code of last emai is the code in EZSDK5.04.00.11, our project have used EZSDK5.04.00.11, but in EZSDK5.04.00.11,the WL127x is connect MMC0, our project use MMC2,EZSDK5.04.00.11 is seem don't support MMC2;
I can't find the firmware of wifi in EZSDK5.04.00.11; could you support us?thanks!
the firmware is a bin file that located in the file system (SD card image), please find it in /lib/firmware/ti-connectivity
Hi Eyal,
I pulled the latest EZSDK ezsdk_dm814x-evm_5_05_01_04_setuplinux posed 10/10, but I do not see any platform support for wl1271 there in the mach-omap2 files. And I do not see anything in the patches (only one patch is in the patch dir). Am I missing something?
Thanks,
Dave
Hi Dave,
I forward the e2e question to the guy who handles the EZSDK.
Hey,
I'm experiencing this exact same issue. I'm using the DM8148 and the WL1271, with the WL1271 attached to MMC3. I've made the changes to the kernel described at http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Hardware_Porting_for_IPNC_DM8148x_Platform and I've ended up with the same result as the original poster, namely "[ 0.300000] wl12xx mmc device initialization failed".
I'm posting here so that I can get email replies if a solution is found.
David