Skip to content

Commit 22445e6

Browse files
lstnlhakonfam
authored andcommitted
[nrf fromtree] boards: nordic: ipc node added dcache alignement
dcache-alignement needs to be defined for ipc to have consistent memory organization on both endpoints, when shared memory is cacheable. nrf54h20 and nrf9280 are using cacheable shared memory. This is applied for ipc with icmsg backend. Signed-off-by: Lukasz Stepnicki <[email protected]> (cherry picked from commit 022122d)
1 parent 1c46d54 commit 22445e6

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-ipc_conf.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
cpusec_cpuapp_ipc: ipc-1-2 {
1010
compatible = "zephyr,ipc-icmsg";
1111
status = "disabled";
12+
dcache-alignment = <32>;
1213
mboxes = <&cpusec_bellboard 12>,
1314
<&cpuapp_bellboard 0>;
1415
};
1516

1617
cpusec_cpurad_ipc: ipc-1-3 {
1718
compatible = "zephyr,ipc-icmsg";
1819
status = "disabled";
20+
dcache-alignment = <32>;
1921
mboxes = <&cpusec_bellboard 18>,
2022
<&cpurad_bellboard 0>;
2123
};
@@ -30,27 +32,31 @@
3032
cpuapp_cpusys_ipc: ipc-2-12 {
3133
compatible = "zephyr,ipc-icmsg";
3234
status = "disabled";
35+
dcache-alignment = <32>;
3336
mboxes = <&cpuapp_bellboard 6>,
3437
<&cpusys_vevif 12>;
3538
};
3639

3740
cpuapp_cpuppr_ipc: ipc-2-13 {
3841
compatible = "zephyr,ipc-icmsg";
3942
status = "disabled";
43+
dcache-alignment = <32>;
4044
mboxes = <&cpuapp_bellboard 13>,
4145
<&cpuppr_vevif 12>;
4246
};
4347

4448
cpuapp_cpuflpr_ipc: ipc-2-14 {
4549
compatible = "zephyr,ipc-icmsg";
4650
status = "disabled";
51+
dcache-alignment = <32>;
4752
mboxes = <&cpuapp_bellboard 14>,
4853
<&cpuflpr_vevif 16>;
4954
};
5055

5156
cpurad_cpusys_ipc: ipc-3-12 {
5257
compatible = "zephyr,ipc-icmsg";
5358
status = "disabled";
59+
dcache-alignment = <32>;
5460
mboxes = <&cpurad_bellboard 6>,
5561
<&cpusys_vevif 18>;
5662
};

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-ipc_conf.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
cpusec_cpuapp_ipc: ipc-1-2 {
1010
compatible = "zephyr,ipc-icmsg";
1111
status = "disabled";
12+
dcache-alignment = <32>;
1213
mboxes = <&cpusec_bellboard 12>,
1314
<&cpuapp_bellboard 0>;
1415
};
1516

1617
cpusec_cpurad_ipc: ipc-1-3 {
1718
compatible = "zephyr,ipc-icmsg";
1819
status = "disabled";
20+
dcache-alignment = <32>;
1921
mboxes = <&cpusec_bellboard 18>,
2022
<&cpurad_bellboard 0>;
2123
};
@@ -30,20 +32,23 @@
3032
cpuapp_cpusys_ipc: ipc-2-12 {
3133
compatible = "zephyr,ipc-icmsg";
3234
status = "disabled";
35+
dcache-alignment = <32>;
3336
mboxes = <&cpuapp_bellboard 6>,
3437
<&cpusys_vevif 12>;
3538
};
3639

3740
cpuapp_cpuppr_ipc: ipc-2-13 {
3841
compatible = "zephyr,ipc-icmsg";
3942
status = "disabled";
43+
dcache-alignment = <32>;
4044
mboxes = <&cpuapp_bellboard 13>,
4145
<&cpuppr_vevif 12>;
4246
};
4347

4448
cpurad_cpusys_ipc: ipc-3-12 {
4549
compatible = "zephyr,ipc-icmsg";
4650
status = "disabled";
51+
dcache-alignment = <32>;
4752
mboxes = <&cpurad_bellboard 6>,
4853
<&cpusys_vevif 18>;
4954
};

0 commit comments

Comments
 (0)