From patchwork Mon Sep 17 08:19:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10602171 X-Patchwork-Delegate: geert@linux-m68k.org 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 F39E91508 for ; Mon, 17 Sep 2018 08:19:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDCCA292B5 for ; Mon, 17 Sep 2018 08:19:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1300292C1; Mon, 17 Sep 2018 08:19:51 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 46200292B5 for ; Mon, 17 Sep 2018 08:19:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727193AbeIQNqJ (ORCPT ); Mon, 17 Sep 2018 09:46:09 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:35588 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727185AbeIQNqJ (ORCPT ); Mon, 17 Sep 2018 09:46:09 -0400 Received: by mail-pl1-f196.google.com with SMTP id g2-v6so7059666plo.2 for ; Mon, 17 Sep 2018 01:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:subject; bh=1olZDcD9lJcJVsFQXPVuHL1fyZ4BwUTp3QO04mSFcJM=; b=IvOsJFvxDjKPblzWyfN1/+rSRvGLV0xPCC8GtuVwFzm2EBYJ7ePPdAi7EcEoJmv1GV KXCglHNcbqUKN6R8xKwcjAGlqNXkNjOHfIDky7JuiWVhL/FfGMe70qh0IM7QsVryvYEu gQ94mVZBdUt2nDJvYMHvuJi4gUIoray/wzuwoDsJYBzOU3BjSn8OPes4yDM+Wz3PGzCF SV7aVB1QI4U0id0HEmaZFC29vaN7D3+jkvCg93OX2yPRrpxvRtM1ZH7OgHzIGxgX/Psu 7Rx7EUzvuzDUgyOG80lvrCVJ+c21e0gmGE4D9bTM0lDqCSLT8jbHRgMI4ocERPpWdroo C74A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:subject; bh=1olZDcD9lJcJVsFQXPVuHL1fyZ4BwUTp3QO04mSFcJM=; b=fEWL79iOdeoFEsVjjgNf6urjoMZZWx64x6J9YMDTpWyJwgO9Zs/WnllrQGnlmWSBkB swqoyJPHhHFaRMCrjDxNCBigAivHuOEUyiIt9dJttpJQQzhInTCkucIwg1/Ae0cTW2mg UxvR1Dwo95rf0CoLLGO4ukgjr80chUhg2hO2Rb/NxASbu9KSmyez/OYZppArTROLNZ2t eyJgIhFBPMrWL4C+4w+JZL9BCrTo3wOTAn1hzP5w9slO/3Wb/KiOegWGxYDIPNFLQG+B SbuFu6daQRK7hHCSoO3Usdr9FKLdC75xKIjzXd4IWQgBxtYGGxdXbfiQDweUxeIhY6OL Ft1g== X-Gm-Message-State: APzg51ARR/CocAkE+L+B1CRPFgfwxXk4y4//20mnmoo3AcAnRkfICo7F 7TEgAaaGEXH5XF+6aTmIRE56B7Jh X-Google-Smtp-Source: ANB0VdZC6zlRyN8XSuip5Q407e956U5LdtWECVlvr3Vkv2ANfmKoeETxER7pA+RQVB20fI82erRo8A== X-Received: by 2002:a17:902:344:: with SMTP id 62-v6mr23864021pld.164.1537172389486; Mon, 17 Sep 2018 01:19:49 -0700 (PDT) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp. [218.219.193.216]) by smtp.gmail.com with ESMTPSA id z11-v6sm19549023pff.162.2018.09.17.01.19.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Sep 2018 01:19:48 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 17 Sep 2018 17:19:49 +0900 Message-Id: <153717238926.32742.16468076576808713610.sendpatchset@octo> Subject: [PATCH] arm64: dts: renesas: r8a77990: Attach the SYS-DMAC to the IPMMU 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 For R-Car E3 hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to IPMMU-DS0 and IPMMU-DS1 in same way as for R-Car H3. This follows the R-Car Gen3 Rev.1.00 (April 2018) datasheet. Signed-off-by: Magnus Damm Reviewed-by: Simon Horman --- Developed on top of renesas-devel-20180914-v4.19-rc3 arch/arm64/boot/dts/renesas/r8a77990.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77990.dtsi 2018-09-17 16:59:44.177451447 +0900 @@ -373,6 +373,14 @@ resets = <&cpg 219>; #dma-cells = <1>; dma-channels = <16>; + iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>, + <&ipmmu_ds0 2>, <&ipmmu_ds0 3>, + <&ipmmu_ds0 4>, <&ipmmu_ds0 5>, + <&ipmmu_ds0 6>, <&ipmmu_ds0 7>, + <&ipmmu_ds0 8>, <&ipmmu_ds0 9>, + <&ipmmu_ds0 10>, <&ipmmu_ds0 11>, + <&ipmmu_ds0 12>, <&ipmmu_ds0 13>, + <&ipmmu_ds0 14>, <&ipmmu_ds0 15>; }; dmac1: dma-controller@e7300000 { @@ -407,6 +415,14 @@ resets = <&cpg 218>; #dma-cells = <1>; dma-channels = <16>; + iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>, + <&ipmmu_ds1 2>, <&ipmmu_ds1 3>, + <&ipmmu_ds1 4>, <&ipmmu_ds1 5>, + <&ipmmu_ds1 6>, <&ipmmu_ds1 7>, + <&ipmmu_ds1 8>, <&ipmmu_ds1 9>, + <&ipmmu_ds1 10>, <&ipmmu_ds1 11>, + <&ipmmu_ds1 12>, <&ipmmu_ds1 13>, + <&ipmmu_ds1 14>, <&ipmmu_ds1 15>; }; dmac2: dma-controller@e7310000 { @@ -441,6 +457,14 @@ resets = <&cpg 217>; #dma-cells = <1>; dma-channels = <16>; + iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>, + <&ipmmu_ds1 18>, <&ipmmu_ds1 19>, + <&ipmmu_ds1 20>, <&ipmmu_ds1 21>, + <&ipmmu_ds1 22>, <&ipmmu_ds1 23>, + <&ipmmu_ds1 24>, <&ipmmu_ds1 25>, + <&ipmmu_ds1 26>, <&ipmmu_ds1 27>, + <&ipmmu_ds1 28>, <&ipmmu_ds1 29>, + <&ipmmu_ds1 30>, <&ipmmu_ds1 31>; }; ipmmu_ds0: mmu@e6740000 {