soc: nordic_nrf: Add nRF52840 QFAA variant
This variant has fewer pins. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
88f161778a
commit
b140963557
3 changed files with 42 additions and 1 deletions
23
dts/arm/nordic/nrf52840_qfaa.dtsi
Normal file
23
dts/arm/nordic/nrf52840_qfaa.dtsi
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Nordic Semiconductor ASA
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <mem.h>
|
||||||
|
#include <nordic/nrf52840.dtsi>
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
reg = <0x00000000 DT_SIZE_K(1024)>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&sram0 {
|
||||||
|
reg = <0x20000000 DT_SIZE_K(256)>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/ {
|
||||||
|
soc {
|
||||||
|
compatible = "nordic,nRF52840-QFAA", "nordic,nRF52840",
|
||||||
|
"nordic,nRF52", "simple-bus";
|
||||||
|
};
|
||||||
|
};
|
14
soc/arm/nordic_nrf/nrf52/Kconfig.defconfig.nrf52840_QFAA
Normal file
14
soc/arm/nordic_nrf/nrf52/Kconfig.defconfig.nrf52840_QFAA
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Nordic Semiconductor nRF52840 MCU
|
||||||
|
|
||||||
|
# Copyright (c) 2023 Nordic Semiconductor ASA
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
if SOC_NRF52840_QFAA
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
default "nRF52840_QFAA"
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
default 48
|
||||||
|
|
||||||
|
endif # SOC_NRF52840_QFAA
|
|
@ -68,6 +68,10 @@ config SOC_NRF52833_QIAA
|
||||||
bool "NRF52833_QIAA"
|
bool "NRF52833_QIAA"
|
||||||
select SOC_NRF52833
|
select SOC_NRF52833
|
||||||
|
|
||||||
|
config SOC_NRF52840_QFAA
|
||||||
|
bool "NRF52840_QFAA"
|
||||||
|
select SOC_NRF52840
|
||||||
|
|
||||||
config SOC_NRF52840_QIAA
|
config SOC_NRF52840_QIAA
|
||||||
bool "NRF52840_QIAA"
|
bool "NRF52840_QIAA"
|
||||||
select SOC_NRF52840
|
select SOC_NRF52840
|
||||||
|
@ -81,7 +85,7 @@ config SOC_DCDC_NRF52X
|
||||||
|
|
||||||
config SOC_DCDC_NRF52X_HV
|
config SOC_DCDC_NRF52X_HV
|
||||||
bool
|
bool
|
||||||
depends on SOC_NRF52840
|
depends on SOC_NRF52840_QIAA
|
||||||
help
|
help
|
||||||
Enable nRF52 series System on Chip High Voltage DC/DC converter.
|
Enable nRF52 series System on Chip High Voltage DC/DC converter.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue