27 lines
569 B
Plaintext
27 lines
569 B
Plaintext
/*
|
|
* Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,ieee802154 = &ieee802154_atmel_rf2xx_xplained;
|
|
};
|
|
};
|
|
|
|
&xplained1_spi {
|
|
status = "okay";
|
|
|
|
ieee802154_atmel_rf2xx_xplained: rf2xx@0 {
|
|
compatible = "atmel,rf2xx";
|
|
reg = <0x0>;
|
|
spi-max-frequency = <6000000>;
|
|
irq-gpios = <&xplained1_header 2
|
|
(GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
|
|
reset-gpios = <&xplained1_header 0 GPIO_ACTIVE_LOW>;
|
|
slptr-gpios = <&xplained1_header 3 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
};
|