boards: shields: nxp_m2_wifi_bt: add nxp_m2_2ll_wifi_bt module

Added seperate shield overlay for supported M.2 2LL module to enable
BT or WIFI or Both.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
This commit is contained in:
Gang Li 2025-06-04 04:05:46 +02:00 committed by Dan Kalowsky
commit 306d9afa90
6 changed files with 89 additions and 3 deletions

View file

@ -438,7 +438,7 @@ Shield for M.2 Wi-Fi and BT Interface
Rev C version is tested with :ref:`nxp_m2_wifi_bt` shield to attach any M.2 module Rev C version is tested with :ref:`nxp_m2_wifi_bt` shield to attach any M.2 module
with BT HCI UART interface and Wi-Fi SDIO interface. The shield binds the required NXP with BT HCI UART interface and Wi-Fi SDIO interface. The shield binds the required NXP
HCI driver or SDIO driver to perform firmware-load and other setup configurations HCI driver or SDIO driver to perform firmware-load and other setup configurations
for NXP SoC IW416/IW612. for NXP SoC IW416/IW612/IW610.
Troubleshooting Troubleshooting
=============== ===============

View file

@ -55,7 +55,34 @@ endif # WIFI
endif # SHIELD_NXP_M2_2EL_WIFI_BT endif # SHIELD_NXP_M2_2EL_WIFI_BT
if (BT_NXP_IW416) || (BT_NXP_NW612) || (NXP_IW416) || (NXP_IW61X) if SHIELD_NXP_M2_2LL_WIFI_BT
if BT
choice BT_NXP_MODULE
default BT_NXP_IW610
endchoice
endif # BT
if WIFI
config WIFI_NXP
default y
choice NXP_WIFI_PART
default NXP_IW610
endchoice
choice NXP_IW610_MODULE
default NXP_IW610_MURATA_2LL_M2
endchoice
endif # WIFI
endif # SHIELD_NXP_M2_2LL_WIFI_BT
if (BT_NXP_IW416) || (BT_NXP_NW612) || (BT_NXP_IW610) || (NXP_IW416) || (NXP_IW61X) || (NXP_IW610)
if BT if BT

View file

@ -6,3 +6,6 @@ config SHIELD_NXP_M2_1XK_WIFI_BT
config SHIELD_NXP_M2_2EL_WIFI_BT config SHIELD_NXP_M2_2EL_WIFI_BT
def_bool $(shields_list_contains,nxp_m2_2el_wifi_bt) def_bool $(shields_list_contains,nxp_m2_2el_wifi_bt)
config SHIELD_NXP_M2_2LL_WIFI_BT
def_bool $(shields_list_contains,nxp_m2_2ll_wifi_bt)

View file

