From: Nikhil Devshatwar <[email protected]>

J721e has a single ARM System MMU version3 for 2 stage
address translation of DMA requests from different peripherals.
Add this as iommu unit in the k3-j721e root cell configuration.

Signed-off-by: Nikhil Devshatwar <[email protected]>
---
 configs/arm64/k3-j721e-evm.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configs/arm64/k3-j721e-evm.c b/configs/arm64/k3-j721e-evm.c
index 17ffb0f4..1de90416 100644
--- a/configs/arm64/k3-j721e-evm.c
+++ b/configs/arm64/k3-j721e-evm.c
@@ -50,6 +50,13 @@ struct {
                                .gicr_base = 0x01900000,
                                .maintenance_irq = 25,
                        },
+                       .arm.iommu_units= {
+                               {
+                                       .type = JAILHOUSE_IOMMU_SMMUV3,
+                                       .base = 0x36600000,
+                                       .size = 0x100000,
+                               },
+                       },
                },
                .root_cell = {
                        .name = "k3-j721e-evm",
-- 
2.17.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20200108111512.9844-3-nikhil.nd%40ti.com.

Reply via email to