From patchwork Thu Oct 27 11:18:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9399565 X-Patchwork-Delegate: horms@verge.net.au 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 8D6EE60233 for ; Thu, 27 Oct 2016 14:39:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 769202A2F2 for ; Thu, 27 Oct 2016 14:39:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A3032A310; Thu, 27 Oct 2016 14:39:36 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CD602A2F2 for ; Thu, 27 Oct 2016 14:39:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754887AbcJ0Oho (ORCPT ); Thu, 27 Oct 2016 10:37:44 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:35911 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942624AbcJ0Ohm (ORCPT ); Thu, 27 Oct 2016 10:37:42 -0400 Received: by mail-pf0-f171.google.com with SMTP id e6so18850655pfk.3 for ; Thu, 27 Oct 2016 07:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=qoDInEB/zxKwZJUidaOnUT6qPUz/2QM5JbBqAHMWmdE=; b=BCMSo2X+kxOGDvEiKlCiMFGzqI0wx+tCDH61P4MkedGeIiHodtbac+ewEHOGZNlUNa ths/8Q0NAJ4K+FWZQXZUF8aQn9iDzRNFc7/7HUQcgcIvE99mvKIRckKSqtA98nouNuVl DPR3ScoES4K1NjDoaIKrA8QS0PGj1Cql8AWetVcFEOzTDvkYV7cd5vk0Cw279Q5vPyi3 c5qBpOHWq20/4To6mZUs9CNV2P+DTCF8QASsqKAiZXMfiQkcmzAT3weOsNUks/tEvPng KgGOtqGmrMNEcJpm7LLiElC7kdh4GXBoC7EAd+pMNXo+P5cehio/jI9iPHZ8f/HDcoic roxA== 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:subject; bh=qoDInEB/zxKwZJUidaOnUT6qPUz/2QM5JbBqAHMWmdE=; b=On53T1xNBOBn6LiLZKbCbhJCgw64rrlbwOpGAh/+hZvccaXPXv8u/8eP207o6n4u9q oG1LjxPdP0xot22VbZ0dB2/ECCxBE46DXsfBUeoUbt2OOguq93ioTiIaPZOYG3jBXie/ tDyhbjTVzVd2uNCcuLrlEZiqfKZSTjCetd+IwQSBJyQP7/y7MacyybMcwsy7C6nb2DHV 03OKXDthN6gXxzHg+o80jPregWaM9k2ljT8AFcn3F+fQuZ0vcjAj/R8UfIZdvin8pBLQ 4LxxVzAQHliNCc1kEYMQ9P/pR8sEu3xcZUq3tc9NS6ViH73HX3VMhWt1rB6WydbD8kx4 pRIg== X-Gm-Message-State: ABUngvevQS31BIYJHnokxqiiNwuqnKw2rA05jDhcizAAtzu4+wXlis5/sk3fNolTCogmcg== X-Received: by 10.99.213.21 with SMTP id c21mr11370510pgg.176.1477567567160; Thu, 27 Oct 2016 04:26:07 -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 w24sm11137007pfa.12.2016.10.27.04.26.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 04:26:05 -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: Thu, 27 Oct 2016 20:18:22 +0900 Message-Id: <20161027111822.11574.3221.sendpatchset@little-apple> Subject: [PATCH/RFC] arm64: dts: r8a7796: 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-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add r8a7796 IPMMU nodes and keep all disabled by default. Signed-off-by: Magnus Damm --- Depends on the following DT binding that has been acked by Laurent but is not yet upstream or queued up in -next: [PATCH v2] iommu/ipmmu-vmsa: Add r8a7796 DT binding arch/arm64/boot/dts/renesas/r8a7796.dtsi | 89 ++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7796.dtsi 2016-10-27 20:12:24.830607110 +0900 @@ -224,6 +224,95 @@ reg = <0 0xe6060000 0 0x50c>; }; + ipmmu_vi: mmu@febd0000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xfebd0000 0 0x1000>; /* IPMMU-VI */ + renesas,ipmmu-main = <&ipmmu_mm 9>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_vc0: mmu@fe6b0000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xfe6b0000 0 0x1000>; /* IPMMU-VC0 */ + renesas,ipmmu-main = <&ipmmu_mm 8>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_pv0: mmu@fd800000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xfd800000 0 0x1000>; /* IPMMU-PV0 */ + renesas,ipmmu-main = <&ipmmu_mm 5>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_pv1: mmu@fd950000 { + compatible = "renesas,ipmmu-r8a7796"; + reg = <0 0xfd950000 0 0x1000>; /* IPMMU-PV1 */ + renesas,ipmmu-main = <&ipmmu_mm 6>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_ir: mmu@ff8b0000 { + compatible = "renesas,ipmmu-r8a7796"; + 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-r8a7796"; + 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-r8a7796"; + 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-r8a7796"; + reg = <0 0xec670000 0 0x1000>; /* IPMMU-MP0 */ + renesas,ipmmu-main = <&ipmmu_mm 4>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ipmmu_ds0: mmu@e6740000 { + compatible = "renesas,ipmmu-r8a7796"; + 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-r8a7796"; + 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-r8a7796"; + reg = <0 0xe67b0000 0 0x1000>; /* IPMMU-MM */ + interrupts = , + ; + #iommu-cells = <1>; + status = "disabled"; + }; + cpg: clock-controller@e6150000 { compatible = "renesas,r8a7796-cpg-mssr"; reg = <0 0xe6150000 0 0x1000>;