@ -10,22 +10,26 @@ This Zephyr shield is tested with the following M.2 modules and hardware for Wi-
- Embedded Artist 1XK module - uses Murata 1XK radio module with NXP IW416 chipset - Embedded Artist 1XK module - uses Murata 1XK radio module with NXP IW416 chipset
- Embedded Artist 2EL module - uses Murata 2EL radio module with NXP IW612 chipset - Embedded Artist 2EL module - uses Murata 2EL radio module with NXP IW612 chipset
- Embedded Artist 2LL module - uses Murata 2LL radio module with NXP IW610 chipset
More information about supported chipsets, radio modules and M.2 modules can be found in below links, More information about supported chipsets, radio modules and M.2 modules can be found in below links,
- `IW612 NXP Chipset <https://www.nxp.com/products/IW612>`_ - `IW612 NXP Chipset <https://www.nxp.com/products/IW612>`_
- `IW416 NXP Chipset <https://www.nxp.com/products/IW416>`_ - `IW416 NXP Chipset <https://www.nxp.com/products/IW416>`_
- `IW610 NXP Chipset <https://www.nxp.com/products/IW610>`_
- `2EL Murata Radio Module <https://www.murata.com/en-us/products/connectivitymodule/wi-fi-bluetooth/overview/lineup/type2el>`_ - `2EL Murata Radio Module <https://www.murata.com/en-us/products/connectivitymodule/wi-fi-bluetooth/overview/lineup/type2el>`_
- `1XK Murata Radio Module <https://www.murata.com/en-us/products/connectivitymodule/wi-fi-bluetooth/overview/lineup/type1xk>`_ - `1XK Murata Radio Module <https://www.murata.com/en-us/products/connectivitymodule/wi-fi-bluetooth/overview/lineup/type1xk>`_
- `2LL Murata Radio Module <https://www.murata.com/en-us/products/connectivitymodule/wi-fi-bluetooth/overview/lineup/type2ll>`_
- `1XK Embedded Artist Module <https://www.embeddedartists.com/products/1xk-m-2-module>`_ - `1XK Embedded Artist Module <https://www.embeddedartists.com/products/1xk-m-2-module>`_
- `2EL Embedded Artist Module <https://www.embeddedartists.com/products/2el-m-2-module>`_ - `2EL Embedded Artist Module <https://www.embeddedartists.com/products/2el-m-2-module>`_
- `2LL Embedded Artist Module <https://www.embeddedartists.com/products/2ll-m-2-module>`_
Requirements Requirements
************ ************
To use the shield, below requirements needs to be satisfied. To use the shield, below requirements needs to be satisfied.
- M.2 module with BT HCI UART and SDIO Interface with NXP IW416 or IW612 SoC support. - M.2 module with BT HCI UART and SDIO Interface with NXP IW416 or IW612 or IW610 SoC support.
- Host platform shall have compatible M.2 interface slot. - Host platform shall have compatible M.2 interface slot.
- For Coex (Wi-Fi + BT), UART driver that supports UART RTS line control to wakeup BT CPU from sleep. - For Coex (Wi-Fi + BT), UART driver that supports UART RTS line control to wakeup BT CPU from sleep.
- To use default Bluetooth-Shell app it needs ~490KB flash & ~130KB RAM memory. - To use default Bluetooth-Shell app it needs ~490KB flash & ~130KB RAM memory.
@ -57,6 +61,7 @@ Below are the supported shields to be used with ``--shield <option>`` when you i
- ``nxp_m2_1xk_wifi_bt``: For Wi-Fi/Bluetooth samples to work with NXP IW416 SoC - ``nxp_m2_1xk_wifi_bt``: For Wi-Fi/Bluetooth samples to work with NXP IW416 SoC
- ``nxp_m2_2el_wifi_bt``: For Wi-Fi/Bluetooth samples to work with NXP IW612 SoC - ``nxp_m2_2el_wifi_bt``: For Wi-Fi/Bluetooth samples to work with NXP IW612 SoC
- ``nxp_m2_2ll_wifi_bt``: For Wi-Fi/Bluetooth samples to work with NXP IW610 SoC
For example: For example:
@ -73,6 +78,13 @@ For example:
:goals: build :goals: build
:gen-args: -DEXTRA_CONF_FILE="nxp/overlay_hosted_mcu.conf" :gen-args: -DEXTRA_CONF_FILE="nxp/overlay_hosted_mcu.conf"
.. zephyr-app-commands::
:zephyr-app: samples/net/wifi/shell
:board: mimxrt1060_evk@C//qspi
:shield: nxp_m2_2ll_wifi_bt
:goals: build
:gen-args: -DEXTRA_CONF_FILE="nxp/overlay_hosted_mcu.conf"
.. note:: .. note::
To build Wi-Fi application, "nxp/overlay_hosted_mcu.conf" config file To build Wi-Fi application, "nxp/overlay_hosted_mcu.conf" config file
must be passed along with default conf file as mentioned in above build command. must be passed along with default conf file as mentioned in above build command.

View file

@ -0,0 +1,37 @@
/*
* Copyright 2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,bt-hci = &bt_hci_uart;
};
};
&m2_hci_bt_uart {
current-speed = <115200>;
status = "okay";
bt_hci_uart: bt_hci_uart {
compatible = "zephyr,bt-hci-uart";
status = "okay";
m2_bt_module {
compatible = "nxp,bt-hci-uart";
hci-operation-speed = <3000000>;
hw-flow-control;
fw-download-primary-speed = <115200>;
fw-download-secondary-speed = <3000000>;
fw-download-secondary-flowcontrol;
};
};
};
&m2_wifi_sdio {
nxp_wifi {
compatible = "nxp,wifi";
status = "okay";
};
};

View file

@ -12,3 +12,10 @@ shields:
supported_features: supported_features:
- bluetooth - bluetooth
- wifi - wifi
- name: nxp_m2_2ll_wifi_bt
full_name: NXP M2 WiFi/BT Shield (Murata 2LL)
vendor: nxp
supported_features:
- bluetooth
- wifi