soc: arm: nordic_nrf: nrf91: add nRF9131 LACA

This patch adds definitions for the nRF9131,
which is software-compatible with nRF9161.

Signed-off-by: Maximilian Deubel <maximilian.deubel@nordicsemi.no>
This commit is contained in:
Maximilian Deubel 2023-08-22 10:22:08 +02:00 committed by Carles Cufí
commit dc954977b7
4 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,23 @@
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <nordic/nrf91.dtsi>
&flash0 {
reg = <0x00000000 DT_SIZE_K(1024)>;
};
&sram0 {
reg = <0x20000000 DT_SIZE_K(256)>;
};
/ {
soc {
compatible = "nordic,nrf9131-laca", "nordic,nrf9120",
"nordic,nrf91", "simple-bus";
};
};

View file

@ -0,0 +1,23 @@
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <nordic/nrf91ns.dtsi>
&flash0 {
reg = <0x00000000 DT_SIZE_K(1024)>;
};
&sram0 {
reg = <0x20000000 DT_SIZE_K(256)>;
};
/ {
soc {
compatible = "nordic,nrf9131-laca", "nordic,nrf9120",
"nordic,nrf91", "simple-bus";
};
};

View file

@ -0,0 +1,14 @@
# Nordic Semiconductor nRF9131 MCU
# Copyright (c) 2023 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if SOC_NRF9131_LACA
config SOC
default "nRF9131_LACA"
config NUM_IRQS
default 65
endif # SOC_NRF9131_LACA

View file

@ -30,6 +30,10 @@ config SOC_NRF9161_SICA
bool "NRF9161_SICA"
select SOC_NRF9120
config SOC_NRF9131_LACA
bool "NRF9131_LACA"
select SOC_NRF9120
endchoice
config NRF_ENABLE_ICACHE