Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3824512imm; Sat, 21 Jul 2018 04:09:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf/3ucxR5BYX6qkYvEUSsOM12WU3Pexd5NsKCprPCK/TCSy/t4cZXIKx40chQyGVAl07K04 X-Received: by 2002:aa7:8591:: with SMTP id w17-v6mr5710203pfn.77.1532171371624; Sat, 21 Jul 2018 04:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532171371; cv=none; d=google.com; s=arc-20160816; b=jbUjZL24ifrXO2HymoaB+rAytcTVf+fMt/6zaJNxopcxrwEP9lEEFJe0ZLsR1tfMMm BtpRLa3xjU//Bjc9ngApjAxjgrTBt8GJYMgImIHk1x8Pca6CiJzrHP3al9SDRwCb1Xzk ml9xo8l9JPvDVrRl1b6QTXKZyyUnseKhi3Hv+A3BMMJ8l0IZBoFAbXJt7HtfxGl4GxQC zwa2sh8CtEDBr6UcthjeJ4feQdEo5ZHd3TTBKwNCPz6q7+LUXoZ9Kq17qQocfUYpIGBx CQ9KpPbn8VAR0NyI012yYc9odhZfHHJkEYH/dQ2qTwt2fuIPogU8lYgRZ/3ZvwUGDtMp 2UgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=KhjzuRRfIhS4ZOXgMHZpO+37ba5PJ28n1J2o+yXOPfw=; b=ZuDtJGJBk3ZVVQMxhDZbyFvKl15Mu9PdcP1XzMNazFXRnuti4Ta0pjfUFSGn6nWjDq 1CTWU+1k1KjSSenb6AT3A3MqFy1eyQuEFaHl0NOGn7RWzCVMhSNlUhW4mzOL22jFV0+6 lhzIhvS22syA/Dl/1NRR1mNoJyebI9BlcA7Xx76OpHKLmotoSYot9ZA1llP4AlQwsEUm Gc1h1sC61C3WY2aoKGhtVr1LIOkI23XSohiuC2igdGPd3OcVYnh6v+87OX+spjpxKpuV ox38cyBUQZfpY5lu9phGz4uROR7BlJn/P7AjP3q43Evssl7Jox75J+og0jVXfJyZS0Pb 5rfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=IMhu9lBS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13-v6si3782052pgr.338.2018.07.21.04.09.04; Sat, 21 Jul 2018 04:09:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=IMhu9lBS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729313AbeGUMAX (ORCPT + 99 others); Sat, 21 Jul 2018 08:00:23 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:47696 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728635AbeGUMAX (ORCPT ); Sat, 21 Jul 2018 08:00:23 -0400 From: Paul Cercueil To: Vinod Koul , Rob Herring , Mark Rutland , Ralf Baechle , Paul Burton , James Hogan , Zubair Lutfullah Kakakhel Cc: Mathieu Malaterre , Daniel Silsby , Paul Cercueil , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Subject: [PATCH v3 17/18] MIPS: JZ4770: DTS: Add DMA nodes Date: Sat, 21 Jul 2018 13:06:42 +0200 Message-Id: <20180721110643.19624-18-paul@crapouillou.net> In-Reply-To: <20180721110643.19624-1-paul@crapouillou.net> References: <20180721110643.19624-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1532171281; bh=KhjzuRRfIhS4ZOXgMHZpO+37ba5PJ28n1J2o+yXOPfw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=IMhu9lBSSp4CM3hglM1LOqzvaxATuuv9bX4hcZGX8+anMeQJMQlGEFbMZSH6oJsXjt5cHcCgTRFNG2n5M/V/8uNterD+I4ReMJQL4QImxYqq1nMV6TgyTbE2jNQUZlBPg71SSz16YbCgDhXJQ/ROYRdbgoir7pGcM64Ky+4ao1c= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the two devicetree nodes for the two DMA cores of the JZ4770 SoC, disabled by default, as currently there are no clients for the DMA driver (until the MMC driver and/or others get a devicetree node). Signed-off-by: Paul Cercueil Tested-by: Mathieu Malaterre --- arch/mips/boot/dts/ingenic/jz4770.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) v2: No change v3: Modify nodes to comply with devicetree specification diff --git a/arch/mips/boot/dts/ingenic/jz4770.dtsi b/arch/mips/boot/dts/ingenic/jz4770.dtsi index 7c2804f3f5f1..49ede6c14ff3 100644 --- a/arch/mips/boot/dts/ingenic/jz4770.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4770.dtsi @@ -196,6 +196,36 @@ status = "disabled"; }; + dmac0: dma-controller@13420000 { + compatible = "ingenic,jz4770-dma"; + reg = <0x13420000 0xC0 + 0x13420300 0x20>; + + #dma-cells = <1>; + + clocks = <&cgu JZ4770_CLK_DMA>; + interrupt-parent = <&intc>; + interrupts = <24>; + + /* Disable dmac0 until we have something that uses it */ + status = "disabled"; + }; + + dmac1: dma-controller@13420100 { + compatible = "ingenic,jz4770-dma"; + reg = <0x13420100 0xC0 + 0x13420400 0x20>; + + #dma-cells = <1>; + + clocks = <&cgu JZ4770_CLK_DMA>; + interrupt-parent = <&intc>; + interrupts = <23>; + + /* Disable dmac1 until we have something that uses it */ + status = "disabled"; + }; + uhc: uhc@13430000 { compatible = "generic-ohci"; reg = <0x13430000 0x1000>; -- 2.11.0