1/*
2 * Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	chosen {
9		zephyr,ieee802154 = &ieee802154_atmel_rf2xx_arduino;
10	};
11};
12
13&arduino_spi {
14	status = "okay";
15
16	/* D10 */
17	cs-gpios = <&arduino_header 16
18		    (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
19
20	ieee802154_atmel_rf2xx_arduino: rf2xx@0 {
21		compatible = "atmel,rf2xx";
22		reg = <0x0>;
23		spi-max-frequency = <6000000>;
24		/*  D2 */
25		irq-gpios = <&arduino_header 8
26			     (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
27		/*  D8 */
28		reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>;
29		/*  D9 */
30		slptr-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>;
31		status = "okay";
32	};
33};
34