]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commitdiff
ARM: dts: AM4372: Add PRU system events for virtio
authorSuman Anna <s-anna@ti.com>
Thu, 2 Feb 2017 23:39:13 +0000 (17:39 -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-ICSS0 and PRU-ICSS1 remote processor
subsystems to enable the virtio/rpmsg communication between MPU
and that PRU core. The additions are done in the base am4372.dtsi
file, and so are inherited by all the AM437x boards. Do note that
PRUSS is not available on all AM437x 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/am4372.dtsi

index 93c943159535056c47245e427fb6d0c0da59b1f9..37637aee83a724dac8bf3f70d171d7b38e083307 100644 (file)
                                              <0x54422400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am437x-pru1_0-fw";
+                                       interrupt-parent = <&pruss1_intc>;
+                                       interrupts = <16>, <17>;
+                                       interrupt-names = "vring", "kick";
                                };
 
                                pru1_1: pru@54438000 {
                                              <0x54424400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am437x-pru1_1-fw";
+                                       interrupt-parent = <&pruss1_intc>;
+                                       interrupts = <18>, <19>;
+                                       interrupt-names = "vring", "kick";
                                };
 
                                pruss1_mdio: mdio@54432400 {
                                              <0x54462400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am437x-pru0_0-fw";
+                                       interrupt-parent = <&pruss0_intc>;
+                                       interrupts = <16>, <17>;
+                                       interrupt-names = "vring", "kick";
                                };
 
                                pru0_1: pru@54478000 {
                                              <0x54464400 0x100>;
                                        reg-names = "iram", "control", "debug";
                                        firmware-name = "am437x-pru0_1-fw";
+                                       interrupt-parent = <&pruss0_intc>;
+                                       interrupts = <18>, <19>;
+                                       interrupt-names = "vring", "kick";
                                };
                        };
                };