Skip to content

Commit

Permalink
ARM: dts: dra7-ipu-dsp-common: Add mailboxes to IPU and DSP nodes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Suman Anna authored and Tony Lindgren committed May 5, 2020
1 parent a11a2f7 commit 5e89b39
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/dra7-ipu-dsp-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,15 @@
status = "okay";
};
};

&ipu2 {
mboxes = <&mailbox6 &mbox_ipu2_ipc3x>;
};

&ipu1 {
mboxes = <&mailbox5 &mbox_ipu1_ipc3x>;
};

&dsp1 {
mboxes = <&mailbox5 &mbox_dsp1_ipc3x>;
};
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/dra74-ipu-dsp-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
status = "okay";
};
};

&dsp2 {
mboxes = <&mailbox6 &mbox_dsp2_ipc3x>;
};

0 comments on commit 5e89b39

Please sign in to comment.