Skip to content

Commit 387520c

Browse files
kl-cruzdanieldegrasse
authored andcommitted
soc: nrf: Add nRF54LM20A device
Adding nRF54LM20A device. Signed-off-by: Karol Lasończyk <[email protected]>
1 parent d8d6637 commit 387520c

File tree

12 files changed

+1190
-2
lines changed

12 files changed

+1190
-2
lines changed
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <nordic/nrf54lm20a.dtsi>
8+
9+
cpu: &cpuapp {};
10+
systick: &cpuapp_systick {};
11+
nvic: &cpuapp_nvic {};
12+
13+
/delete-node/ &cpuflpr;
14+
/delete-node/ &cpuflpr_rram;
15+
/delete-node/ &cpuflpr_sram;
16+
/delete-node/ &cpuflpr_clic;
17+
18+
/ {
19+
chosen {
20+
zephyr,entropy = &prng;
21+
};
22+
23+
soc {
24+
compatible = "simple-bus";
25+
interrupt-parent = <&cpuapp_nvic>;
26+
ranges;
27+
};
28+
29+
psa_rng: psa-rng {
30+
compatible = "zephyr,psa-crypto-rng";
31+
status = "disabled";
32+
};
33+
34+
prng: prng {
35+
compatible = "nordic,entropy-prng";
36+
status = "okay";
37+
};
38+
};
39+
40+
&cpuflpr_vpr {
41+
cpuapp_vevif_rx: mailbox@1 {
42+
compatible = "nordic,nrf-vevif-event-rx";
43+
reg = <0x0 0x1000>;
44+
status = "disabled";
45+
interrupts = <76 NRF_DEFAULT_IRQ_PRIORITY>;
46+
#mbox-cells = <1>;
47+
nordic,events = <1>;
48+
nordic,events-mask = <0x00100000>;
49+
};
50+
51+
cpuapp_vevif_tx: mailbox@0 {
52+
compatible = "nordic,nrf-vevif-task-tx";
53+
reg = <0x0 0x1000>;
54+
#mbox-cells = <1>;
55+
nordic,tasks = <7>;
56+
nordic,tasks-mask = <0x007f0000>;
57+
status = "disabled";
58+
};
59+
};
60+
61+
&cpuapp_ppb {
62+
compatible = "simple-bus";
63+
ranges;
64+
};
65+
66+
&grtc {
67+
interrupts = <228 NRF_DEFAULT_IRQ_PRIORITY>,
68+
<229 NRF_DEFAULT_IRQ_PRIORITY>; /* reserved for Zero Latency IRQs */
69+
};
70+
71+
&gpiote20 {
72+
interrupts = <219 NRF_DEFAULT_IRQ_PRIORITY>;
73+
};
74+
75+
&gpiote30 {
76+
interrupts = <269 NRF_DEFAULT_IRQ_PRIORITY>;
77+
};
78+
79+
&dppic00 {
80+
status = "okay";
81+
};
82+
83+
&dppic10 {
84+
status = "okay";
85+
};
86+
87+
&dppic20 {
88+
status = "okay";
89+
};
90+
91+
&dppic30 {
92+
status = "okay";
93+
};
94+
95+
&ppib00 {
96+
status = "okay";
97+
};
98+
99+
&ppib01 {
100+
status = "okay";
101+
};
102+
103+
&ppib10 {
104+
status = "okay";
105+
};
106+
107+
&ppib11 {
108+
status = "okay";
109+
};
110+
111+
&ppib20 {
112+
status = "okay";
113+
};
114+
115+
&ppib21 {
116+
status = "okay";
117+
};
118+
119+
&ppib22 {
120+
status = "okay";
121+
};
122+
123+
&ppib30 {
124+
status = "okay";
125+
};
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <nordic/nrf54lm20a.dtsi>
8+
9+
cpu: &cpuflpr {};
10+
clic: &cpuflpr_clic {};
11+
12+
/delete-node/ &cpuapp;
13+
/delete-node/ &cpuapp_rram;
14+
/delete-node/ &cpuapp_ppb;
15+
/delete-node/ &cpuapp_sram;
16+
17+
/ {
18+
soc {
19+
compatible = "simple-bus";
20+
interrupt-parent = <&cpuflpr_clic>;
21+
ranges;
22+
};
23+
};
24+
25+
&cpuflpr {
26+
cpuflpr_vevif_rx: mailbox {
27+
compatible = "nordic,nrf-vevif-task-rx";
28+
status = "disabled";
29+
interrupt-parent = <&cpuflpr_clic>;
30+
interrupts = <16 NRF_DEFAULT_IRQ_PRIORITY>,
31+
<17 NRF_DEFAULT_IRQ_PRIORITY>,
32+
<18 NRF_DEFAULT_IRQ_PRIORITY>,
33+
<19 NRF_DEFAULT_IRQ_PRIORITY>,
34+
<20 NRF_DEFAULT_IRQ_PRIORITY>,
35+
<21 NRF_DEFAULT_IRQ_PRIORITY>,
36+
<22 NRF_DEFAULT_IRQ_PRIORITY>;
37+
#mbox-cells = <1>;
38+
nordic,tasks = <7>;
39+
nordic,tasks-mask = <0x007f0000>;
40+
};
41+
};
42+
43+
&cpuflpr_vpr {
44+
cpuflpr_vevif_tx: mailbox {
45+
compatible = "nordic,nrf-vevif-event-tx";
46+
#mbox-cells = <1>;
47+
nordic,events = <1>;
48+
nordic,events-mask = <0x00100000>;
49+
status = "disabled";
50+
};
51+
};
52+
53+
&cpuflpr_clic {
54+
status = "okay";
55+
};
56+
57+
&grtc {
58+
interrupts = <226 NRF_DEFAULT_IRQ_PRIORITY>;
59+
};
60+
61+
&gpiote20 {
62+
interrupts = <218 NRF_DEFAULT_IRQ_PRIORITY>;
63+
};
64+
65+
&gpiote30 {
66+
interrupts = <268 NRF_DEFAULT_IRQ_PRIORITY>;
67+
};

0 commit comments

Comments
 (0)