zephyr/boards/shields/atmel_rf2xx/atmel_rf2xx_xplained.overlay
Gerard Marull-Paretas 846bed99c3 boards: enable IEEE 802.15.4 devices and add choice
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>
2022-08-10 11:57:34 +02:00

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";
};
};