diff mbox series

[v2,3/8] arm64: dts: ti: k3-j721e-som-p0: Add mailboxes to C66x DSPs

Message ID 20200825172145.13186-4-s-anna@ti.com (mailing list archive)
State New, archived
Headers show
Series Add C66x & C71x DSP nodes on J721E SoCs | expand

Commit Message

Suman Anna Aug. 25, 2020, 5:21 p.m. UTC
Add the required 'mboxes' property to both the C66x DSP processors for the
TI J721E common processor board. The mailboxes and some shared memory are
required for running the Remote Processor Messaging (RPMsg) stack between
the host processor and each of the DSPs. The nodes are therefore added
in the common k3-j721e-som-p0.dtsi file so that all of these can be
co-located.

The chosen sub-mailboxes match the values used in the current firmware
images. This can be changed, if needed, as per the system integration
needs after making appropriate changes on the firmware side as well.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
v2:
 - Moved the additions from board dts file to k3-j721e-som-p0.dtsi
 - Revised patch title and description
v1: https://patchwork.kernel.org/patch/11725343/

 arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
index 44a7e03b60d8..20defa0530e5 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
@@ -165,3 +165,11 @@  &mailbox0_cluster10 {
 &mailbox0_cluster11 {
 	status = "disabled";
 };
+
+&c66_0 {
+	mboxes = <&mailbox0_cluster3 &mbox_c66_0>;
+};
+
+&c66_1 {
+	mboxes = <&mailbox0_cluster3 &mbox_c66_1>;
+};