From patchwork Thu Mar 17 16:55:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 8613231 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5084E9F6E1 for ; Thu, 17 Mar 2016 16:52:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6B614201F4 for ; Thu, 17 Mar 2016 16:52:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A5352201B4 for ; Thu, 17 Mar 2016 16:52:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030647AbcCQQwP (ORCPT ); Thu, 17 Mar 2016 12:52:15 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:35716 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967128AbcCQQwO (ORCPT ); Thu, 17 Mar 2016 12:52:14 -0400 Received: by mail-pf0-f180.google.com with SMTP id n5so127946598pfn.2 for ; Thu, 17 Mar 2016 09:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=V7tPvi5U74mei3VHAWWaeCGTNMnvRGfqI1wBFRNkaaw=; b=wZo5KQ9H4814HBP3ym7IZzC8lSuj0t/qPksqmqaD1lliOme5xAJYcKhhZMIDHd23W+ C7GQU8/1vB3X/nD0hr9hU6SDwgm5ljX/KKa3znHa+SfluxWdRhHCHepGOnxnhgoNhN6D xKX7thAHWEaHFwMmRK4HX2TityL17GhH/rEkIV9F0jGN2MSDPZp3xjnCIdNNEGZQmr81 Zswubh+MQo9ayL7Yc6yE9Vks5A1iuOnVjmWru/+Y1ULpse+mYiSTGVZ2ElfS+h5GygYq L0tzSLSGvA8N+s7XKzIp+CuBYNV81SQFwFC79SqPjCuBIZrEdnzFzuQjjI3jkOfybwhD pzww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=V7tPvi5U74mei3VHAWWaeCGTNMnvRGfqI1wBFRNkaaw=; b=aOGl/pWWF1Zdg9uCi4zSyjI7WD+Gqd7hYDquB4sR8r9SsEqPD2NyEAg6bGISgoABOd 5ezo/XDgLW0HSwoNHyInTnHtViuxbCz4wlUwwpGEXLx/Xy1zEnQLoh0TDCUaoHDkbg8m Qvn2kA4dkZ5Z9WKeMMtfQblfptNCT3kVWKOgytyurTi16EJ8ECN3tcRP8wTPGlTtc3/3 ea35Mk/6AZXWPmDw0KhSKOVx68swPwH444EXuPNHmR+E/sbKVXaYdb3Uza7ESVbqjStQ nFRUyhelIL//nX8T4agclh4U0uAkN8apHalbHVJ0mVvJ6ADEOzQZDnK4mg0NfilUKOkI CNCA== X-Gm-Message-State: AD7BkJKXUGbJhBV+uy9/ep5V+X3zBXfJPMK6+nf1Og4YH34yvpQJIWsXEpeVt1uhX92i9w== X-Received: by 10.98.11.205 with SMTP id 74mr16342443pfl.98.1458233533857; Thu, 17 Mar 2016 09:52:13 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id uh1sm14624956pab.26.2016.03.17.09.52.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Mar 2016 09:52:11 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm , laurent.pinchart+renesas@ideasonboard.com, joro@8bytes.org, geert+renesas@glider.be Date: Fri, 18 Mar 2016 01:55:36 +0900 Message-Id: <20160317165536.28213.47533.sendpatchset@little-apple> In-Reply-To: <20160317165527.28213.60694.sendpatchset@little-apple> References: <20160317165527.28213.60694.sendpatchset@little-apple> Subject: [PATCH/RFC 01/05] arm64: dts: r8a7795: Add IPMMU device nodes Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add r8a7795 IPMMU nodes and keep all disabled by default. Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 113 ++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2016-03-17 18:42:51.210513000 +0900 @@ -373,6 +373,119 @@ power-domains = <&cpg>; }; + ipmmu_vi: mmu@febd0000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xfebd0000 0 0x1000>; /* IPMMU-VI */ + renesas,ipmmu-main = <&ipmmu_mm 11>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_vp: mmu@fe990000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xfe990000 0 0x1000>; /* IPMMU-VP */ + renesas,ipmmu-main = <&ipmmu_mm 12>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_vc0: mmu@fe6b0000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xfe6b0000 0 0x1000>; /* IPMMU-VC0 */ + renesas,ipmmu-main = <&ipmmu_mm 9>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_vc1: mmu@fe6f0000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xfe6f0000 0 0x1000>; /* IPMMU-VC1 */ + renesas,ipmmu-main = <&ipmmu_mm 10>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_pv0: mmu@fd800000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xfd800000 0 0x1000>; /* IPMMU-PV0 */ + renesas,ipmmu-main = <&ipmmu_mm 6>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_ir: mmu@ff8b0000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xff8b0000 0 0x1000>; /* IPMMU-IR */ + renesas,ipmmu-main = <&ipmmu_mm 3>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_hc: mmu@e6570000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xe6570000 0 0x1000>; /* IPMMU-HC */ + renesas,ipmmu-main = <&ipmmu_mm 2>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_rt: mmu@ffc80000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xffc80000 0 0x1000>; /* IPMMU-RT */ + renesas,ipmmu-main = <&ipmmu_mm 7>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_mp0: mmu@ec670000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xec670000 0 0x1000>; /* IPMMU-MP0 */ + renesas,ipmmu-main = <&ipmmu_mm 4>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_mp1: mmu@ec680000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xec680000 0 0x1000>; /* IPMMU-MP1 */ + renesas,ipmmu-main = <&ipmmu_mm 5>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_sy: mmu@e7730000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xe7730000 0 0x1000>; /* IPMMU-SY */ + renesas,ipmmu-main = <&ipmmu_mm 8>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_ds0: mmu@e6740000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xe6740000 0 0x1000>; /* IPMMU-DS0 */ + renesas,ipmmu-main = <&ipmmu_mm 0>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_ds1: mmu@e7740000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xe7740000 0 0x1000>; /* IPMMU-DS1 */ + renesas,ipmmu-main = <&ipmmu_mm 1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_mm: mmu@e67b0000 { + compatible = "renesas,ipmmu-r8a7795"; + reg = <0 0xe67b0000 0 0x1000>; /* IPMMU-MM */ + interrupts = , + ; + #iommu-cells = <1>; + status = "disabled"; + }; + dmac0: dma-controller@e6700000 { compatible = "renesas,dmac-r8a7795", "renesas,rcar-dmac";