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_mikrobus;
10	};
11};
12
13&mikrobus_spi {
14	status = "okay";
15
16	/* CS */
17	cs-gpios = <&mikrobus_header 2 GPIO_ACTIVE_LOW>;
18
19	ieee802154_atmel_rf2xx_mikrobus: rf2xx@0 {
20		compatible = "atmel,rf2xx";
21		reg = <0x0>;
22		spi-max-frequency = <6000000>;
23		/* INT */
24		irq-gpios = <&mikrobus_header 7
25			     (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
26		/*  AN */
27		reset-gpios = <&mikrobus_header 0 GPIO_ACTIVE_LOW>;
28		/* PWM */
29		slptr-gpios = <&mikrobus_header 6 GPIO_ACTIVE_HIGH>;
30		status = "okay";
31	};
32};
33