soc: nordic: Add initial support for nRF54H20
Add Kconfig symbols that allow building for the nRF54H20 (not EngA) SoC. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
e977a8d623
commit
4011015fb4
|
@ -5,7 +5,7 @@ CPU_PATH := $(dt_nodelabel_path,cpu)
|
|||
CPU_ID := $(dt_node_reg_addr_int,$(CPU_PATH))
|
||||
|
||||
config RV_BOOT_HART
|
||||
default $(CPU_ID)
|
||||
default $(CPU_ID) if SOC_NRF54H20_ENGA_CPUPPR
|
||||
|
||||
config RISCV_MCAUSE_EXCEPTION_MASK
|
||||
default 0xFFF
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if(CONFIG_SOC_NRF54H20_ENGA_CPUAPP OR CONFIG_SOC_NRF54H20_ENGA_CPURAD)
|
||||
if(CONFIG_ARM)
|
||||
zephyr_include_directories(.)
|
||||
zephyr_library_sources(soc.c)
|
||||
endif()
|
||||
|
|
|
@ -7,6 +7,31 @@ config SOC_SERIES_NRF54HX
|
|||
select HAS_NRFX
|
||||
select HAS_NORDIC_DRIVERS
|
||||
|
||||
config SOC_NRF54H20_CPUAPP
|
||||
select ARM
|
||||
select ARMV8_M_DSP
|
||||
select CPU_CORTEX_M33
|
||||
select CPU_HAS_ARM_MPU
|
||||
select CPU_HAS_ARM_SAU
|
||||
select CPU_HAS_DCACHE
|
||||
select CPU_HAS_ICACHE
|
||||
select CPU_HAS_FPU
|
||||
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
|
||||
|
||||
config SOC_NRF54H20_CPURAD
|
||||
select ARM
|
||||
select ARMV8_M_DSP
|
||||
select CPU_CORTEX_M33
|
||||
select CPU_HAS_ARM_MPU
|
||||
select CPU_HAS_ARM_SAU
|
||||
select CPU_HAS_DCACHE
|
||||
select CPU_HAS_ICACHE
|
||||
select CPU_HAS_FPU
|
||||
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
|
||||
|
||||
config SOC_NRF54H20_CPUPPR
|
||||
depends on RISCV_CORE_NORDIC_VPR
|
||||
|
||||
config SOC_NRF54H20_ENGA_CPUAPP
|
||||
select ARM
|
||||
select ARMV8_M_DSP
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
# Nordic Semiconductor nRF54H20 Application MCU
|
||||
|
||||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_NRF54H20_CPUAPP
|
||||
|
||||
config NUM_IRQS
|
||||
default 471
|
||||
|
||||
config NRF_REGTOOL_GENERATE_UICR
|
||||
default y
|
||||
|
||||
endif # SOC_NRF54H20_CPUAPP
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_NRF54H20_CPUPPR
|
||||
|
||||
config NUM_IRQS
|
||||
default 496
|
||||
|
||||
config SYS_CLOCK_TICKS_PER_SEC
|
||||
default 1000
|
||||
|
||||
endif # SOC_NRF54H20_CPUPPR
|
|
@ -0,0 +1,14 @@
|
|||
# Nordic Semiconductor nRF54H20 Radio MCU
|
||||
|
||||
# Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_NRF54H20_CPURAD
|
||||
|
||||
config NUM_IRQS
|
||||
default 471
|
||||
|
||||
config NRF_REGTOOL_GENERATE_UICR
|
||||
default y
|
||||
|
||||
endif # SOC_NRF54H20_CPURAD
|
|
@ -9,6 +9,24 @@ config SOC_NRF54H20
|
|||
help
|
||||
nRF54H20
|
||||
|
||||
config SOC_NRF54H20_CPUAPP
|
||||
bool
|
||||
select SOC_NRF54H20
|
||||
help
|
||||
nRF54H20 CPUAPP
|
||||
|
||||
config SOC_NRF54H20_CPURAD
|
||||
bool
|
||||
select SOC_NRF54H20
|
||||
help
|
||||
nRF54H20 CPURAD
|
||||
|
||||
config SOC_NRF54H20_CPUPPR
|
||||
bool
|
||||
select SOC_NRF54H20
|
||||
help
|
||||
nRF54H20 CPUPPR
|
||||
|
||||
config SOC_NRF54H20_ENGA_CPUAPP
|
||||
bool
|
||||
select SOC_NRF54H20
|
||||
|
|
Loading…
Reference in New Issue