sdio probe timeout with wifi module on sdio

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

sdio probe timeout with wifi module on sdio

跳至解决方案
3,538 次查看
pratyushtomar
Contributor IV

I am trying to use ATWILC3000 wifi with my imx6ul evk board on sdio port. I was able to compile the driver successfully. But the problem is that wifi is not being detected. I made following changes to my dtsi file for wifi module.

{

  regulators {

  wlreg_on: fixedregulator@100 {

  compatible = "regulator-fixed";

  regulator-min-microvolt = <3300000>;

  regulator-max-microvolt = <3300000>;

  regulator-name = "wlreg_on";

  /*gpio = <&gpio1 25 0>;*/

  startup-delay-us = <100>;

  enable-active-high;

  };

  };

  wilc3000_wlan_0: wilc3000_wlan@0 {

  compatible = "atmel,wilc_sdio";

  wlreg_on-supply = <&wlreg_on>;

  };

};

&reg_sd1_vmmc {

  regulator-always-on;

};

&usdhc1 {

  pinctrl-names = "default";

  pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_wifi>;

  no-1-8-v;

  non-removable;

  cd-post;

  pm-ignore-notify;

  wifi-host;

};

Following message is shown while booting

*** WILC3000 driver VERSION=[14.2.1] ***

DBG [at_pwr_power_up: 912]source: Wifi, current bus status Wifi: 0, BT: 0

DBG [at_pwr_power_up: 956]WILC POWER UP

DBG [linux_wlan_device_power: 874]linux_wlan_device_power.. (0)

DBG [linux_wlan_device_power: 874]linux_wlan_device_power.. (1)

DBG [at_pwr_register_bus: 233]source: Wifi, current bus status Wifi: 0, BT: 0

DBG [linux_wlan_device_detection: 890]linux_wlan_device_detection.. (1)

DBG [at_pwr_register_bus: 263]Waiting for sdio probe

DBG [at_pwr_register_bus: 266]sdio probe TimedOUT

Thus I haven't been able to figure where I have made a mistake. Any clues anyone.

标签 (3)
0 项奖励
回复
1 解答
2,652 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Pratyush

one can look at dts BCM4339 wifi examples in attached Linux Manual

Chapter 46,55. In general one can add debug printfs to probe function in driver

to find more details about failure. Also please check if all files are built

sama5d3 xplained · atwilc3000/driver Wiki · GitHub

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
2,653 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Pratyush

one can look at dts BCM4339 wifi examples in attached Linux Manual

Chapter 46,55. In general one can add debug printfs to probe function in driver

to find more details about failure. Also please check if all files are built

sama5d3 xplained · atwilc3000/driver Wiki · GitHub

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------