ARM: dts: dra7-ipu-dsp-common: Add mailboxes to IPU and DSP nodes
authorSuman Anna <s-anna@ti.com>
Fri, 24 Apr 2020 15:12:34 +0000 (18:12 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 5 May 2020 18:13:23 +0000 (11:13 -0700)
Add the required 'mboxes' property to all the IPU and DSP remote
processors (IPU1, IPU2, DSP1 and DSP2) in the two available common
dtsi files - dra7-ipu-dsp-common and dra74-ipu-dsp-common dtsi files.
The latter file is for platforms having DRA74x/DRA76x/AM572x/AM574x
SoCs which do have a DSP2 processor in addition to the other common
remote processors. The common data is added to the former file, and
the DSP2 only data is added to the latter file.

The mailboxes are required for running the Remote Processor Messaging
(RPMsg) stack between the host processor and each of the remote
processors. Each of the remote processors uses a single sub-mailbox
node, the IPUs are assumed to be running in SMP-mode. 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>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7-ipu-dsp-common.dtsi
arch/arm/boot/dts/dra74-ipu-dsp-common.dtsi

index 478a07e..8a53da1 100644 (file)
                status = "okay";
        };
 };
+
+&ipu2 {
+       mboxes = <&mailbox6 &mbox_ipu2_ipc3x>;
+};
+
+&ipu1 {
+       mboxes = <&mailbox5 &mbox_ipu1_ipc3x>;
+};
+
+&dsp1 {
+       mboxes = <&mailbox5 &mbox_dsp1_ipc3x>;
+};
index 645063d..6e31c1c 100644 (file)
@@ -10,3 +10,7 @@
                status = "okay";
        };
 };
+
+&dsp2 {
+       mboxes = <&mailbox6 &mbox_dsp2_ipc3x>;
+};