Devicetree
 help / color / mirror / Atom feed
From: Sai Sree Kartheek Adivi <s-adivi@ti.com>
To: <nm@ti.com>, <vigneshr@ti.com>, <kristo@kernel.org>,
	<robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<s-adivi@ti.com>
Cc: <hnagalla@ti.com>, <jm@ti.com>
Subject: [PATCH 2/2] arm64: dts: ti: k3-am62p-ti-ipc-firmware: Reserve RTOS IPC memory
Date: Mon, 28 Sep 2026 08:52:11 +0530	[thread overview]
Message-ID: <20260928032221.1072316-3-s-adivi@ti.com> (raw)
In-Reply-To: <20260928032221.1072316-1-s-adivi@ti.com>

From: Hari Nagalla <hnagalla@ti.com>

TI IPC firmware uses RTOS-RTOS between Wakeup R5 and MCU R5. This IPC
needs shared memory buffers. Reserve memory to facilitate this IPC.

In addition TI MCU R5 firmware also uses MCU SRAM, hence make this
SRAM accessible to R5 remote proc for image loading.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Judith Mendez <jm@ti.com>
Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi
index 5d7f701420e2d..7084d85665f4d 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi
@@ -6,6 +6,12 @@
  */
 
 &reserved_memory {
+	rtos_ipc_memory_region: rtos-ipc-memory@9b500000 {
+		compatible = "shared-dma-pool";
+		reg = <0x00 0x9b500000 0x00 0x00300000>;
+		no-map;
+	};
+
 	mcu_r5fss0_core0_dma_memory_region: memory@9b800000 {
 		compatible = "shared-dma-pool";
 		reg = <0x00 0x9b800000 0x00 0x100000>;
@@ -54,6 +60,7 @@ &mcu_r5fss0 {
 };
 
 &mcu_r5fss0_core0 {
+	sram = <&mcu_ram>;
 	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5_0>;
 	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
 			<&mcu_r5fss0_core0_memory_region>;
-- 
2.54.0


      parent reply	other threads:[~2026-09-28  3:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-28  3:22 [PATCH 0/2] k3-am62p: Add MCU SRAM node and Reserve RTOS IPC memory Sai Sree Kartheek Adivi
2026-09-28  3:22 ` [PATCH 1/2] arm64: dts: ti: k3-am62p: Add MCU SRAM node Sai Sree Kartheek Adivi
2026-09-30  3:56   ` Kumar, Udit
2026-09-28  3:22 ` Sai Sree Kartheek Adivi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260928032221.1072316-3-s-adivi@ti.com \
    --to=s-adivi@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=hnagalla@ti.com \
    --cc=jm@ti.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox