From patchwork Tue Jan 24 10:22:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9534805 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 E4C3F6042D for ; Tue, 24 Jan 2017 10:24:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D49CD201BD for ; Tue, 24 Jan 2017 10:24:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C89EA26B41; Tue, 24 Jan 2017 10:24:56 +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=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 76051201BD for ; Tue, 24 Jan 2017 10:24:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cVyHN-0005Zu-W6; Tue, 24 Jan 2017 10:24:46 +0000 Received: from mail-wm0-f54.google.com ([74.125.82.54]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cVyGx-0005Vp-Lw for linux-arm-kernel@lists.infradead.org; Tue, 24 Jan 2017 10:24:22 +0000 Received: by mail-wm0-f54.google.com with SMTP id c206so201215245wme.0 for ; Tue, 24 Jan 2017 02:23:58 -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=yG8mtSfYwGca0yq8HxWRLLNG6/598vuze3cGt5uvAE4=; b=UQrqIuApZjvQWulojSkIq6Hpub7pfRpxvF8qTvX3zGdzaMod7bNKCzt8mHu2j+AO2q UQDX/cRa/ofNkuRguOTBt1cA4++RTJy+BHk3EmOPA1d1Ge4w4VmipLRmI3WdOhjqDqyN WtAoNIiHngTKgbrmWScTKwZ5/Wn2TWJ1t1jUe+12iAi9eImc/K2QY9+gVDXpqUGkZF9p txOvrrYMRI6yiKo2fZ0ctr3oVtg2uGxz/0sE5Ha8w7kL6NCkdL0gL+UzeyKQLvNDUHqQ hpWCVDQLi25x1wHwmJ7e5Ubs6E4iOKMc9+FF+KSAlcQs8/lzoiSDnwcGvzA9UU7K0Lum chDQ== 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=yG8mtSfYwGca0yq8HxWRLLNG6/598vuze3cGt5uvAE4=; b=r8w4mKq2bXDjOUEbhMGU1uvBKb1e/FvvEKDOs6huN2RsjKIiFYVc3T9t7MoLAc52bX wEkp2SO1G6esdO5uuCrg7dU/iEA6YdSQ9z6cQVY4v5vCBut/1ZJo/iJXcvZ18/IfKK62 zDN0k6ENJt8ymVTB3Fv9m+qaYKH29stwHBiLO2oNIJchsmw+BML7pLP4AiYYLDJg/PyL YpyiDe+yds/Hj+SSPkqyxpqcHq5xeDcHMWeHxYPwdNaFWiEUMQhSGLULfYx9d8dav/Ps CtHTVHT1ibbu3W4SfXL0oouOoV7Ahy6wil6IMs+DSPsDrV5PTvR2/ESquJtYFtCqmoMJ oqAg== X-Gm-Message-State: AIkVDXLYBZSoqGyyo6u8VoVFyoZ8Hx4vgeY2uG2BgS3KbjL9VBbjlea0gtlw5k4V2eXJL1Sz X-Received: by 10.223.164.207 with SMTP id h15mr27268940wrb.142.1485253377217; Tue, 24 Jan 2017 02:22:57 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id o42sm19163627wrb.18.2017.01.24.02.22.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 02:22:56 -0800 (PST) From: Alexandre Bailon To: nsekhar@ti.com Subject: [PATCH v4] ARM: dts: da850: Add the CPPI 4.1 DMA to the USB OTG controller Date: Tue, 24 Jan 2017 11:22:52 +0100 Message-Id: <20170124102252.15142-1-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170124_022420_706540_73AE0C1C X-CRM114-Status: GOOD ( 10.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, sergei.shtylyov@cogentembedded.com, tony@atomide.com, khilman@baylibre.com, linux-usb@vger.kernel.org, robh+dt@kernel.org, Alexandre Bailon , ptitiano@baylibre.com, linux-omap@vger.kernel.org, b-liu@ti.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the CPPI 4.1 DMA controller to the USB OTG controller. Changes since v3: - Don't use a wildcard for compatible 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";