Hi
I'm using AM335xevm_sk custom board. In our board there is a small changes in Wifi schematic but same module. changes are,
1, mmc1 to mmc2
2.WL_IRQ (0,31) to (1,30)
3.WL_enable (1,29) to (1, 31)
#define AM335XEVM_WLAN_IRQ_GPIO GPIO_TO_PIN(3, 17)
#define AM335XEVM_SK_WLAN_IRQ_GPIO GPIO_TO_PIN(1, 30) // GPIO_TO_PIN(0, 31)
........
static void wl12xx_init(int evm_id, int profile)
{
struct device *dev;
struct omap_mmc_platform_data *pdata;
int ret;
if (evm_id == EVM_SK) {
am335xevm_wlan_data.wlan_enable_gpio = GPIO_TO_PIN(1, 31); //(1, 29);
am335xevm_wlan_data.bt_enable_gpio = GPIO_TO_PIN(3, 21);
.....
}
static struct pinmux_config wl12xx_pin_mux_sk[] = {
{"gpmc_csn1.gpio1_30", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT}, //gpmc_wpn.gpio0_31
{"gpmc_csn2.gpio1_31", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT_PULLUP}, //gpmc_csn0.gpio1_29
{"mcasp0_ahclkx.gpio3_21", OMAP_MUX_MODE7 | AM33XX_PIN_OUTPUT},
{NULL, 0},
};
evm_sk_dev_cfg[] = {
{mmc2_wl12xx_init, DEV_ON_BASEBOARD, PROFILE_ALL},
{mmc0_init, DEV_ON_BASEBOARD, PROFILE_ALL},
.........
{uart1_wl12xx_init, DEV_ON_BASEBOARD, PROFILE_ALL},
{wl12xx_init, DEV_ON_BASEBOARD, PROFILE_ALL},
}
While i am trying to boot getting below error
[ 5140.889251] (stk) :line disc installation timed out
[ 5143.019256] (stk) :line disc installation timed out
[ 5145.149261] (stk) :line disc installation timed out
[ 5146.149261] Bluetooth: st_register failed -22
[ 5147.379241] (stk) :line disc installation timed out
[ 5149.509216] (stk) :line disc installation timed out
[ 5151.639221] (stk) :line disc installation timed out
I checked the enable GPIO and IRQ GPIO like this
root@android:/data # cd ..
root@android:/ # cat /sys/kernel/debug/gpio
GPIOs 0-31, gpio:
gpio-6 (mmc_cd ) in lo
gpio-30 (SW3 ) in hi
GPIOs 32-63, gpio:
gpio-36 (am335x:EVM_SK:usr0 ) out lo
gpio-37 (am335x:EVM_SK:usr1 ) out lo
gpio-38 (am335x:EVM_SK:heartb) out lo
gpio-39 (am335x:EVM_SK:mmc0 ) out lo
gpio-63 (wlan_en ) out lo
GPIOs 64-95, gpio:
gpio-66 (SW2 ) in lo
gpio-67 (SW1 ) in lo
gpio-69 (SW4 ) in lo
GPIOs 96-127, gpio:
gpio-117 (kim ) out hi
Here i've attached my bootlog and also i'm not geeting the following logs while booting,