diff --git a/boards/nxp/imx943_evk/Kconfig.imx943_evk b/boards/nxp/imx943_evk/Kconfig.imx943_evk index b92bf95709a..31a7d45627c 100644 --- a/boards/nxp/imx943_evk/Kconfig.imx943_evk +++ b/boards/nxp/imx943_evk/Kconfig.imx943_evk @@ -3,4 +3,5 @@ config BOARD_IMX943_EVK select SOC_MIMX94398_A55 if BOARD_IMX943_EVK_MIMX94398_A55 + select SOC_MIMX94398_M33 if BOARD_IMX943_EVK_MIMX94398_M33 select SOC_PART_NUMBER_MIMX94398AVKM diff --git a/boards/nxp/imx943_evk/imx943_evk-pinctrl.dtsi b/boards/nxp/imx943_evk/imx943_evk-pinctrl.dtsi index 2397a38cad1..48acff92a3f 100644 --- a/boards/nxp/imx943_evk/imx943_evk-pinctrl.dtsi +++ b/boards/nxp/imx943_evk/imx943_evk-pinctrl.dtsi @@ -15,4 +15,14 @@ drive-strength = "x4"; }; }; + + lpuart8_default: lpuart8_default { + group0 { + pinmux = <&iomuxc_dap_tclk_swclk_lpuart_rx_lpuart8_rx>, + <&iomuxc_dap_tms_swdio_lpuart_tx_lpuart8_tx>; + bias-pull-up; + slew-rate = "slightly_fast"; + drive-strength = "x4"; + }; + }; }; diff --git a/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33.dts b/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33.dts new file mode 100644 index 00000000000..eaf1b434cbc --- /dev/null +++ b/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33.dts @@ -0,0 +1,31 @@ +/* + * Copyright 2025 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/dts-v1/; + +#include +#include "imx943_evk-pinctrl.dtsi" + +/ { + model = "NXP i.MX943 EVK board"; + compatible = "nxp,imx943_evk"; + + chosen { + /* TCM */ + zephyr,flash = &itcm; + zephyr,sram = &dtcm; + + zephyr,console = &lpuart8; + zephyr,shell-uart = &lpuart8; + }; +}; + +&lpuart8 { + status = "okay"; + current-speed = <115200>; + pinctrl-0 = <&lpuart8_default>; + pinctrl-names = "default"; +}; diff --git a/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33.yaml b/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33.yaml new file mode 100644 index 00000000000..942e6565aa0 --- /dev/null +++ b/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33.yaml @@ -0,0 +1,18 @@ +# +# Copyright 2025 NXP +# +# SPDX-License-Identifier: Apache-2.0 +# + +identifier: imx943_evk/mimx94398/m33 +name: NXP i.MX943 EVK M33 +type: mcu +arch: arm +ram: 256 +flash: 256 +toolchain: + - zephyr + - gnuarmemb +supported: + - uart +vendor: nxp diff --git a/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33_defconfig b/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33_defconfig new file mode 100644 index 00000000000..154aa547ef0 --- /dev/null +++ b/boards/nxp/imx943_evk/imx943_evk_mimx94398_m33_defconfig @@ -0,0 +1,23 @@ +# +# Copyright 2025 NXP +# +# SPDX-License-Identifier: Apache-2.0 +# + +# clock-related configurations +CONFIG_CLOCK_CONTROL=y + +# serial interface-related configurations +CONFIG_SERIAL=y +CONFIG_UART_CONSOLE=y +CONFIG_UART_INTERRUPT_DRIVEN=y +CONFIG_CONSOLE=y + +# SCMI-related configurations +CONFIG_MBOX=y +CONFIG_MBOX_INIT_PRIORITY=0 +CONFIG_ARM_SCMI=y +CONFIG_ARM_SCMI_NXP_VENDOR_EXTENSIONS=y + +# kernel-related configurations +CONFIG_XIP=y