]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commitdiff
ARM: dts: AM33xx: Add PRU system events for virtio
authorSuman Anna <s-anna@ti.com>
Wed, 1 Feb 2017 19:37:58 +0000 (13:37 -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
of the PRU nodes in the PRU-ICSS remote processor subsystem to
enable the virtio/rpmsg communication between MPU and that PRU
core. The additions are done in the base am33xx.dtsi file, and
so are inherited by all the AM33xx boards. Do note that PRUSS
is not available on all AM335x 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>

index 405255ae9bd7a4e7415296c403e555141f10bdfe..bc9d65db7a46a5bd797ce2763b45730d73cbcca7 100644 (file)
                                              <0x4a322400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am335x-pru0-fw";
+                                       interrupt-parent = <&pruss_intc>;
+                                       interrupts = <16>, <17>;
+                                       interrupt-names = "vring", "kick";
                                pru1: pru@4a338000 {
                                              <0x4a324400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am335x-pru1-fw";
+                                       interrupt-parent = <&pruss_intc>;
+                                       interrupts = <18>, <19>;
+                                       interrupt-names = "vring", "kick";
                                pruss_mdio: mdio@4a332400 {