soc: nordic: nrf54: add nRF54L20 FLPR core

Added support for nRF54L20 FLPR core in soc dir.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
This commit is contained in:
Michał Stasiak 2024-09-26 15:18:40 +02:00 committed by Benjamin Cabé
commit ce8a66dd65
6 changed files with 23 additions and 2 deletions

View file

@ -4,7 +4,7 @@
config VPR_LAUNCHER
bool "VPR launcher"
default y
depends on (SOC_NRF54H20_CPUPPR || SOC_NRF54H20_CPUFLPR || SOC_NRF54L15_CPUFLPR || SOC_NRF9280_CPUPPR)
depends on (SOC_NRF54H20_CPUPPR || SOC_NRF54H20_CPUFLPR || SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF9280_CPUPPR)
help
Include VPR launcher in build.
VPR launcher is a minimal sample built for an ARM core that starts given VPR core.

View file

@ -46,6 +46,9 @@ config SOC_NRF54L15_CPUFLPR
config SOC_NRF54L20_ENGA_CPUAPP
select SOC_NRF54L_CPUAPP_COMMON
config SOC_NRF54L20_ENGA_CPUFLPR
select RISCV_CORE_NORDIC_VPR
if SOC_SERIES_NRF54LX
config SOC_NRF54LX_SKIP_CLOCK_CONFIG

View file

@ -0,0 +1,11 @@
# Nordic Semiconductor nRF54L20 MCU
# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if SOC_NRF54L20_ENGA_CPUFLPR
config NUM_IRQS
default 306
endif # SOC_NRF54L20_ENGA_CPUFLPR

View file

@ -93,6 +93,12 @@ config SOC_NRF54L20_ENGA_CPUAPP
help
NRF54L20 ENGA CPUAPP
config SOC_NRF54L20_ENGA_CPUFLPR
bool
select SOC_NRF54L20_ENGA
help
NRF54L20 ENGA CPUFLPR
config SOC
default "nrf54l05" if SOC_NRF54L05
default "nrf54l09" if SOC_NRF54L09

View file

@ -39,6 +39,7 @@ family:
- name: nrf54l20
cpuclusters:
- name: cpuapp
- name: cpuflpr
- name: nrf54h
socs:
- name: nrf54h20

View file

@ -339,7 +339,7 @@ CHECK_DT_REG(usbreg, NRF_USBREGULATOR);
CHECK_DT_REG(vmc, NRF_VMC);
CHECK_DT_REG(cpuflpr_clic, NRF_FLPR_VPRCLIC);
CHECK_DT_REG(cpuppr_clic, NRF_PPR_VPRCLIC);
#if defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || defined(CONFIG_SOC_NRF54L15)
#if defined(CONFIG_SOC_SERIES_NRF54LX)
CHECK_DT_REG(cpuflpr_vpr, NRF_VPR00);
#elif defined(CONFIG_NRF_PLATFORM_HALTIUM)
CHECK_DT_REG(cpuflpr_vpr, NRF_VPR121);