diff --git a/boards/arm64/mimx93_evk/CMakeLists.txt b/boards/arm64/mimx93_evk/CMakeLists.txt new file mode 100644 index 00000000000..9881313609a --- /dev/null +++ b/boards/arm64/mimx93_evk/CMakeLists.txt @@ -0,0 +1 @@ +# SPDX-License-Identifier: Apache-2.0 diff --git a/boards/arm64/mimx93_evk/Kconfig.board b/boards/arm64/mimx93_evk/Kconfig.board new file mode 100644 index 00000000000..59ecb516cde --- /dev/null +++ b/boards/arm64/mimx93_evk/Kconfig.board @@ -0,0 +1,7 @@ +# Copyright 2022 NXP +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_MIMX93_EVK_A55 + bool "NXP i.MX93 EVK A55" + depends on SOC_SERIES_MIMX9_A55 + select SOC_PART_NUMBER_MIMX9352CVUXK diff --git a/boards/arm64/mimx93_evk/Kconfig.defconfig b/boards/arm64/mimx93_evk/Kconfig.defconfig new file mode 100644 index 00000000000..2e9cc7599ed --- /dev/null +++ b/boards/arm64/mimx93_evk/Kconfig.defconfig @@ -0,0 +1,9 @@ +# Copyright 2022 NXP +# SPDX-License-Identifier: Apache-2.0 + +if BOARD_MIMX93_EVK_A55 + +config BOARD + default "mimx93_evk_a55" + +endif # BOARD_MIMX8MP_EVK_A55 diff --git a/boards/arm64/mimx93_evk/board.cmake b/boards/arm64/mimx93_evk/board.cmake new file mode 100644 index 00000000000..9881313609a --- /dev/null +++ b/boards/arm64/mimx93_evk/board.cmake @@ -0,0 +1 @@ +# SPDX-License-Identifier: Apache-2.0 diff --git a/boards/arm64/mimx93_evk/mimx93_evk_a55.dts b/boards/arm64/mimx93_evk/mimx93_evk_a55.dts new file mode 100644 index 00000000000..7a10438b3cb --- /dev/null +++ b/boards/arm64/mimx93_evk/mimx93_evk_a55.dts @@ -0,0 +1,35 @@ +/* + * Copyright 2022 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/dts-v1/; + +#include + +/ { + model = "NXP i.MX93 A55"; + compatible = "fsl,mimx93"; + + chosen { + zephyr,console = &lpuart2; + zephyr,shell-uart = &lpuart2; + zephyr,sram = &sram0; + }; + + cpus { + cpu@0 { + status = "disabled"; + }; + }; + + sram0: memory@c0000000 { + reg = <0xc0000000 DT_SIZE_M(1)>; + }; +}; + +&lpuart2 { + status = "okay"; + current-speed = <115200>; +}; diff --git a/boards/arm64/mimx93_evk/mimx93_evk_a55.yaml b/boards/arm64/mimx93_evk/mimx93_evk_a55.yaml new file mode 100644 index 00000000000..383cab49dc5 --- /dev/null +++ b/boards/arm64/mimx93_evk/mimx93_evk_a55.yaml @@ -0,0 +1,12 @@ +identifier: mimx93_evk_a55 +name: NXP i.MX93 Plus EVK A55 +type: mcu +arch: arm64 +toolchain: + - zephyr + - cross-compile +ram: 1024 +testing: + ignore_tags: + - net + - bluetooth diff --git a/boards/arm64/mimx93_evk/mimx93_evk_a55_defconfig b/boards/arm64/mimx93_evk/mimx93_evk_a55_defconfig new file mode 100644 index 00000000000..3b22e7fbb13 --- /dev/null +++ b/boards/arm64/mimx93_evk/mimx93_evk_a55_defconfig @@ -0,0 +1,31 @@ +# +# Copyright 2022 NXP +# +# SPDX-License-Identifier: Apache-2.0 + +# ARM Options +CONFIG_AARCH64_IMAGE_HEADER=y +CONFIG_ARMV8_A_NS=y + +# Cache Options +CONFIG_CACHE_MANAGEMENT=y +CONFIG_DCACHE_LINE_SIZE_DETECT=y +CONFIG_ICACHE_LINE_SIZE_DETECT=y + +# Platform Configuration +CONFIG_SOC_SERIES_MIMX9_A55=y +CONFIG_SOC_MIMX93_A55=y +CONFIG_BOARD_MIMX93_EVK_A55=y + +# Zephyr Kernel Configuration +CONFIG_XIP=n + +# Serial Drivers +CONFIG_SERIAL=y +CONFIG_UART_INTERRUPT_DRIVEN=y + +# Enable Console +CONFIG_CONSOLE=y +CONFIG_UART_CONSOLE=y + +CONFIG_CLOCK_CONTROL=y