From 78413d0ebb7b2cf71420e8f8b1ea2703280712ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Tue, 10 Dec 2024 15:56:33 +0100 Subject: [PATCH] boards: espressif: esp32c6: Add ieee802154 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Jäger --- boards/espressif/esp32c6_devkitc/esp32c6_devkitc.dts | 5 +++++ boards/espressif/esp32c6_devkitc/esp32c6_devkitc.yaml | 1 + boards/seeed/xiao_esp32c6/xiao_esp32c6.dts | 5 +++++ boards/seeed/xiao_esp32c6/xiao_esp32c6.yaml | 1 + dts/riscv/espressif/esp32c6/esp32c6_common.dtsi | 5 +++++ 5 files changed, 17 insertions(+) diff --git a/boards/espressif/esp32c6_devkitc/esp32c6_devkitc.dts b/boards/espressif/esp32c6_devkitc/esp32c6_devkitc.dts index 896ae30530cc93d..180d08d121e801c 100644 --- a/boards/espressif/esp32c6_devkitc/esp32c6_devkitc.dts +++ b/boards/espressif/esp32c6_devkitc/esp32c6_devkitc.dts @@ -21,6 +21,7 @@ zephyr,shell-uart = &uart0; zephyr,flash = &flash0; zephyr,code-partition = &slot0_partition; + zephyr,ieee802154 = &ieee802154; }; aliases { @@ -71,3 +72,7 @@ &wdt0 { status = "okay"; }; + +&ieee802154 { + status = "okay"; +}; diff --git a/boards/espressif/esp32c6_devkitc/esp32c6_devkitc.yaml b/boards/espressif/esp32c6_devkitc/esp32c6_devkitc.yaml index f36685e8367d6bb..a267cf284dd99b2 100644 --- a/boards/espressif/esp32c6_devkitc/esp32c6_devkitc.yaml +++ b/boards/espressif/esp32c6_devkitc/esp32c6_devkitc.yaml @@ -15,3 +15,4 @@ supported: - counter - entropy - i2c + - netif:openthread diff --git a/boards/seeed/xiao_esp32c6/xiao_esp32c6.dts b/boards/seeed/xiao_esp32c6/xiao_esp32c6.dts index d155f5aa20141b3..de0820523b5b8fe 100644 --- a/boards/seeed/xiao_esp32c6/xiao_esp32c6.dts +++ b/boards/seeed/xiao_esp32c6/xiao_esp32c6.dts @@ -22,6 +22,7 @@ zephyr,shell-uart = &usb_serial; zephyr,flash = &flash0; zephyr,code-partition = &slot0_partition; + zephyr,ieee802154 = &ieee802154; }; leds: leds { @@ -76,3 +77,7 @@ pinctrl-0 = <&uart0_default>; pinctrl-names = "default"; }; + +&ieee802154 { + status = "okay"; +}; diff --git a/boards/seeed/xiao_esp32c6/xiao_esp32c6.yaml b/boards/seeed/xiao_esp32c6/xiao_esp32c6.yaml index 50a8f099a3e59a8..ef65d5209942708 100644 --- a/boards/seeed/xiao_esp32c6/xiao_esp32c6.yaml +++ b/boards/seeed/xiao_esp32c6/xiao_esp32c6.yaml @@ -12,6 +12,7 @@ supported: - spi - entropy - i2c + - netif:openthread testing: ignore_tags: - tracing diff --git a/dts/riscv/espressif/esp32c6/esp32c6_common.dtsi b/dts/riscv/espressif/esp32c6/esp32c6_common.dtsi index d8049584fb17aae..1150658288a1bc3 100644 --- a/dts/riscv/espressif/esp32c6/esp32c6_common.dtsi +++ b/dts/riscv/espressif/esp32c6/esp32c6_common.dtsi @@ -62,6 +62,11 @@ status = "disabled"; }; + ieee802154: ieee802154 { + compatible = "espressif,esp32-ieee802154"; + status = "disabled"; + }; + soc { #address-cells = <1>; #size-cells = <1>;