summaryrefslogtreecommitdiff
path: root/src/dev/arm/SMMUv3.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/SMMUv3.py')
-rw-r--r--src/dev/arm/SMMUv3.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dev/arm/SMMUv3.py b/src/dev/arm/SMMUv3.py
index 72540f5cf..230a0ac48 100644
--- a/src/dev/arm/SMMUv3.py
+++ b/src/dev/arm/SMMUv3.py
@@ -207,3 +207,7 @@ class SMMUv3(ClockedObject):
sys.exit(1)
self.slave_interfaces.append(slave_interface)
+
+ # Storing a reference to the smmu to be used when generating
+ # the binding in the device DTB.
+ device._iommu = self