arm64: dts: mediatek: mt8167: add iommu node
authorFabien Parent <fparent@baylibre.com>
Tue, 6 Apr 2021 11:36:29 +0000 (13:36 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 12 May 2021 15:29:47 +0000 (17:29 +0200)
Add node for the MT8167's IOMMU.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Link: https://lore.kernel.org/r/20210406113631.2675029-2-fparent@baylibre.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8167.dtsi

index bbddd4b..9029051 100644 (file)
                        clock-names = "apb", "smi";
                        power-domains = <&spm MT8167_POWER_DOMAIN_VDEC>;
                };
+
+               iommu: m4u@10203000 {
+                       compatible = "mediatek,mt8167-m4u";
+                       reg = <0 0x10203000 0 0x1000>;
+                       mediatek,larbs = <&larb0 &larb1 &larb2>;
+                       interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_LOW>;
+                       #iommu-cells = <1>;
+               };
        };
 };