summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/memory/mtk-memory-port.h
diff options
context:
space:
mode:
Diffstat (limited to 'dts/include/dt-bindings/memory/mtk-memory-port.h')
-rw-r--r--dts/include/dt-bindings/memory/mtk-memory-port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dts/include/dt-bindings/memory/mtk-memory-port.h b/dts/include/dt-bindings/memory/mtk-memory-port.h
index 7d64103209..2f68a0511a 100644
--- a/dts/include/dt-bindings/memory/mtk-memory-port.h
+++ b/dts/include/dt-bindings/memory/mtk-memory-port.h
@@ -12,4 +12,6 @@
#define MTK_M4U_TO_LARB(id) (((id) >> 5) & 0x1f)
#define MTK_M4U_TO_PORT(id) ((id) & 0x1f)
+#define MTK_IFAIOMMU_PERI_ID(port) MTK_M4U_ID(0, port)
+
#endif