From abd767aaace25900b25210edce0e1af92bad231f Mon Sep 17 00:00:00 2001 From: Laurentiu Mihalcea Date: Wed, 25 Sep 2024 14:14:28 +0300 Subject: [PATCH] app: boards: add DTS and config overlay for imx95 Add DTS and configuration overlay for the imx95 platform. Signed-off-by: Laurentiu Mihalcea --- app/boards/imx95_evk_mimx9596_m7_ddr.conf | 11 +++++++++ app/boards/imx95_evk_mimx9596_m7_ddr.overlay | 25 ++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 app/boards/imx95_evk_mimx9596_m7_ddr.conf create mode 100644 app/boards/imx95_evk_mimx9596_m7_ddr.overlay diff --git a/app/boards/imx95_evk_mimx9596_m7_ddr.conf b/app/boards/imx95_evk_mimx9596_m7_ddr.conf new file mode 100644 index 000000000000..e3a0c5659c7d --- /dev/null +++ b/app/boards/imx95_evk_mimx9596_m7_ddr.conf @@ -0,0 +1,11 @@ +CONFIG_DYNAMIC_INTERRUPTS=y +CONFIG_TRACE=n +CONFIG_ZEPHYR_NATIVE_DRIVERS=y +CONFIG_IMX95=y + +CONFIG_SAI_HAS_MCLK_CONFIG_OPTION=y + +CONFIG_DMA=y +CONFIG_DMA_NXP_EDMA_ENABLE_HALFMAJOR_IRQ=y + +CONFIG_SHARED_INTERRUPTS=y diff --git a/app/boards/imx95_evk_mimx9596_m7_ddr.overlay b/app/boards/imx95_evk_mimx9596_m7_ddr.overlay new file mode 100644 index 000000000000..34882b5d59fd --- /dev/null +++ b/app/boards/imx95_evk_mimx9596_m7_ddr.overlay @@ -0,0 +1,25 @@ +/* + * Copyright 2024 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + host_dma: dma { + compatible = "nxp,sof-host-dma"; + dma-channels = <32>; + #dma-cells = <0>; + }; +}; + +&sai3 { + tx-fifo-watermark = <8>; + rx-fifo-watermark = <96>; + fifo-depth = <96>; + rx-sync-mode = <1>; + status = "okay"; +}; + +&edma2 { + status = "okay"; +};