soc: arm: mps2: Add support for mps2/an386 soc

Added new mps2 soc an386 to enable testing with ARM FVP.

Signed-off-by: Samuel Chee <samche01@arm.com>
This commit is contained in:
Samuel Chee 2025-01-09 13:52:05 +00:00 committed by Benjamin Cabé
commit bc46e51f09
4 changed files with 22 additions and 0 deletions

View file

@ -20,6 +20,11 @@ config SOC_MPS2_AN385
select CPU_CORTEX_M3
select CPU_HAS_ARM_MPU
config SOC_MPS2_AN386
select CPU_CORTEX_M4
select CPU_HAS_ARM_MPU
select CPU_HAS_VFP
config SOC_MPS2_AN521_CPU0
select CPU_HAS_ARM_SAU

View file

@ -0,0 +1,9 @@
# Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
if SOC_MPS2_AN386
config NUM_IRQS
default 32
endif

View file

@ -20,6 +20,12 @@ config SOC_MPS2_AN385
help
ARM Cortex-M3 SMM on V2M-MPS2 (Application Note AN385)
config SOC_MPS2_AN386
bool
select SOC_SERIES_MPS2
help
ARM Cortex-M4 SMM on V2M-MPS2 (Application Note AN386)
config SOC_MPS2_AN521
bool
select SOC_SERIES_MPS2
@ -42,4 +48,5 @@ config SOC_SERIES
config SOC
default "an383" if SOC_MPS2_AN383
default "an385" if SOC_MPS2_AN385
default "an386" if SOC_MPS2_AN386
default "an521" if SOC_MPS2_AN521

View file

@ -5,6 +5,7 @@ family:
socs:
- name: an383
- name: an385
- name: an386
- name: an521
cpuclusters:
- name: cpu0