Skip to content

Commit 8a44a27

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 5a8a8e3 commit 8a44a27

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
};
@@ -31,27 +33,31 @@
3133
cpuapp_cpusys_ipc: ipc-2-12 {
3234
compatible = "zephyr,ipc-icmsg";
3335
status = "disabled";
36+
dcache-alignment = <32>;
3437
mboxes = <&cpuapp_bellboard 6>,
3538
<&cpusys_vevif 12>;
3639
};
3740

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

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

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

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
};
@@ -31,20 +33,23 @@
3133
cpuapp_cpusys_ipc: ipc-2-12 {
3234
compatible = "zephyr,ipc-icmsg";
3335
status = "disabled";
36+
dcache-alignment = <32>;
3437
mboxes = <&cpuapp_bellboard 6>,
3538
<&cpusys_vevif 12>;
3639
};
3740

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

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

0 commit comments

Comments
 (0)