I'm trying to get a Atmel/Microchip WILC1000 module working with my Compute Module 3 (Kernel 4.14.22). I've added the sdio overlay, and compiled the actual kernel modules from the github repo of microchip.
The system fires up a mmc2:
Code: Select all
[ 2.482767] sdhci-iproc 3f300000.sdio: /aliases ID not available
[ 2.541098] mmc2: SDHCI controller on 3f300000.sdio [3f300000.sdio] using PIOCode: Select all
[ 3.646592] wilc1000_sdio mmc2:0001:1: Driver Initializing success
[ 3.758589] wilc1000_sdio mmc2:0001:1: chipid (001003a0)
[ 3.758609] wilc1000_sdio mmc2:0001:1: has_thrpt_enh3 = 1...
[ 3.759447] wilc1000_sdio mmc2:0001:1 wlan0: Detect chip WILC1000
[ 3.759458] wilc1000_sdio mmc2:0001:1 wlan0: loading firmware wilc1000_wifi_firmware.bin
[ 3.894843] wilc1000_sdio mmc2:0001:1 wlan0: WILC Firmware Ver = WILC_WIFI_FW_REL_15_00_RC4 Build: 8837Code: Select all
[ 59.845468] wilc1000_sdio mmc2:0001:1: Failed cmd 52, read reg (000000f1) ...
[ 59.845478] wilc1000_sdio mmc2:0001:1: wilc_sdio_cmd52..failed, err(-123)I found the sd_overclock parameter and set that to the lowest possible value (1), and the SD-card speed is abysmal. But the CLK is still at 42MHz.
Any pointers on how to reduce the clock speed to something like 10MHz? Or other pointers to figure this one out?
