Hi everyone,

i'm working with a microzed and i want to configure a wilc1000 wifi module in 
sdio mode (with warrior).

this is what i did:

1) Enabled wilc driver in the kernel:

CONFIG_CFG80211=y
CONFIG_STAGING=y
CONFIG_WILC1000_SDIO=y
CONFIG_NET_VENDOR_MICROCHIP=y
CONFIG_WILC1000=y
CONFIG_WILC1000_HW_OOB_INTR=y

(I tried both enabling with "menuconfig" and from cfg file).

2) I inserted wilc1000-wifi-firmware.bin under /lib/firmware/mchp 
(https://github.com/linux4wilc/firmware)

3) Then i inserted into my device tree "wilc_sdio" node into mmc@e0101000 like 
this:

mmc@e0101000 {
compatible           = "arasan,sdhci-8.9a";
status                   = "okay";
clock-names         = "clk_xin\0clk_ahb";
clocks                   = <0x01 0x16 0x01 0x21>;
interrupt-parent    = <0x04>;
interrupts              = <0x00 0x18 0x04>;
reg                        = <0xe0100000 0x1000>;

non-removable;
disable-wp;
wilc_sdio@0 {
compatible       = "microchip,wilc1000";
irq-gpios           = <&gpio0  0 1>; /* MIO0   WLAN_IRQ            */
reset-gpios       = <&gpio0 51 1>; /* MIO51  RADIO_RST_N 1V8    */
chip_en-gpios  = <&gpio0 50 1>; /* MIO50  RADIO_EN            */
status               = "okay";
reg                    = <0>;
bus-width         = <4>;
};
};

And then i got this output for mmc1 and nothing from "wilc1000" driver:

root@microzed-zynq7:~# dmesg | grep -i mmc1
[    1.244946] mmc1: SDHCI controller on e0101000.mmc [e0101000.mmc] using ADMA
[    1.260948] mmc1: error -110 whilst initialising SDIO card
[    1.363802] mmc1: error -84 whilst initialising SDIO card
[    1.426553] mmc1: error -84 whilst initialising SDIO card
[    1.477865] mmc1: error -110 whilst initialising SDIO card

am i missing anything?

Regards.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#4696): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4696
Mute This Topic: https://lists.yoctoproject.org/mt/74692794/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to