@@ -81,6 +81,7 @@ properties:
- mediatek,mt8195-iommu-vdo # generation two
- mediatek,mt8195-iommu-vpp # generation two
- mediatek,mt8195-iommu-infra # generation two
+ - mediatek,mt8195-iommu-apu # generation two
- description: mt7623 generation one
items:
@@ -158,6 +159,7 @@ allOf:
- mediatek,mt8192-iommu-apu
- mediatek,mt8195-iommu-vdo
- mediatek,mt8195-iommu-vpp
+ - mediatek,mt8195-iommu-apu
then:
required:
@@ -170,6 +172,7 @@ allOf:
enum:
- mediatek,mt8192-iommu-apu
- mediatek,mt8195-iommu-infra
+ - mediatek,mt8195-iommu-apu
then:
required:
@@ -405,4 +405,8 @@
#define IOMMU_PORT_INFRA_SSUSB_R MTK_IFAIOMMU_PERI_ID(30)
#define IOMMU_PORT_INFRA_SSUSB_W MTK_IFAIOMMU_PERI_ID(31)
+#define IOMMU_PORT_APU_DATA MTK_M4U_ID(0, 0)
+#define IOMMU_PORT_APU_VLM MTK_M4U_ID(0, 1)
+#define IOMMU_PORT_APU_VPU MTK_M4U_ID(0, 2)
+
#endif
There are two apu iommu hardwares in MT8195. Add MT8195 apu iommu bindings. Signed-off-by: Flora Fu <flora.fu@mediatek.com> --- Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml | 3 +++ include/dt-bindings/memory/mt8195-memory-port.h | 4 ++++ 2 files changed, 7 insertions(+)