1/*
2 * Copyright (c) 2020 ATL Electronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&arduino_spi {
8	status = "okay";
9
10	/* D10 */
11	cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>;
12
13	wifi0_inventek_eswifi_arduino_spi: iwin@0 {
14		status = "okay";
15		compatible = "inventek,eswifi";
16		spi-max-frequency = <2000000>;
17		reg = <0>;
18
19		/* D9 */
20		data-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>;
21		/* D7 */
22		wakeup-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>;
23		/* D6 */
24		resetn-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
25		/* D5 */
26		boot0-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>;
27	};
28};
29