Skip to content

Commit b826614

Browse files
krish2718nordicjm
authored andcommitted
boards: nrf7120pdk: Add Wi-Fi IPC support
Add support for IPC between APP and UMA, this is essential for Wi-Fi operation. The sizes have to be fine-tuned. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 931e1fa commit b826614

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

boards/nordic/nrf7120pdk/nrf7120_cpuapp_common.dtsi

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,54 @@
2020
zephyr,ieee802154 = &ieee802154;
2121
zephyr,wifi = &wlan0;
2222
};
23+
24+
/* TODO: Fine tune the sizes */
25+
ipc_shm_area_cpuapp_cpuuma: memory@200C0000 {
26+
compatible = "mmio-sram";
27+
reg = <0x200C0000 0x2000>;
28+
ranges = <0x0 0x200C0000 0x2000>;
29+
#address-cells = <1>;
30+
#size-cells = <1>;
31+
status = "okay";
32+
33+
ipc_shm_cpuapp_cpuuma_0: memory@0 {
34+
reg = <0x0 DT_SIZE_K(2)>;
35+
};
36+
37+
ipc_shm_cpuuma_cpuapp_0: memory@800 {
38+
reg = <0x800 DT_SIZE_K(2)>;
39+
};
40+
41+
ipc_shm_cpuapp_cpuuma_1: memory@1000 {
42+
reg = <0x1000 DT_SIZE_K(2)>;
43+
};
44+
45+
ipc_shm_cpuuma_cpuapp_1: memory@1800 {
46+
reg = <0x1800 DT_SIZE_K(2)>;
47+
};
48+
};
49+
50+
ipc {
51+
ipc0: ipc0 {
52+
compatible = "zephyr,ipc-icmsg";
53+
tx-region = <&ipc_shm_cpuapp_cpuuma_0>;
54+
rx-region = <&ipc_shm_cpuuma_cpuapp_0>;
55+
mboxes = <&wifi_bellboard 2>,
56+
<&cpuapp_bellboard 0>;
57+
mbox-names = "tx", "rx";
58+
status = "okay";
59+
};
60+
61+
ipc1: ipc1 {
62+
compatible = "zephyr,ipc-icmsg";
63+
tx-region = <&ipc_shm_cpuapp_cpuuma_1>;
64+
rx-region = <&ipc_shm_cpuuma_cpuapp_1>;
65+
mboxes = <&wifi_bellboard 3>,
66+
<&cpuapp_bellboard 1>;
67+
mbox-names = "tx", "rx";
68+
status = "okay";
69+
};
70+
};
2371
};
2472

2573
&cpuapp_sram {
@@ -135,3 +183,11 @@
135183
&wifi {
136184
status = "okay";
137185
};
186+
187+
&cpuapp_bellboard {
188+
status = "okay";
189+
};
190+
191+
&wifi_bellboard {
192+
status = "okay";
193+
};

0 commit comments

Comments
 (0)