From 5141359406a3c6d83971812ac9447b86866d6f22 Mon Sep 17 00:00:00 2001 From: Laurentiu Mihalcea Date: Wed, 8 Nov 2023 12:39:31 +0200 Subject: [PATCH] app: boards: Add overlays for i.MX8QM and i.MX8QXP This commit is needed because the current Linux kernel version used in our internal testing doesn't contain the patches that enable MU2's power. As such, to avoid failures in the internal tests, disable the CCM and LPUART2 IPs. Signed-off-by: Laurentiu Mihalcea --- app/boards/nxp_adsp_imx8.overlay | 18 ++++++++++++++++++ app/boards/nxp_adsp_imx8x.overlay | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 app/boards/nxp_adsp_imx8.overlay create mode 100644 app/boards/nxp_adsp_imx8x.overlay diff --git a/app/boards/nxp_adsp_imx8.overlay b/app/boards/nxp_adsp_imx8.overlay new file mode 100644 index 000000000000..c9b62545c2c8 --- /dev/null +++ b/app/boards/nxp_adsp_imx8.overlay @@ -0,0 +1,18 @@ +/* + * Copyright 2023 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* TODO: this is a temporary workaround the fact that + * currently the Linux kernel doesn't enable MU2's power. + * As such, CCM (and all IPs that depend on Zephyr's + * clock management) are not usable. + */ +&lpuart2 { + status = "disabled"; +}; + +&ccm { + status = "disabled"; +}; diff --git a/app/boards/nxp_adsp_imx8x.overlay b/app/boards/nxp_adsp_imx8x.overlay new file mode 100644 index 000000000000..c9b62545c2c8 --- /dev/null +++ b/app/boards/nxp_adsp_imx8x.overlay @@ -0,0 +1,18 @@ +/* + * Copyright 2023 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* TODO: this is a temporary workaround the fact that + * currently the Linux kernel doesn't enable MU2's power. + * As such, CCM (and all IPs that depend on Zephyr's + * clock management) are not usable. + */ +&lpuart2 { + status = "disabled"; +}; + +&ccm { + status = "disabled"; +};