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

Added new mps2 soc an383 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:47:38 +00:00 committed by Benjamin Cabé
commit 8373db572f
4 changed files with 25 additions and 0 deletions

View file

@ -1,4 +1,5 @@
# Copyright (c) 2017-2019 Linaro Limited
# Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
config SOC_SERIES_MPS2
@ -9,6 +10,12 @@ config SOC_MPS2_AN521
select CPU_CORTEX_M33
select CPU_HAS_ARM_MPU
config SOC_MPS2_AN383
select CPU_CORTEX_M0PLUS
select CPU_HAS_ARM_MPU
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_VTOR
config SOC_MPS2_AN385
select CPU_CORTEX_M3
select CPU_HAS_ARM_MPU

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_AN383
config NUM_IRQS
default 32
endif

View file

@ -1,4 +1,5 @@
# Copyright (c) 2017-2019 Linaro Limited
# Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
config SOC_SERIES_MPS2
@ -7,6 +8,12 @@ config SOC_SERIES_MPS2
help
Enable support for ARM MPS2 MCU Series
config SOC_MPS2_AN383
bool
select SOC_SERIES_MPS2
help
ARM Cortex-M0+ SMM on V2M-MPS2 (Application Note AN383)
config SOC_MPS2_AN385
bool
select SOC_SERIES_MPS2
@ -33,5 +40,6 @@ config SOC_SERIES
default "mps2" if SOC_SERIES_MPS2
config SOC
default "an383" if SOC_MPS2_AN383
default "an385" if SOC_MPS2_AN385
default "an521" if SOC_MPS2_AN521

View file

@ -3,6 +3,7 @@ family:
series:
- name: mps2
socs:
- name: an383
- name: an385
- name: an521
cpuclusters: