Skip to content

Commit 5e89b39

Browse files
sumanannatmlind
authored andcommitted
ARM: dts: dra7-ipu-dsp-common: Add mailboxes to IPU and DSP nodes
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 <[email protected]> Signed-off-by: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent a11a2f7 commit 5e89b39

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

arch/arm/boot/dts/dra7-ipu-dsp-common.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,15 @@
1919
status = "okay";
2020
};
2121
};
22+
23+
&ipu2 {
24+
mboxes = <&mailbox6 &mbox_ipu2_ipc3x>;
25+
};
26+
27+
&ipu1 {
28+
mboxes = <&mailbox5 &mbox_ipu1_ipc3x>;
29+
};
30+
31+
&dsp1 {
32+
mboxes = <&mailbox5 &mbox_dsp1_ipc3x>;
33+
};

arch/arm/boot/dts/dra74-ipu-dsp-common.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@
1010
status = "okay";
1111
};
1212
};
13+
14+
&dsp2 {
15+
mboxes = <&mailbox6 &mbox_dsp2_ipc3x>;
16+
};

0 commit comments

Comments
 (0)