Skip to content

Commit b28c0f9

Browse files
dhsu-nordicrlubos
authored andcommitted
[nrf fromtree] boards: nordic: nrf7120dk: Configure WICR for Wi-Fi boot
Enable the WICR node and populate all configurable fields. Extend the shared IPC SRAM region from 4 KB to 20 KB to accommodate the additional spare mailbox partition. Signed-off-by: Dhanoo Surasarang <dhanoo.surasarang@nordicsemi.no> (cherry picked from commit 49c75c0d3091f896455a78469aeed2f310a969e7)
1 parent 2ac2275 commit b28c0f9

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

boards/nordic/nrf7120dk/nrf7120_cpuapp_common.dtsi

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
zephyr,wifi = &wlan0;
2222
};
2323

24-
/* Single IPC channel: 4KB shared memory for TX+RX */
24+
/* Single IPC channel: 4KB + 16KB shared memory for TX+RX */
2525
reserved-memory {
2626
#address-cells = <1>;
2727
#size-cells = <1>;
2828
ranges;
2929

3030
ipc_shm_area_cpuapp_cpuuma: memory@200c0000 {
3131
compatible = "mmio-sram";
32-
reg = <0x200c0000 0x1000>;
33-
ranges = <0x0 0x200c0000 0x1000>;
32+
reg = <0x200c0000 0x5000>;
33+
ranges = <0x0 0x200c0000 0x5000>;
3434
#address-cells = <1>;
3535
#size-cells = <1>;
3636
status = "okay";
@@ -42,6 +42,10 @@
4242
ipc_shm_cpuuma_cpuapp_0: memory@800 {
4343
reg = <0x800 0x800>;
4444
};
45+
46+
ipc_shm_sparembox: memory@1000 {
47+
reg = <0x1000 0x4000>;
48+
};
4549
};
4650
};
4751

@@ -58,6 +62,17 @@
5862
};
5963
};
6064

65+
&wicr {
66+
status = "okay";
67+
firmware-lmacinitpc = <&wifi_lmac_rom>;
68+
firmware-umacinitpc = <&wifi_umac_rom>;
69+
firmware-lmacrompatchaddr = <&wifi_lmac_patch_partition>;
70+
firmware-umacrompatchaddr = <&wifi_umac_patch_partition>;
71+
ipcconfig-commandmbox = <&ipc_shm_cpuapp_cpuuma_0>;
72+
ipcconfig-eventmbox = <&ipc_shm_cpuuma_cpuapp_0>;
73+
ipcconfig-sparembox = <&ipc_shm_sparembox>;
74+
};
75+
6176
&cpuapp_sram {
6277
status = "okay";
6378
};

0 commit comments

Comments
 (0)