Skip to content

Commit 1f96744

Browse files
committed
[nrf fromtree] 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 <[email protected]> (cherry picked from commit efa030b32c874ea6840d509b1a80002497239bc7)
1 parent 47a6777 commit 1f96744

File tree

4 files changed

+64
-0
lines changed

4 files changed

+64
-0
lines changed

dts/arm/nordic/nrf9151_laca.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2023 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <nordic/nrf91.dtsi>
9+
10+
&flash0 {
11+
reg = <0x00000000 DT_SIZE_K(1024)>;
12+
};
13+
14+
&sram0 {
15+
reg = <0x20000000 DT_SIZE_K(256)>;
16+
};
17+
18+
/ {
19+
soc {
20+
compatible = "nordic,nrf9151-laca", "nordic,nrf9120",
21+
"nordic,nrf91", "simple-bus";
22+
};
23+
};

dts/arm/nordic/nrf9151ns_laca.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2023 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <nordic/nrf91ns.dtsi>
9+
10+
&flash0 {
11+
reg = <0x00000000 DT_SIZE_K(1024)>;
12+
};
13+
14+
&sram0 {
15+
reg = <0x20000000 DT_SIZE_K(256)>;
16+
};
17+
18+
/ {
19+
soc {
20+
compatible = "nordic,nrf9151-laca", "nordic,nrf9120",
21+
"nordic,nrf91", "simple-bus";
22+
};
23+
};
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Nordic Semiconductor nRF9151 MCU
2+
3+
# Copyright (c) 2023 Nordic Semiconductor ASA
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
if SOC_NRF9151_LACA
7+
8+
config SOC
9+
default "nRF9151_LACA"
10+
11+
config NUM_IRQS
12+
default 65
13+
14+
endif # SOC_NRF9151_LACA

soc/arm/nordic_nrf/nrf91/Kconfig.soc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ config SOC_NRF9131_LACA
3434
bool "NRF9131_LACA"
3535
select SOC_NRF9120
3636

37+
config SOC_NRF9151_LACA
38+
bool "NRF9151_LACA"
39+
select SOC_NRF9120
40+
3741
endchoice
3842

3943
config NRF_ENABLE_ICACHE

0 commit comments

Comments
 (0)