From ab19f890762907ac53e3cfdb3d9c5233e1cc293c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Ciupis?= Date: Fri, 4 Nov 2022 10:59:07 +0100 Subject: [PATCH] boards: arm: nordic: add ieee802154 to chosen for nrf5340_cpunet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds ieee802154 node to chosen for boards based on nRF5340 network core. Signed-off-by: Jędrzej Ciupis --- boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts | 5 +++++ boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet.dts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts b/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts index 894d8a143a5..5f2cde3869d 100644 --- a/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts +++ b/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts @@ -23,6 +23,7 @@ zephyr,sram = &sram1; zephyr,flash = &flash1; zephyr,code-partition = &slot0_partition; + zephyr,ieee802154 = &ieee802154; }; leds { @@ -194,5 +195,9 @@ arduino_spi: &spi0 { }; }; +&ieee802154 { + status = "okay"; +}; + /* Include shared RAM configuration file */ #include "nrf5340_shared_sram_planning_conf.dts" diff --git a/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet.dts b/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet.dts index 5c0e3ec9d73..e1461288e81 100644 --- a/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet.dts +++ b/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet.dts @@ -23,6 +23,7 @@ zephyr,sram = &sram1; zephyr,flash = &flash1; zephyr,code-partition = &slot0_partition; + zephyr,ieee802154 = &ieee802154; }; buttons { @@ -135,5 +136,9 @@ }; }; +&ieee802154 { + status = "okay"; +}; + /* Include shared RAM configuration file */ #include "thingy53_nrf5340_shared_sram_planning_conf.dts"