From patchwork Thu Jul 11 15:02:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 11040265 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E0D65112C for ; Thu, 11 Jul 2019 15:10:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAAAD28A4A for ; Thu, 11 Jul 2019 15:10:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC42828A7A; Thu, 11 Jul 2019 15:10:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 61D3728A4A for ; Thu, 11 Jul 2019 15:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=08SAN4M/yUYBWzDVvczhJ/r87pdC9OpZMWDA2vTXszg=; b=JSS3Itt6zREzRK uTBj7fnesW62tRzlCXErRdtDcWy15478vAyTXQKWP612eVhgUv7/kRkvr61L50OycYmtt5MbSD5im X1vTcRj6N0+HpX/HbhNdizMS4u/aCVpYX1UGR+yt3jqIipXmtzMhLlg8j0XNKYDWKd76azpI9tKrN L9IiSBy4mSnkIb9CK5pfZDUmJ8mMfOu3V4BmzoJfxqtkIiC0Gj7fbA41y35l7HSGJE4pboKzGdwJv ZkcS8gRIzKJhZcuN18IN3xhWmqVvduzr4D3wh92gFP2mTe+zl17cPlVjLiV0GnMQPuU6vZ/or1Bqg aDrzWpfhRDp/m00qS6iA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hlahv-0007XY-54; Thu, 11 Jul 2019 15:10:03 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hlahs-0007X4-D7 for linux-arm-kernel@bombadil.infradead.org; Thu, 11 Jul 2019 15:10:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NydRS5amDj1kp9ZJgWP85hzOmwxf1CUR6Jdpb4mr50w=; b=rTtT7HGIDHIp77xfdA2M2C4gIA YWptSUMdH1AwhpeRwcoMAS9YE3Fx06LBEXDq+41mCxnUdJKqs0o+OFmNioBoz8loAVbNTxYllhs3U BxoFnO161TfVMy8G7mMIwA3me/FLDRhp+HtnhEQaZX3b0xUmXy78iXrSod7X42UugFskT7UkPME5A nWF+lXpU5c3QN7c9583a469fgaKvPwjBFK/dTOoaQEQ7nSVfpERBbi4GfdumSyg7ktPoyAbPPZTxv rKIqgBoHtP9qhlIGZXkkKxI5ESj+iDF76WE8QnPr7v2LS05Jx4e/OVBjUVY4ILbrWdKvQAFofsaKg JFphovzQ==; Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by merlin.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hlahp-0004n8-M5 for linux-arm-kernel@lists.infradead.org; Thu, 11 Jul 2019 15:09:58 +0000 X-Originating-IP: 92.137.69.152 Received: from localhost (alyon-656-1-672-152.w92-137.abo.wanadoo.fr [92.137.69.152]) (Authenticated sender: gregory.clement@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 6B866C000A; Thu, 11 Jul 2019 15:09:24 +0000 (UTC) From: Gregory CLEMENT To: Robin Murphy , Joerg Roedel , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: [PATCH v2 4/4] arm64: dts: marvell: armada-ap806: add smmu support Date: Thu, 11 Jul 2019 17:02:42 +0200 Message-Id: <20190711150242.25290-5-gregory.clement@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190711150242.25290-1-gregory.clement@bootlin.com> References: <20190711150242.25290-1-gregory.clement@bootlin.com> MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jason Cooper , Andrew Lunn , Antoine Tenart , Catalin Marinas , Gregory CLEMENT , Will Deacon , Maxime Chevallier , Nadav Haklai , Rob Herring , Thomas Petazzoni , =?utf-8?q?Miqu=C3=A8l_Rayn?= =?utf-8?q?al?= , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add IOMMU node for Marvell AP806 based SoCs. Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi index 91dad7e4ee59..8e29d593970a 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi @@ -115,6 +115,23 @@ interrupts = <17>; }; + smmu: iommu@5000000 { + compatible = "marvell,mmu-500"; + reg = <0x100000 0x100000>; + dma-coherent; + #iommu-cells = <1>; + #global-interrupts = <1>; + interrupts = , + , + , + , + , + , + , + , + ; + }; + odmi: odmi@300000 { compatible = "marvell,odmi-controller"; interrupt-controller;