]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
ARM: dts: beagle-x15: Add mailboxes to the PRU nodes
authorSuman Anna <s-anna@ti.com>
Tue, 9 Dec 2014 22:35:00 +0000 (16:35 -0600)
committerSuman Anna <s-anna@ti.com>
Wed, 10 Dec 2014 21:47:48 +0000 (15:47 -0600)
Add the optional 'mboxes' property to both the PRU cores in each
of PRU-ICSS1 and PRU-ICSS2 remote processor subsystems. This is
usually needed for running the Remote Processor Messaging (RPMsg)
stack between the host processor and each of the remote processors.

Each of the PRU cores uses a single sub-mailbox node, the chosen
sub-mailboxes should match the values used in the current firmware
images. The respective PRUSS crossbar also needs to be setup properly
on the firmware side to achieve proper communication as the Mailbox
interrupts are not mapped to any of the existing events by default.
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>
arch/arm/boot/dts/am57xx-beagle-x15.dts

index 72125733fcd8195ba3f6808c67edd1a5563d3018..9ec2a709b1ae29323b27a89092e0b924ccc21f4e 100644 (file)
        mboxes = <&mailbox6 &mbox_dsp2_legacy>;
        timers = <&timer6>;
 };
+
+&pruss1 {
+       pru1_0: pru@4b234000 {
+               mboxes = <&mailbox3 &mbox_pru1_0>;
+       };
+
+       pru1_1: pru@4b238000 {
+               mboxes = <&mailbox3 &mbox_pru1_1>;
+       };
+};
+
+&pruss2 {
+       pru2_0: pru@4b2b4000 {
+               mboxes = <&mailbox4 &mbox_pru2_0>;
+       };
+
+       pru2_1: pru@4b2b8000 {
+               mboxes = <&mailbox4 &mbox_pru2_1>;
+       };
+};