2019-08-01 20:47:31 +02:00
|
|
|
# Nordic Semiconductor nRF53 MCU line
|
|
|
|
|
|
|
|
# Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config SOC_NRF5340_CPUAPP
|
|
|
|
depends on SOC_SERIES_NRF53X
|
|
|
|
bool
|
|
|
|
select CPU_HAS_NRF_IDAU
|
|
|
|
select CPU_HAS_FPU
|
|
|
|
select ARMV8_M_DSP
|
|
|
|
select HAS_HW_NRF_CC312
|
|
|
|
select HAS_HW_NRF_CLOCK
|
|
|
|
select HAS_HW_NRF_DPPIC
|
|
|
|
select HAS_HW_NRF_EGU0
|
|
|
|
select HAS_HW_NRF_EGU1
|
|
|
|
select HAS_HW_NRF_EGU2
|
|
|
|
select HAS_HW_NRF_EGU3
|
|
|
|
select HAS_HW_NRF_EGU4
|
|
|
|
select HAS_HW_NRF_EGU5
|
|
|
|
select HAS_HW_NRF_GPIO0
|
|
|
|
select HAS_HW_NRF_GPIO1
|
|
|
|
select HAS_HW_NRF_GPIOTE
|
|
|
|
select HAS_HW_NRF_I2S
|
|
|
|
select HAS_HW_NRF_IPC
|
2019-12-16 12:09:57 +01:00
|
|
|
select HAS_HW_NRF_NFCT
|
2020-03-11 11:46:48 +01:00
|
|
|
select HAS_HW_NRF_NVMC_PE
|
2019-08-01 20:47:31 +02:00
|
|
|
select HAS_HW_NRF_PDM
|
|
|
|
select HAS_HW_NRF_POWER
|
|
|
|
select HAS_HW_NRF_PWM0
|
|
|
|
select HAS_HW_NRF_PWM1
|
|
|
|
select HAS_HW_NRF_PWM2
|
2020-01-24 16:22:50 +01:00
|
|
|
select HAS_HW_NRF_PWM3
|
2021-02-12 15:44:06 +01:00
|
|
|
select HAS_HW_NRF_QDEC0
|
|
|
|
select HAS_HW_NRF_QDEC1
|
2020-10-21 08:45:15 +02:00
|
|
|
select HAS_HW_NRF_QSPI
|
2019-08-01 20:47:31 +02:00
|
|
|
select HAS_HW_NRF_RTC0
|
|
|
|
select HAS_HW_NRF_RTC1
|
|
|
|
select HAS_HW_NRF_SAADC
|
|
|
|
select HAS_HW_NRF_SPIM0
|
|
|
|
select HAS_HW_NRF_SPIM1
|
|
|
|
select HAS_HW_NRF_SPIM2
|
2020-01-24 16:22:50 +01:00
|
|
|
select HAS_HW_NRF_SPIM3
|
|
|
|
select HAS_HW_NRF_SPIM4
|
2019-08-01 20:47:31 +02:00
|
|
|
select HAS_HW_NRF_SPIS0
|
|
|
|
select HAS_HW_NRF_SPIS1
|
2020-01-24 16:22:50 +01:00
|
|
|
select HAS_HW_NRF_SPIS2
|
|
|
|
select HAS_HW_NRF_SPIS3
|
2019-08-01 20:47:31 +02:00
|
|
|
select HAS_HW_NRF_SPU
|
|
|
|
select HAS_HW_NRF_TIMER0
|
|
|
|
select HAS_HW_NRF_TIMER1
|
|
|
|
select HAS_HW_NRF_TIMER2
|
|
|
|
select HAS_HW_NRF_TWIM0
|
|
|
|
select HAS_HW_NRF_TWIM1
|
2020-01-24 16:22:50 +01:00
|
|
|
select HAS_HW_NRF_TWIM2
|
|
|
|
select HAS_HW_NRF_TWIM3
|
2019-08-01 20:47:31 +02:00
|
|
|
select HAS_HW_NRF_TWIS0
|
|
|
|
select HAS_HW_NRF_TWIS1
|
2020-01-24 16:22:50 +01:00
|
|
|
select HAS_HW_NRF_TWIS2
|
|
|
|
select HAS_HW_NRF_TWIS3
|
2019-08-01 20:47:31 +02:00
|
|
|
select HAS_HW_NRF_UARTE0
|
|
|
|
select HAS_HW_NRF_UARTE1
|
2020-01-24 16:22:50 +01:00
|
|
|
select HAS_HW_NRF_UARTE2
|
|
|
|
select HAS_HW_NRF_UARTE3
|
|
|
|
select HAS_HW_NRF_USBD
|
|
|
|
select HAS_HW_NRF_USBREG
|
|
|
|
select HAS_HW_NRF_WDT0
|
|
|
|
select HAS_HW_NRF_WDT1
|
2019-08-01 20:47:31 +02:00
|
|
|
|
2019-08-07 10:52:32 +02:00
|
|
|
config SOC_NRF5340_CPUNET
|
|
|
|
depends on SOC_SERIES_NRF53X
|
|
|
|
bool
|
2020-01-15 11:16:13 +01:00
|
|
|
select HAS_HW_NRF_ACL
|
2019-08-07 10:52:32 +02:00
|
|
|
select HAS_HW_NRF_CLOCK
|
2020-09-15 16:45:38 +02:00
|
|
|
select HAS_HW_NRF_CCM
|
|
|
|
select HAS_HW_NRF_CCM_LFLEN_8BIT
|
2019-08-07 10:52:32 +02:00
|
|
|
select HAS_HW_NRF_DPPIC
|
|
|
|
select HAS_HW_NRF_EGU0
|
|
|
|
select HAS_HW_NRF_GPIO0
|
|
|
|
select HAS_HW_NRF_GPIO1
|
|
|
|
select HAS_HW_NRF_GPIOTE
|
|
|
|
select HAS_HW_NRF_IPC
|
2020-03-11 11:46:48 +01:00
|
|
|
select HAS_HW_NRF_NVMC_PE
|
2019-08-07 10:52:32 +02:00
|
|
|
select HAS_HW_NRF_POWER
|
2020-09-15 16:45:38 +02:00
|
|
|
select HAS_HW_NRF_RADIO_BLE_2M
|
2019-08-07 10:52:32 +02:00
|
|
|
select HAS_HW_NRF_RADIO_BLE_CODED
|
|
|
|
select HAS_HW_NRF_RADIO_IEEE802154
|
|
|
|
select HAS_HW_NRF_RNG
|
|
|
|
select HAS_HW_NRF_RTC0
|
|
|
|
select HAS_HW_NRF_RTC1
|
|
|
|
select HAS_HW_NRF_SPIM0
|
|
|
|
select HAS_HW_NRF_SPIS0
|
|
|
|
select HAS_HW_NRF_TEMP
|
|
|
|
select HAS_HW_NRF_TIMER0
|
|
|
|
select HAS_HW_NRF_TIMER1
|
|
|
|
select HAS_HW_NRF_TIMER2
|
|
|
|
select HAS_HW_NRF_TWIM0
|
|
|
|
select HAS_HW_NRF_TWIS0
|
|
|
|
select HAS_HW_NRF_UARTE0
|
|
|
|
select HAS_HW_NRF_WDT
|
2021-01-30 13:25:21 +01:00
|
|
|
select HAS_NO_SYS_PM
|
2019-08-07 10:52:32 +02:00
|
|
|
|
2019-08-01 20:47:31 +02:00
|
|
|
choice
|
|
|
|
prompt "nRF53x MCU Selection"
|
|
|
|
depends on SOC_SERIES_NRF53X
|
|
|
|
|
|
|
|
config SOC_NRF5340_CPUAPP_QKAA
|
|
|
|
bool "NRF5340_CPUAPP_QKAA"
|
|
|
|
select SOC_NRF5340_CPUAPP
|
|
|
|
|
2019-08-07 10:52:32 +02:00
|
|
|
config SOC_NRF5340_CPUNET_QKAA
|
|
|
|
bool "NRF5340_CPUNET_QKAA"
|
|
|
|
select SOC_NRF5340_CPUNET
|
|
|
|
|
2019-08-01 20:47:31 +02:00
|
|
|
endchoice
|
|
|
|
|
2019-11-12 07:09:42 +01:00
|
|
|
|
|
|
|
if SOC_NRF5340_CPUAPP
|
|
|
|
|
|
|
|
config SOC_DCDC_NRF53X_APP
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Enable nRF53 series System on Chip Application MCU DC/DC converter.
|
|
|
|
|
|
|
|
config SOC_DCDC_NRF53X_NET
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Enable nRF53 series System on Chip Network MCU DC/DC converter.
|
|
|
|
|
|
|
|
config SOC_DCDC_NRF53X_HV
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Enable nRF53 series System on Chip High Voltage DC/DC converter.
|
|
|
|
|
2020-11-10 15:51:40 +01:00
|
|
|
config SOC_ENABLE_LFXO
|
|
|
|
bool "Enable LFXO"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable the low-frequency oscillator (LFXO) functionality on XL1 and
|
|
|
|
XL2 pins.
|
|
|
|
This option must be enabled if either application or network core is
|
|
|
|
to use the LFXO. Otherwise, XL1 and XL2 pins will behave as regular
|
|
|
|
GPIOs.
|
|
|
|
|
2019-11-12 07:09:42 +01:00
|
|
|
endif # SOC_NRF5340_CPUAPP
|
|
|
|
|
|
|
|
|
2019-08-01 20:47:31 +02:00
|
|
|
config NRF_ENABLE_CACHE
|
|
|
|
bool "Enable cache"
|
2019-08-07 10:52:32 +02:00
|
|
|
depends on (SOC_NRF5340_CPUAPP && !TRUSTED_EXECUTION_NONSECURE) \
|
|
|
|
|| SOC_NRF5340_CPUNET
|
2019-08-01 20:47:31 +02:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Instruction and Data cache is available on nRF5340 CPUAPP
|
|
|
|
(Application MCU). It may only be accessed by Secure code.
|
|
|
|
|
|
|
|
Instruction cache only (I-Cache) is available in nRF5340
|
|
|
|
CPUNET (Network MCU).
|