iam trying to connect wilc3000 using spi interface with sama5d3 xplained .iam following the wilc300 device porting guide ,i got .ko file is generated when i try to insmod the .ko file in sama5d3 in dmesg it is showing probed sucess.
[ 152.940940] WILC_SPI spi1.0: failed to get Reset GPIO, try default
[ 152.940991] wifi_pm : 1
[ 152.941032] WILC_SPI spi1.0: failed to get Reset GPIO, try default
[ 152.971002] WILC_SPI spi1.0: WILC SPI probe success
my dts file
spi1: spi@f8008000 {
cs-gpios = <&pioC 25 0>;
pinctrl-0= <&pinctrl_spi1_default>;
status = "okay";
wilc_spi@0 {
compatible = "microchip,wilc3000", "atmel,wilc_spi";
spi-max-frequency = <6000000>;
reg = <0>;
status = "okay";
};
};
i changed the reset ,irq and chip enable pins in wilc-wlan.h file with gpio pins and connect to the corresponding pins.
please help