From patchwork Wed Nov 15 15:25:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 10059747 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 A3E8C6019D for ; Wed, 15 Nov 2017 15:25:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 947792A01A for ; Wed, 15 Nov 2017 15:25:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88E402A03A; Wed, 15 Nov 2017 15:25:26 +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 297B52A01A for ; Wed, 15 Nov 2017 15:25:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758370AbdKOPZZ (ORCPT ); Wed, 15 Nov 2017 10:25:25 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:54763 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758300AbdKOPZQ (ORCPT ); Wed, 15 Nov 2017 10:25:16 -0500 Received: by mail-wr0-f196.google.com with SMTP id l22so20756554wrc.11 for ; Wed, 15 Nov 2017 07:25:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=8CtgKt0KjBJScWzB8ggOnNBhRKSM6r4JGODmeaTgcTQ=; b=bf20GAvzoNc2Lpeq+IlRxXKgVUzxpgAo98b4DlqUTPSZ87QtEKCvg99qL9TeNO+wDO 7B1b9M7fYa8Y4QMU0SF2j9OU4G0MK6AeqPxwsPQtfYHK9mx/8/GEDxCjYjHi4KYpJTHp xesWKgYnhFPBRyffy8PN7cWHJ3rqLkNS3KX+bVMiJMc3BWccOX6KPwb9M0wlH4HO2tcb C5nnAIRrYvfKtftj2fxyzuWKDtoL6EMHKav1qg605Jsie/txI6kI3szybH8vMghW4W6h 67NVTgtori2iD62wLNppBo+YvjP1LCQ29Aq5B8yzq2ZUu33WLTEH2aFqxjELMIkmUyyj ZCQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=8CtgKt0KjBJScWzB8ggOnNBhRKSM6r4JGODmeaTgcTQ=; b=DR/a8bAzmXsl3NiCANgJxt4kYZYU1RD9dC3Si5XBa+FXtE9kW9xJfppSyx1FkP1yMk aGCPprxW+UKsYUWkLwmh6IIhR0buAV/OXt+TER7ENUZ9eikvcGWOIaUKcVz7lUwTB689 Y9EtY86qiQMj20fOuwonWE71HHHW83YaF/IgsLvw0xxtCHZH8pILkH7/brq4p9YXqeOh kzyTHFSmucDTsqGyQxK832kpsEdcSyvOGb+jad0ImzKU/P2BjPBZzg4mVs/tygZK00wp kXRKztzrYAMXGwiy4zcjejUa2sb1Vr5hsjRra4Okwi9tQzqjURqN+nVPvPOMTS7Avdem iPow== X-Gm-Message-State: AJaThX55fIgEuQ+LN0XCeVqbEdFEM0he87Yfs6r+t1QmPh731lgWvpO/ xkwxJpfSeU7/l/n44X4m5msy8Pk= X-Google-Smtp-Source: AGs4zMa/4IMGRukqmiv1BTiYmoucIhi7dK3pFddENSNyiVVk//tA8J38Gg4BMQEY0IuvmLysa399Qw== X-Received: by 10.223.160.89 with SMTP id l25mr12738488wrl.56.1510759514756; Wed, 15 Nov 2017 07:25:14 -0800 (PST) Received: from groucho.site (ipbcc0ce42.dynamic.kabel-deutschland.de. [188.192.206.66]) by smtp.gmail.com with ESMTPSA id p200sm10047574wmd.9.2017.11.15.07.25.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 07:25:13 -0800 (PST) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org, wsa@the-dreams.de, horms@verge.net.au, geert@linux-m68k.org Cc: magnus.damm@gmail.com, Ulrich Hecht Subject: [PATCH 1/3] arm64: dts: r8a77995: add SYS-DMAC nodes Date: Wed, 15 Nov 2017 16:25:08 +0100 Message-Id: <1510759510-30295-2-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510759510-30295-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1510759510-30295-1-git-send-email-ulrich.hecht+renesas@gmail.com> 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 Differs from other Gen3 SoCs in that each controller only supports eight channels. Signed-off-by: Ulrich Hecht Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 72 +++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index 788e3af..04a392a 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi @@ -155,6 +155,78 @@ resets = <&cpg 407>; }; + dmac0: dma-controller@e6700000 { + compatible = "renesas,dmac-r8a77995", + "renesas,rcar-dmac"; + reg = <0 0xe6700000 0 0x10000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7"; + clocks = <&cpg CPG_MOD 219>; + clock-names = "fck"; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 219>; + #dma-cells = <1>; + dma-channels = <8>; + }; + + dmac1: dma-controller@e7300000 { + compatible = "renesas,dmac-r8a77995", + "renesas,rcar-dmac"; + reg = <0 0xe7300000 0 0x10000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7"; + clocks = <&cpg CPG_MOD 218>; + clock-names = "fck"; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 218>; + #dma-cells = <1>; + dma-channels = <8>; + }; + + dmac2: dma-controller@e7310000 { + compatible = "renesas,dmac-r8a77995", + "renesas,rcar-dmac"; + reg = <0 0xe7310000 0 0x10000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7"; + clocks = <&cpg CPG_MOD 217>; + clock-names = "fck"; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 217>; + #dma-cells = <1>; + dma-channels = <8>; + }; + gpio0: gpio@e6050000 { compatible = "renesas,gpio-r8a77995", "renesas,rcar-gen3-gpio",