Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1096255imm; Tue, 3 Jul 2018 05:33:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfLEsNYEvf/cEmPechYRa6e45BL94jfmjkT7Ox4uMMuiYRQdCOefNNUoT3JP89jtJysorwA X-Received: by 2002:a62:5d18:: with SMTP id r24-v6mr28128114pfb.87.1530621232137; Tue, 03 Jul 2018 05:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530621232; cv=none; d=google.com; s=arc-20160816; b=A5VxANwGJ9toKnIQXCdrNl8MPp8Hq41BRKxB4UARNX5jGnT9HLfrSquc5+b7c3kcc4 jdIXAHiB8CkZ193gEfOjxuWQ1HovVLBms3FdaDRJMN32cyMBRYmoJ/jWfpNtZi5d1hcJ 0d3djhSvsswyqT3MfOVpf19ezoLsKTNPkQAgnBvReSBzEkHm2EyPSo8x1JD3ulMQGvLV edxPeziyT/fDu+z0gJg0QhGd0aJ/7Od/cwAzz0buhucPIY0yzK2lpdeTUKl2MOK1CRCO 2LqgNKdlwGvfCBcSZQRmU6jijFqhyKIGUpir/OpuFA9oNCfTd/90mfH1QNTfxvPCWuEz q9mQ== 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=C807AJhPGWsu5UJSfOF6v4vXjEyRG82nlyRkvUXCRQs=; b=x45zzVQoQDeDGQL23TCweNCKsb+04zrdZzjVcR65p0SUGwHPdTVBFrkV3vDEmvfIG7 uqMAeZU2bIjmsPEETg8ZX3+HkRkt+VK0baO3ghKVZouZjyXvZevA/M+n6WHJs5srFpfJ g7rZvjqZlYs0+vsNJZiLTTsoK6cO1dc4PitcjHPjMw+JHeVmuP6EX3etZxvvnoW0NYa6 26IpSafxTpRJ81GzTw/mJu54cVmYI5FADH8x+QXP4wugdOkcaXPh+JUIE6ARx2AQ2EKU 7urtZ+ZWT5ck59IacS98UgnG7lO/HrxAxTaV9tWD2Dz4Dj++6jt2MsfM4U0m6hqrPHk0 8j0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=OZIPt2Nk; 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 b12-v6si864269pge.684.2018.07.03.05.33.36; Tue, 03 Jul 2018 05:33:52 -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=OZIPt2Nk; 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 S932367AbeGCMct (ORCPT + 99 others); Tue, 3 Jul 2018 08:32:49 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:49726 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932181AbeGCMcq (ORCPT ); Tue, 3 Jul 2018 08:32:46 -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 , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Paul Cercueil Subject: [PATCH 14/14] MIPS: JZ4770: DTS: Add DMA nodes Date: Tue, 3 Jul 2018 14:32:14 +0200 Message-Id: <20180703123214.23090-15-paul@crapouillou.net> In-Reply-To: <20180703123214.23090-1-paul@crapouillou.net> References: <20180703123214.23090-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1530621165; bh=C807AJhPGWsu5UJSfOF6v4vXjEyRG82nlyRkvUXCRQs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=OZIPt2NkoQ9xaNz5iqPpl8z941SOq/+rcCoMZBAlpFmNcd9yCSMG2a6QClbfvbZc7SFi3Jw4XDUWUbEKT028ZUttXyrjowFSAyp3sW1+d5x3YxIFHWzHJvIXhxj4Ewf8JX9YIJo2h7MpXmBQuLUFEC31TgTeNnn4cp83LOnNqks= 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 --- arch/mips/boot/dts/ingenic/jz4770.dtsi | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4770.dtsi b/arch/mips/boot/dts/ingenic/jz4770.dtsi index 7c2804f3f5f1..fda17beeb08b 100644 --- a/arch/mips/boot/dts/ingenic/jz4770.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4770.dtsi @@ -196,6 +196,36 @@ status = "disabled"; }; + dmac0: jz4770-dma@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: jz4770-dma@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.18.0