From patchwork Thu Nov 3 15:59:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9411129 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 DFE9E6022E for ; Thu, 3 Nov 2016 16:02:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF9742ACFB for ; Thu, 3 Nov 2016 16:02:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C199E2ACFE; Thu, 3 Nov 2016 16:02:07 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4B0BB2ACFD for ; Thu, 3 Nov 2016 16:02:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2KRL-0005XO-EB; Thu, 03 Nov 2016 16:00:31 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2KQW-00043t-MP for linux-arm-kernel@lists.infradead.org; Thu, 03 Nov 2016 15:59:42 +0000 Received: by mail-wm0-x229.google.com with SMTP id p190so342552638wmp.1 for ; Thu, 03 Nov 2016 08:59:20 -0700 (PDT) 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:in-reply-to:references; bh=x7XaiJE3RUCDaaD/SB7Iqp2sz/861GQrg3zsE4gnsgE=; b=p0bdQCSV1v6hkgDFRxk8Fno2MaaLQMUBUpzQUmNt1s1601XB47ihAqw+iKUN/ezAYU LGvbbXvNK+NBxlFSr+iUNpROyn0Miyp2QMzoJ5khW0ZtqA4pfvmT/vY37Rr+8ybMESaP eX9aFMR10+ABdZBM9oOtpaMHtmrQQyvJAN6GI0YSNafOzLqgo+iNKnvqftoLw9agM3DN zzCKkTOuyzg0naAfbG5+BUJ8IEVmP+qHiueZ98USzKhtOJwBz+1I/EG6hmT3JHViks3r 2I4/hsrmEew4DZcWJim+2eClTtV8pVlCRFsEF6SGVei6yiLbKmuv/cg8/KYkqhvMMTnH wZWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=x7XaiJE3RUCDaaD/SB7Iqp2sz/861GQrg3zsE4gnsgE=; b=YHLRlANOWYxFJ5vmFx2EquK52fKJc8/dJgOpIblzp2cf/UStAiZISpL5pChXB5kMQt LJ6j/R8JO4e0vZet6Q9brKSnRgegd/cHB09LFwUxLChqIW+aRdOEHZw1M08WoYIPBXwA 0EZNsoHcBzhubTv/dPIkloAlP07yA9lSg3Wz0qi+1lf/bTVcPw4YXOxzJFh1MO+djOdF k+0Dreor+vmluk4XGUREYaW+Bp9wHeLkawq3BebpYS3x56LghpxvQdp6olBRfuhXaRyE g+6o4T9ThBs3qbbxZg0KBpl29hu6zIgnCO2FVcR7TdHyOuGLZN3MVzCh3SF9OPstApkq QkUw== X-Gm-Message-State: ABUngvcBAHt1TJXUnNJ/e4gTbVEPvA+LS2i6lDfi1Q3UE5rcFQar4HthMlIindzJOpLAuz1b X-Received: by 10.28.97.139 with SMTP id v133mr2986969wmb.117.1478188759544; Thu, 03 Nov 2016 08:59:19 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id k17sm42957574wmd.8.2016.11.03.08.59.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Nov 2016 08:59:19 -0700 (PDT) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Subject: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device node Date: Thu, 3 Nov 2016 16:59:12 +0100 Message-Id: <1478188752-22447-5-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1478188752-22447-1-git-send-email-abailon@baylibre.com> References: <1478188752-22447-1-git-send-email-abailon@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161103_085941_149365_01D871E6 X-CRM114-Status: GOOD ( 10.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-usb@vger.kernel.org, nsekhar@ti.com, linux-kernel@vger.kernel.org, Alexandre Bailon , 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 device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board. Signed-off-by: Alexandre Bailon --- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index 7b8ab21..9f5040c 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -158,6 +158,14 @@ rx-num-evt = <32>; }; +&usb_phy { + status = "okay"; + }; + +&usb0 { + status = "okay"; +}; + &aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index f79e1b9..322a31a 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -372,6 +372,21 @@ >; status = "disabled"; }; + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <1>; + status = "disabled"; + }; + usb0: usb@200000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + dr_mode = "otg"; + phys = <&usb_phy 0>; + phy-names = "usb-phy"; + status = "disabled"; + }; gpio: gpio@226000 { compatible = "ti,dm6441-gpio"; gpio-controller;