From patchwork Mon Aug 20 14:17:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10570407 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 EA68C139B for ; Mon, 20 Aug 2018 14:18:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81FC628DD4 for ; Mon, 20 Aug 2018 14:18:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75D2828DE6; Mon, 20 Aug 2018 14:18:03 +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 601DA28DD4 for ; Mon, 20 Aug 2018 14:18:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726239AbeHTRdu (ORCPT ); Mon, 20 Aug 2018 13:33:50 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:41584 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbeHTRdu (ORCPT ); Mon, 20 Aug 2018 13:33:50 -0400 Received: by mail-pl0-f65.google.com with SMTP id p4-v6so3644702pll.8 for ; Mon, 20 Aug 2018 07:18:01 -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=mBinDYu24odiRxXWn9RVLdQmRXnMAFJD72Rp0qvb8A8=; b=qpiJ4sCL4Bfkk0k7OhgCvp7a/4xwcmfDqRyTtzAD6AB1N4DX/3MKfj5z9ixox8qXuD CT4A0yuBoy4oPytyPqUCUIVcJm0WRJch5gsCruQQQsI/gpxiDSPYLSwESIngyfLRh0wh 7DtYNsBtkPQSE8/z0NtKV1y6NXUDdPamX4hVFDsfBDLYIKcwp/VvN/s5tPTfQxKOG5nZ ViItogAERwYbsXeJHna52Ztj5LR5h1VevrOqifJMzfHxveW4yJeUSm+l+ZcozixWDYnn 7AXPOYK7q/8wUmpvhi1qAHADQV+B96GLSKwcMJifSwevlXTL1kstmOaSosWiQ5cURoRa //Gg== 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=mBinDYu24odiRxXWn9RVLdQmRXnMAFJD72Rp0qvb8A8=; b=fgX78biA8C1Uqy6tfZsss3kmkyD8LWSWV9NQUskfh4J93zAD7Vio88KYqgdgwaT1Y9 6adszxI5So6nKxEom6i01vfKCC9TN/32p14oBvbMlUH5ImhFpb4ybox3isvm84qWouYL dfEPj0R7Kr/kmQ/zS/yPs7gHvrgIuB8RSXX1gb+A6gXXikJBUJd/2EYhgxcyJ3hqR4xj Y13HdtHowef2EWNrU8E4EVGsABth9VbjiE+mTKq5WrhDQd42rlg6W6aszxDS+QHT/sGG PFYkGw9f+juVkeqFBOksyIjG0JnyyKLmSavzVrQoS/p7THf32CtE0JPs1W3kSfmUnJ7z /STQ== X-Gm-Message-State: AOUpUlE863haYARXpeA9wqdXCHjtlkBJ4Toc1u8OpuuMLnxv07ciqfMt aMOK4mGfgqvF8WKYJnSuyMbxBXzp X-Google-Smtp-Source: AA+uWPzsAI0ZSeXieSJubKzU3nq6VV5y1Je5QtSspEFAVQAG/BIdW9Jtwh/MZQ3sizj97XFhKFMG4A== X-Received: by 2002:a17:902:d211:: with SMTP id t17-v6mr10972068ply.258.1534774680683; Mon, 20 Aug 2018 07:18:00 -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 d81-v6sm15522775pfj.122.2018.08.20.07.17.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 07:17:59 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Mon, 20 Aug 2018 23:17:56 +0900 Message-Id: <153477467683.10333.4519731916058341587.sendpatchset@octo> Subject: [PATCH] arm64: dts: renesas: r8a77965: 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 M3-N hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to IPMMU-DS0 and IPMMU-DS1 in same way as for R-Car M3-W. This follows the R-Car Gen3 Rev.1.00 (April 2018) datasheet. Signed-off-by: Magnus Damm --- Developed on top of renesas-devel-20180810-v4.18-rc7 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77965.dtsi 2018-08-20 23:11:52.655712775 +0900 @@ -634,6 +634,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 { @@ -668,6 +676,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 { @@ -702,6 +718,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 {