From: Alexandre Mergnat <amergnat@baylibre.com>
To: Yong Wu <yong.wu@mediatek.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Alexandre Mergnat <amergnat@baylibre.com>
Subject: [PATCH RESEND 6/6] arm64: dts: mediatek: add iommu support for mt8365 SoC
Date: Wed, 29 Mar 2023 11:52:25 +0200 [thread overview]
Message-ID: <20230207-iommu-support-v1-6-4a902f9aa412@baylibre.com> (raw)
In-Reply-To: <20230207-iommu-support-v1-0-4a902f9aa412@baylibre.com>
Add iommu support in the SoC DTS using the 4 local arbiters (LARBs)
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
---
arch/arm64/boot/dts/mediatek/mt8365.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi
index db0b897f58bb..c713471c59dc 100644
--- a/arch/arm64/boot/dts/mediatek/mt8365.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi
@@ -456,6 +456,14 @@ sysirq: interrupt-controller@10200a80 {
reg = <0 0x10200a80 0 0x20>;
};
+ iommu: iommu@10205000 {
+ compatible = "mediatek,mt8365-m4u";
+ reg = <0 0x10205000 0 0x1000>;
+ interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_LOW>;
+ mediatek,larbs = <&larb0>, <&larb1>, <&larb2>, <&larb3>;
+ #iommu-cells = <1>;
+ };
+
infracfg_nao: infracfg@1020e000 {
compatible = "mediatek,mt8365-infracfg", "syscon";
reg = <0 0x1020e000 0 0x1000>;
--
2.25.1
next prev parent reply other threads:[~2023-03-29 9:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-29 9:52 [PATCH RESEND 0/6] Add IOMMU support to MT8365 SoC Alexandre Mergnat
2023-03-29 9:52 ` [PATCH RESEND 1/6] dt-bindings: memory-controllers: mediatek,smi-common: add mt8365 Alexandre Mergnat
2023-03-29 10:41 ` Matthias Brugger
2023-03-30 1:53 ` Yong Wu (吴勇)
2023-03-29 9:52 ` [PATCH RESEND 2/6] dt-bindings: memory-controllers: mediatek,smi-larb: " Alexandre Mergnat
2023-03-29 10:41 ` Matthias Brugger
2023-03-29 9:52 ` [PATCH RESEND 3/6] arm64: dts: mediatek: add power domain support for mt8365 SoC Alexandre Mergnat
2023-03-29 13:36 ` AngeloGioacchino Del Regno
2023-03-29 9:52 ` [PATCH RESEND 4/6] arm64: dts: mediatek: add smi " Alexandre Mergnat
2023-03-29 13:36 ` AngeloGioacchino Del Regno
2023-03-29 9:52 ` [PATCH RESEND 5/6] arm64: dts: mediatek: add larb " Alexandre Mergnat
2023-03-29 13:37 ` AngeloGioacchino Del Regno
2023-03-29 9:52 ` Alexandre Mergnat [this message]
2023-03-29 13:37 ` [PATCH RESEND 6/6] arm64: dts: mediatek: add iommu " AngeloGioacchino Del Regno
2023-03-30 1:52 ` Yong Wu (吴勇)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230207-iommu-support-v1-6-4a902f9aa412@baylibre.com \
--to=amergnat@baylibre.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=yong.wu@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).