boards: xtensa: adsp: add support for imx8 board

Add support for i.MX8QM board by defining defconfig,
board configuration and device tree.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2021-04-19 12:38:40 +03:00 committed by Christopher Friedt
commit c5ab576929
6 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# Xtensa board configuration
# Copyright (c) 2021 NXP
# SPDX-License-Identifier: Apache-2.0
config BOARD_NXP_ADSP_IMX8
bool "NXP ADSP i.MX8"

View file

@ -0,0 +1,19 @@
# Copyright (c) 2021 NXP
#
# SPDX-License-Identifier: Apache-2.0
if BOARD_NXP_ADSP_IMX8
config BOARD
default "nxp_adsp_imx8"
config DUMMY_DMA
default y
depends on DMA
config IMX_EDMA
default y
depends on DMA
endif # BOARD_NXP_ADSP_IMX8

View file

@ -0,0 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
board_set_flasher_ifnset(misc-flasher)
board_finalize_runner_args(misc-flasher)

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2021 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nxp/nxp_imx8.dtsi>
/ {
model = "nxp_adsp_imx8";
compatible = "nxp";
chosen {
zephyr,sram = &sram0;
};
};

View file

@ -0,0 +1,10 @@
identifier: nxp_adsp_imx8
name: i.MX8 DSP
type: mcu
arch: xtensa
toolchain:
- zephyr
testing:
only_tags:
- kernel
- sof

View file

@ -0,0 +1,20 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_MAIN_STACK_SIZE=3072
CONFIG_SOC_SERIES_NXP_IMX8=y
CONFIG_BOARD_NXP_ADSP_IMX8=y
CONFIG_GEN_ISR_TABLES=y
CONFIG_GEN_IRQ_VECTOR_TABLE=n
CONFIG_XTENSA_RESET_VECTOR=y
CONFIG_XTENSA_USE_CORE_CRT1=y
CONFIG_MULTI_LEVEL_INTERRUPTS=n
CONFIG_2ND_LEVEL_INTERRUPTS=n
CONFIG_BOOTLOADER_SRAM_SIZE=192
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_CLEANUP_INTERMEDIATE_FILES=y