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:
Carles Cufi 2023-07-26 15:51:05 +02:00 committed by Fabio Baltieri
commit b140963557
3 changed files with 42 additions and 1 deletions

View 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";
};
};

View 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

View file

@ -68,6 +68,10 @@ config SOC_NRF52833_QIAA
bool "NRF52833_QIAA"
select SOC_NRF52833
config SOC_NRF52840_QFAA
bool "NRF52840_QFAA"
select SOC_NRF52840
config SOC_NRF52840_QIAA
bool "NRF52840_QIAA"
select SOC_NRF52840
@ -81,7 +85,7 @@ config SOC_DCDC_NRF52X
config SOC_DCDC_NRF52X_HV
bool
depends on SOC_NRF52840
depends on SOC_NRF52840_QIAA
help
Enable nRF52 series System on Chip High Voltage DC/DC converter.