846bed99c3
Enable the IEEE 802.15.4 radio node on all boards that listed 'ieee802154' in the supported field. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
27 lines
527 B
Plaintext
27 lines
527 B
Plaintext
/*
|
|
* Copyright (c) 2020 Gerson Fernando Budke <nandojve@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,ieee802154 = &ieee802154;
|
|
};
|
|
};
|
|
|
|
&xplained1_spi {
|
|
status = "okay";
|
|
|
|
ieee802154: 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";
|
|
};
|
|
};
|