Commits
Suman Anna committed eea82a17f94
remoteproc/pruss: add support for PRU-ICSS subsystems on 66AK2G SoC The 66AK2G SoC supports two PRU-ICSS instances, named PRUSS0 and PRUSS1, each of which has two PRU processor cores. The two PRU-ICSS instances are identical to each other with few minor SoC integration differences, and are very similar to the PRU-ICSS1 of AM57xx/AM43xx. The Shared Data RAM size is larger and the number of interrupts coming into MPU INTC is like the instances on AM437x. There are also few other differences attributing to integration in Keystone architecture (like no SYSCFG register or PRCM handshake protocols). Other IP level differences include different constant table, differences in system event interrupt input sources etc. They also do not have a programmable module reset line like those present on AM33xx/AM43xx SoCs. The modules are reset just like any other IP with the SoC's global cold/warm resets. The existing PRUSS platform drivers have been enhanced to support these 66AK2G PRU-ICSS instances through new 66AK2G specific compatibles for properly probing and booting all the different PRU cores in each PRU-ICSS processor subsystem. A build dependency with ARCH_KEYSTONE is added to enable the driver to be built in K2G-only configuration. The OMAP Mailbox IP is not present on 66AK2G SoC, so the build dependency has to be adjusted accordingly. The virtio rpmsg stack is enabled using PRU system events for interrupts (possible to implement using Keystone specific IPCGR registers as well) for uniformity across all platforms. The names for the firmware images are fixed for each PRU core and is expected to be as follows for regular usecases: PRU-ICSS0 PRU0 Core: k2g-pru0_0-fw PRU-ICSS0 PRU1 Core: k2g-pru0_1-fw PRU-ICSS1 PRU0 Core: k2g-pru1_0-fw PRU-ICSS1 PRU1 Core: k2g-pru1_1-fw Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>