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:
parent
640712054e
commit
84f4ffce7c
4 changed files with 64 additions and 0 deletions
23
dts/arm/nordic/nrf9151_laca.dtsi
Normal file
23
dts/arm/nordic/nrf9151_laca.dtsi
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
23
dts/arm/nordic/nrf9151ns_laca.dtsi
Normal file
23
dts/arm/nordic/nrf9151ns_laca.dtsi
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
14
soc/arm/nordic_nrf/nrf91/Kconfig.defconfig.nrf9151_LACA
Normal file
14
soc/arm/nordic_nrf/nrf91/Kconfig.defconfig.nrf9151_LACA
Normal 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
|
|
@ -34,6 +34,10 @@ config SOC_NRF9131_LACA
|
||||||
bool "NRF9131_LACA"
|
bool "NRF9131_LACA"
|
||||||
select SOC_NRF9120
|
select SOC_NRF9120
|
||||||
|
|
||||||
|
config SOC_NRF9151_LACA
|
||||||
|
bool "NRF9151_LACA"
|
||||||
|
select SOC_NRF9120
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config NRF_ENABLE_ICACHE
|
config NRF_ENABLE_ICACHE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue