samples: mbox: Fix incorrect DT addressing

Place the nodes to the proper place into the DT. The driver is calling
directly into the NRFX without using any direct memory addressing so
this is mostly a cosmetic fix.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2021-11-08 15:19:03 +01:00 committed by Carles Cufí
commit 11f936c87e
2 changed files with 14 additions and 8 deletions

View file

@ -6,14 +6,18 @@
/ {
soc {
mbox: mbox@2a000 {
compatible = "nordic,mbox-nrf-ipc";
reg = <0x2a000 0x1000>;
tx-mask = <0x0000ffff>;
rx-mask = <0x0000ffff>;
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
#mbox-cells = <1>;
status = "okay";
peripheral@50000000 {
/delete-node/ ipc@2a000;
mbox: mbox@2a000 {
compatible = "nordic,mbox-nrf-ipc";
reg = <0x2a000 0x1000>;
tx-mask = <0x0000ffff>;
rx-mask = <0x0000ffff>;
interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
#mbox-cells = <1>;
status = "okay";
};
};
};
};

View file

@ -6,6 +6,8 @@
/ {
soc {
/delete-node/ ipc@41012000;
mbox: mbox@41012000 {
compatible = "nordic,mbox-nrf-ipc";
reg = <0x41012000 0x1000>;