]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commitdiff
ARM: dts: DRA7: Add PRU system events for virtio
authorSuman Anna <s-anna@ti.com>
Mon, 29 Jan 2018 21:41:00 +0000 (15:41 -0600)
committerSuman Anna <s-anna@ti.com>
Sun, 24 Feb 2019 01:20:51 +0000 (19:20 -0600)
Two PRU system events "vring" and "kick" have been added to each
PRU node in each of the PRU-ICSS1 and PRU-ICSS2 remote processor
subsystems to enable the virtio/rpmsg communication between MPU
and that PRU core. The additions are done in the common base
dra7.dtsi file, and so are inherited by all the AM57xx boards.
Do note that PRUSS is not available/supported on the DRA7xx SoCs
SoCs and is only limited to the AM57xx SoCs.

The PRU system events is the preferred approach over using OMAP
mailboxes, as it eliminates an external peripheral access from
the PRU-side, and keeps the interrupt generation internal to the
PRUSS. The difference from MPU would be minimal in using one
versus the other.

Mailboxes can still be used if desired. Either approach would
require that an appropriate firmware image is loaded/booted on
the PRU.

Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/boot/dts/dra7.dtsi

index 3a7c0436309b6b5ab51ae62975320cf6be910529..812355048db8d11e1443fbb1ba75ab5c9b6fd5a9 100644 (file)
                                              <0x4b222400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am57xx-pru1_0-fw";
+                                       interrupt-parent = <&pruss1_intc>;
+                                       interrupts = <16>, <17>;
+                                       interrupt-names = "vring", "kick";
                                };
 
                                pru1_1: pru@4b238000 {
                                              <0x4b224400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am57xx-pru1_1-fw";
+                                       interrupt-parent = <&pruss1_intc>;
+                                       interrupts = <18>, <19>;
+                                       interrupt-names = "vring", "kick";
                                };
 
                                pruss1_mdio: mdio@4b232400 {
                                              <0x4b2a2400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am57xx-pru2_0-fw";
+                                       interrupt-parent = <&pruss2_intc>;
+                                       interrupts = <16>, <17>;
+                                       interrupt-names = "vring", "kick";
                                };
 
                                pru2_1: pru@4b2b8000 {
                                              <0x4b2a4400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am57xx-pru2_1-fw";
+                                       interrupt-parent = <&pruss2_intc>;
+                                       interrupts = <18>, <19>;
+                                       interrupt-names = "vring", "kick";
                                };
 
                                pruss2_mdio: mdio@4b2b2400 {