From patchwork Mon Sep 17 08:53:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10602241 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-2.web.codeaurora.org (Postfix) with ESMTP id 72BA26CB for ; Mon, 17 Sep 2018 08:53:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60EC9285A8 for ; Mon, 17 Sep 2018 08:53:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55400285F9; Mon, 17 Sep 2018 08:53:08 +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 EE6D1285A8 for ; Mon, 17 Sep 2018 08:53:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727166AbeIQOTd (ORCPT ); Mon, 17 Sep 2018 10:19:33 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:40467 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727133AbeIQOTd (ORCPT ); Mon, 17 Sep 2018 10:19:33 -0400 Received: by mail-pl1-f194.google.com with SMTP id s17-v6so7092678plp.7 for ; Mon, 17 Sep 2018 01:53:07 -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=xFmYdbYx3kYh7+gdItCi0mKyWyMMirCRhbJ1UFk4BI0=; b=M0m3EtEBCAkVhGSKPRREB89KyEgewTeOYhezPzj7KMQg0bCKe3T7qh9etLMhyJh+nf WNC52aOZ5qZxDcm9O2A7Lp38Cg6tAMIdPiffkViDtQzztlbGdMrTC4L0ontrgKUcaqCX 5UAH5F6d7EAoSKDlUDVLikkAEkDGUrE7Jvb1kQve1hjyIvduZyl2x7P2pxImhhaOjKLX hH0T5xO9Ah8n0TxpBegQ/OReODnq0LdPEbRaNrQ2CCYXBjZi8pAMmoL29wsxS9BlvWZU t/1BpoJc2GDZFMbhxYUNUVcgONw9gXROYrmiibsrACpK9kN5kWjeNC98kK91kw03E6Sj KUmA== 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=xFmYdbYx3kYh7+gdItCi0mKyWyMMirCRhbJ1UFk4BI0=; b=h/6G9j1TPZ0MgNTbFdd3daiEAft63GQh1++3aMMLmZ2CCGJ49Nxs1ZOzPvMmoDEfp3 g67Z12dSA6iLixsbNziYOhBUoaJBhL7sVJGNC1XvUyMfadndqvvU1qE838JzK9gHPetW K+AVMOFvE2ZUVLXqGS/nW4B/PWdiXAO8ZTYxdt3479EfA/JQGrj6zmGTcXZr4UojCucg Ke+9pACjd2R+SnPhYiZNsISPXw3QIgmGDnBwIb0A3bHglUFV/eYT51TfAzPVwotXht2T MTKoVV88spM0AGs8OemmCgp03xdF9nXGWObMUzJ70JqbPSy4Rw+advkLWf8benduml5x B3RA== X-Gm-Message-State: APzg51DH2oKvZ9K3e6yp+Sh4snmisTgkWvPUhti6kGDnfA6RZ8Kpmpan 0Iv9TtwxJI3qhiv2yEbQduxqhWNG X-Google-Smtp-Source: ANB0VdYtjJmNULyZLLmaton2CEVPOSK/4H9qfVkgbkQPl7O+jKjoezEPVjbU+EkXPJbFNwSOA7mOQA== X-Received: by 2002:a17:902:7794:: with SMTP id o20-v6mr23569826pll.116.1537174386338; Mon, 17 Sep 2018 01:53:06 -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 z6-v6sm19500137pgr.41.2018.09.17.01.53.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Sep 2018 01:53:04 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 17 Sep 2018 17:53:05 +0900 Message-Id: <153717438596.643.1467359690364003439.sendpatchset@octo> Subject: [PATCH] arm64: dts: renesas: r8a77980: 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 V3H hook up SYS-DMAC1 and SYS-DMAC2 to IPMMU-DS1 to match information in the R-Car Gen3 Rev.1.00 (April 2018) datasheet. Signed-off-by: Magnus Damm --- Developed on top of renesas-devel-20180914-v4.19-rc3 arch/arm64/boot/dts/renesas/r8a77980.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77980.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77980.dtsi 2018-09-17 16:56:00.550727051 +0900 @@ -924,6 +924,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 { @@ -958,6 +966,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>; }; gether: ethernet@e7400000 {