samples: wifi: add config to test winc1500 driver

Add reel board config to test winc1500 driver.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
Johann Fischer 2019-03-05 01:20:51 +01:00 committed by Carles Cufí
commit 4046de5cae
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,7 @@
CONFIG_GPIO=y
CONFIG_SPI=y
CONFIG_SPI_3=y
CONFIG_WIFI_WINC1500=y
CONFIG_WIFI_WINC1500_REGION_EUROPE=y
CONFIG_WIFI_WINC1500_GPIO_SPI_CS=y

View file

@ -0,0 +1,25 @@
/*
* Copyright (c) 2020 Phytec Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi3 {
status = "ok";
cs-gpios = <&gpio1 3 0>;
sck-pin = <36>;
mosi-pin = <37>;
miso-pin = <38>;
winc1500@0 {
status = "ok";
compatible = "atmel,winc1500";
reg = <0x0>;
label = "winc1500";
spi-max-frequency = <4000000>;
irq-gpios = <&gpio1 7 1>;
reset-gpios = <&gpio1 8 1>;
enable-gpios = <&gpio1 12 0>;
};
};