Skip to content

Commit ea8fc27

Browse files
jfischer-nopabigot
authored andcommitted
samples: wifi: add config to test winc1500 driver
Add reel board config to test winc1500 driver. Signed-off-by: Johann Fischer <[email protected]>
1 parent f5baaab commit ea8fc27

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CONFIG_GPIO=y
2+
CONFIG_SPI=y
3+
CONFIG_SPI_3=y
4+
5+
CONFIG_WIFI_WINC1500=y
6+
CONFIG_WIFI_WINC1500_REGION_EUROPE=y
7+
CONFIG_WIFI_WINC1500_GPIO_SPI_CS=y
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* Copyright (c) 2020 Phytec Messtechnik GmbH
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&spi3 {
8+
status = "ok";
9+
cs-gpios = <&gpio1 3 0>;
10+
sck-pin = <36>;
11+
mosi-pin = <37>;
12+
miso-pin = <38>;
13+
14+
winc1500@0 {
15+
status = "ok";
16+
compatible = "atmel,winc1500";
17+
reg = <0x0>;
18+
label = "winc1500";
19+
spi-max-frequency = <4000000>;
20+
irq-gpios = <&gpio1 7 1>;
21+
reset-gpios = <&gpio1 8 1>;
22+
enable-gpios = <&gpio1 12 0>;
23+
24+
};
25+
};

0 commit comments

Comments
 (0)