From patchwork Thu Dec 7 09:53:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10098139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EAB6F60325 for ; Thu, 7 Dec 2017 10:05:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D73A02A291 for ; Thu, 7 Dec 2017 10:05:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9F9F2A3B6; Thu, 7 Dec 2017 10:05:59 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 60D502A291 for ; Thu, 7 Dec 2017 10:05:59 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=yIPFx419n7dKIWutshg/nxuM97EcH6u3ChXXGIw9MK4=; b=Kc6DtoXv8t0UYDQb6lmJgXJRfl ie19RG+4q036s1nUYqA4odMPiiHXnyyLSTkHYSvHqetK1W9o/tdfc734hIW7JHWXzaj1cGn8RA3KX 42UWn9mfM1Dn2xheZxr9P6Gepmo9hogu4T2/mPx4w5o3J6OB8XQG5SCATh7B64+dL0e2kthn40ZsC rv5FCUhnx7sZq62IN+tvYG8+gMQAB/K57HdBF+gFCNL15+zQfbiejcjmqZoR5f1e6LELLOmUW11L9 pgWkuIJR7y1EEh5MCL7kYmMrE6Qhx3eh/tJpFdiTASJPdUPKMsxBI8AbAGOIteEBlEsnc72WnOj1R yCmZug/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eMt43-0007oF-1u; Thu, 07 Dec 2017 10:05:59 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eMt3i-00077L-7q for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2017 10:05:56 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 7C8FA25BECF; Thu, 7 Dec 2017 20:54:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1512640495; bh=IDEgSHn0/FzS3N7+KWK0epxx9xMJ9hE9SppB8A1v+EM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ca8dWp2NJ7GRdUGe9TlOozGZhRft6CbOMjTp6OlKkRjs4v9nZ1nLagEM0+VKFVhkB HpnSQSzaNYevI25qzfQ7mxchkbQOCzpm2zK1GhCo+TnoWCTtNile4fKBXkLtm1IgQh hQwG018UNtcgQ9nrL8jIzUMY+2I2rnWy1Uge2Lao= Received: by penelope.horms.nl (Postfix, from userid 7100) id E8E1DE21E80; Thu, 7 Dec 2017 10:54:02 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 20/54] arm64: dts: renesas: r8a7795-es1: Add IPMMU device nodes Date: Thu, 7 Dec 2017 10:53:23 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171207_020538_679798_38E53CB1 X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Magnus Damm , Magnus Damm , linux-arm-kernel@lists.infradead.org, Simon Horman MIME-Version: 1.0 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 From: Magnus Damm Add r8a7795 ES1.x IPMMU nodes and keep all disabled by default. This is a follow-up to a patch that adds IPMMU device nodes that are common to r8a7795 ES1.x and ES2.0 Power domains are omitted as they appear to be undocumented. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi index 246323eacb56..38b7cfb3b428 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi @@ -26,6 +26,22 @@ /delete-node/ mmu@fd960000; /delete-node/ mmu@fd970000; + ipmmu_mp1: mmu@ec680000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xec680000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 5>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_sy: mmu@e7730000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xe7730000 0 0x1000>; + renesas,ipmmu-main = <&ipmmu_mm 8>; + #iommu-cells = <1>; + status = "disabled"; + }; + /delete-node/ usb-phy@ee0e0200; /delete-node/ usb@ee0e0100; /delete-node/ usb@ee0e0000;