From patchwork Thu Jan 19 14:15:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9525941 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 51DA46020B for ; Thu, 19 Jan 2017 14:16:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4314628496 for ; Thu, 19 Jan 2017 14:16:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37FC02850D; Thu, 19 Jan 2017 14:16:29 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 13DD828496 for ; Thu, 19 Jan 2017 14:16:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752909AbdASOP6 (ORCPT ); Thu, 19 Jan 2017 09:15:58 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:38796 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752718AbdASOPz (ORCPT ); Thu, 19 Jan 2017 09:15:55 -0500 Received: by mail-wm0-f50.google.com with SMTP id r144so79178422wme.1 for ; Thu, 19 Jan 2017 06:15:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=bw18VE7S/2tiLd0TAzVCs3QZ4FB10JPhfYny97gxNOI=; b=DN/+gK9AXbrmwsFczfmzK7bnSCLICJOEX+5HJU65V0qVA0iEgpjvPYeqB8CoCC3mpG qrW/LqMAbo3/E3uDDRrTldwFDb2z2ecGiG+JYiTRlW5Z1Uk09D6NgA6MjH5VgJJjEMPs Q7o5U2AVQ45EViD0JwM0ShqiupYiHJLZSXloErYNQ4eHz1AqDkN4FxECrUV4VKCrNmys avuPCh9uI//sSTuowFRbIbfElRMcZFKUUekyHs1D6Zi6Y57dcxBKrGVQ02X2oCkTKWnL rGxJ4HwZ4Tb/GlvZGVQYzdGtHTH2vA1hfryLXEw1PyoE+u0QzL5HTrKBxZHNu8ao6qHL 3tKA== 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:subject:date:message-id; bh=bw18VE7S/2tiLd0TAzVCs3QZ4FB10JPhfYny97gxNOI=; b=KCCxKMojljT/ozMACanuia46qKSva5HCE+cDimC7wpwtuAT7KVLerl1h2u/zDUDWNz GjMPLTN8lwSaBsdLTvKvjvhAtI/JvzbPceiwKji/4V7pDAn9swDN+cJn/TjzxysntoOK 6t2pukmJcYbJv6r6EZtv69JJ7aJHCzXWkba7jq1Xm7dp3X1WDhD3aRGFfwW0VuN370ek IQ4An7xRvwJAwPWYoouzV1dOkD8+rurOgMvwN5/Jtj1HYIv08kzUH1psI+eIZEr8snIZ P2GnMEtm7sbbBVfV+erON6J0iXWlCK5Eup51ZCfJ26YEmzRm1eIYzWnYF+uPfRNjhyOh nq6w== X-Gm-Message-State: AIkVDXILAj9Xk2zbIem6VlY6RBuKkgx3qlr9iMfE8NZ778zP9xVFO58aVlxwVjBbsF4iXuiJ X-Received: by 10.223.169.112 with SMTP id u103mr7616989wrc.166.1484835311107; Thu, 19 Jan 2017 06:15:11 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id q1sm13185131wmd.6.2017.01.19.06.15.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Jan 2017 06:15:10 -0800 (PST) From: Alexandre Bailon To: nsekhar@ti.com Cc: khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, b-liu@ti.com, sergei.shtylyov@cogentembedded.com, grygorii.strashko@ti.com, linux-usb@vger.kernel.org, Alexandre Bailon Subject: [PATCH] ARM: dts: da850: Add the CPPI 4.1 DMA to the USB OTG controller Date: Thu, 19 Jan 2017 15:15:07 +0100 Message-Id: <20170119141507.20158-1-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the CPPI 4.1 DMA controller to the USB OTG controller. Changes since v2: - Fixed the the property reg-names (had glue register defined) - Removed few useless property Signed-off-by: Alexandre Bailon --- arch/arm/boot/dts/da850.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 104155d..f4a637a 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -396,12 +396,37 @@ usb0: usb@200000 { compatible = "ti,da830-musb"; reg = <0x200000 0x10000>; + ranges; interrupts = <58>; interrupt-names = "mc"; dr_mode = "otg"; phys = <&usb_phy 0>; phy-names = "usb-phy"; status = "disabled"; + + #address-cells = <1>; + #size-cells = <1>; + + dmas = <&cppi41dma 0 0 &cppi41dma 1 0 + &cppi41dma 2 0 &cppi41dma 3 0 + &cppi41dma 0 1 &cppi41dma 1 1 + &cppi41dma 2 1 &cppi41dma 3 1>; + dma-names = + "rx1", "rx2", "rx3", "rx4", + "tx1", "tx2", "tx3", "tx4"; + + cppi41dma: dma-controller@201000 { + compatible = "ti,da830-cppi41"; + reg = <0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + #dma-cells = <2>; + #dma-channels = <4>; + status = "okay"; + }; }; mdio: mdio@224000 { compatible = "ti,davinci_mdio";