soc: arm: nordic_nrf: nrf91: add nRF9151 LACA

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

Signed-off-by: Maximilian Deubel <maximilian.deubel@nordicsemi.no>
This commit is contained in:
Maximilian Deubel 2023-12-04 16:47:01 +01:00 committed by Carles Cufí
parent 640712054e
commit 84f4ffce7c
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,nrf9151-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,nrf9151-laca", "nordic,nrf9120",
"nordic,nrf91", "simple-bus";
};
};

View file

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

View file

@ -34,6 +34,10 @@ config SOC_NRF9131_LACA
bool "NRF9131_LACA"
select SOC_NRF9120
config SOC_NRF9151_LACA
bool "NRF9151_LACA"
select SOC_NRF9120
endchoice
config NRF_ENABLE_ICACHE