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:
parent
ff76b12287
commit
8373db572f
4 changed files with 25 additions and 0 deletions
|
@ -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
|
||||
|
|
9
soc/arm/mps2/Kconfig.defconfig.an383
Normal file
9
soc/arm/mps2/Kconfig.defconfig.an383
Normal 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
|
|
@ -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
|
||||
|
|
|
@ -3,6 +3,7 @@ family:
|
|||
series:
|
||||
- name: mps2
|
||||
socs:
|
||||
- name: an383
|
||||
- name: an385
|
||||
- name: an521
|
||||
cpuclusters:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue