1/* 2 * Copyright (c) 2024 Celina Sophie Kalus <hello@celinakalus.de> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 chosen { 9 /delete-property/ zephyr,ipc_shm; 10 }; 11 12 /* Define new memory regions for TX and RX */ 13 /delete-node/ memory@38000000; 14 15 sram_tx: memory@38000000 { 16 zephyr,memory-region = "SRAM_TX"; 17 compatible = "zephyr,memory-region", "mmio-sram"; 18 reg = <0x38000000 0x08000>; 19 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) )>; 20 }; 21 22 sram_rx: memory@38008000 { 23 zephyr,memory-region = "SRAM_RX"; 24 compatible = "zephyr,memory-region", "mmio-sram"; 25 reg = <0x38008000 0x08000>; 26 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) )>; 27 }; 28 29 ipc0: ipc0 { 30 compatible = "zephyr,ipc-icmsg"; 31 tx-region = <&sram_tx>; 32 rx-region = <&sram_rx>; 33 mboxes = <&mailbox 11>, <&mailbox 10>; 34 mbox-names = "tx", "rx"; 35 status = "okay"; 36 }; 37}; 38 39&mailbox { 40 status = "okay"; 41}; 42