Skip to content

Commit 0c545f2

Browse files
AndreHeinemans-NXPkartben
authored andcommitted
boards: imx95_evk: add flash target
Add target for imx95-evk that runs code from the mt35xu01gbba external flash connected through flexspi Signed-off-by: Andre Heinemans <[email protected]>
1 parent c0a2928 commit 0c545f2

File tree

7 files changed

+60
-1
lines changed

7 files changed

+60
-1
lines changed

boards/nxp/imx95_evk/Kconfig.imx95_evk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config BOARD_IMX95_EVK
5-
select SOC_MIMX9596_M7 if BOARD_IMX95_EVK_MIMX9596_M7 || BOARD_IMX95_EVK_MIMX9596_M7_DDR
5+
select SOC_MIMX9596_M7 if BOARD_IMX95_EVK_MIMX9596_M7 || BOARD_IMX95_EVK_MIMX9596_M7_DDR || BOARD_IMX95_EVK_MIMX9596_M7_FLASH
66
select SOC_MIMX9596_A55 if BOARD_IMX95_EVK_MIMX9596_A55 || BOARD_IMX95_EVK_MIMX9596_A55_SMP
77
select SOC_PART_NUMBER_MIMX9596AVZXN

boards/nxp/imx95_evk/board.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ board:
99
cpucluster: a55
1010
- name: ddr
1111
cpucluster: m7
12+
- name: flash
13+
cpucluster: m7
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/dts-v1/;
8+
9+
#include "imx95_evk_mimx9596_m7.dts"
10+
11+
/ {
12+
model = "NXP i.MX95 EVK board NOR flash variant";
13+
14+
chosen {
15+
zephyr,flash = &mt35xu01gbba;
16+
zephyr,code-partition = &slot0_partition;
17+
};
18+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Copyright 2025 NXP
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
identifier: imx95_evk/mimx9596/m7/flash
8+
name: NXP i.MX95 EVK NOR flash variant
9+
type: mcu
10+
arch: arm
11+
ram: 256
12+
flash: 256
13+
toolchain:
14+
- zephyr
15+
- gnuarmemb
16+
supported:
17+
- uart
18+
vendor: nxp
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# Copyright 2025 NXP
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
CONFIG_CLOCK_CONTROL=y
8+
CONFIG_SERIAL=y
9+
CONFIG_UART_CONSOLE=y
10+
CONFIG_UART_INTERRUPT_DRIVEN=y
11+
CONFIG_CONSOLE=y
12+
CONFIG_XIP=y
13+
CONFIG_MBOX=y
14+
CONFIG_MBOX_INIT_PRIORITY=0
15+
CONFIG_ARM_SCMI=y
16+
CONFIG_ARM_SCMI_NXP_VENDOR_EXTENSIONS=y
17+
18+
CONFIG_FLASH_BASE_ADDRESS=0x2000000
19+
CONFIG_FLASH_SIZE=131072

tests/arch/arm/arm_custom_interrupt/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ tests:
1111
platform_exclude:
1212
- imx95_evk/mimx9596/m7
1313
- imx95_evk/mimx9596/m7/ddr
14+
- imx95_evk/mimx9596/m7/flash

tests/arch/arm/arm_irq_vector_table/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ tests:
1313
- mr_canhubk3
1414
- imx95_evk/mimx9596/m7
1515
- imx95_evk/mimx9596/m7/ddr
16+
- imx95_evk/mimx9596/m7/flash

0 commit comments

Comments
 (0)