From patchwork Tue Oct 25 14:39:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9394611 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 6E46E60231 for ; Tue, 25 Oct 2016 14:42:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62865295DC for ; Tue, 25 Oct 2016 14:42:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 574CE29623; Tue, 25 Oct 2016 14:42:08 +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 B1BC0295DC for ; Tue, 25 Oct 2016 14:42:04 +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 1bz2u1-0000dk-Gf; Tue, 25 Oct 2016 14:40:33 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bz2t8-0007X9-5S for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2016 14:39:43 +0000 Received: by mail-wm0-x234.google.com with SMTP id b80so167479071wme.1 for ; Tue, 25 Oct 2016 07:39:19 -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=/GU8Plyd78ekiHd/H4oTYZ976VkO6/LQKuf0gWEyO4E=; b=ka3eDcHJAunwBcgRxhGFnIqk51tXqPCcA/vJ93ULxQy0Mj8+lXDv7sdfPJ9w2ui6oc 01+cY6yyIn+5FPdo5BQpWAlueI37QWr+y8RYROAlu/nlZ7FTjhTuRhzQyjAAdl0eUPkw OmD/nZ3+fLHhU8IOh0UF4DgByzzlm01oIGjgvobjfvFi7719IXvpbcmMUVZFjSNhpms3 TSMwatFJmfjUkyV9eJ0mFLog3WL9a3pV6gXjw5hJb1mV3AugOof7ILZvA6yOAmOBPhhi 6XZttUj7AD12cQ/Sxdhd/s7UmmxqsgevW9YG7RbRSIOwQiY5wJl/7vPdMgJY4iJzZZaT wnlg== 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=/GU8Plyd78ekiHd/H4oTYZ976VkO6/LQKuf0gWEyO4E=; b=m8c6RP3KGRcsP6JPlDH2X7hi1z6W2HIwbViHuXhFgSa9cYNPc4kafJyUXfFLhZ8C7C K04gK+hN9kNFO2gcHNHJMsu7zihbNK7D9MVRQCNXIdDFhgxOE5t1+x16ZByt0m2+YZem /n+BtQ8odpUIUZ81O2aVg0Xy1LJvU9QA9/ASxMIjZw9WQxKQbKdi9wanVFGU0sK52reg 8Tc7pMoQryCjnfYfB2H9uEbZ4Xk6tUSephCuj/WvHOLVO8ML2IptXTAziHnOyGs8JzRs E2Q8HYOoeHXimrreK+upHYjTu/dT3eznXQbXB7vKtshLDBHxTYRfiW02iFtyObcvu+d+ kpVA== X-Gm-Message-State: ABUngvdxAPm1Xc0sZo68seGDEUuNYL4EudVEMLKDnDmGXtvrCMwrfqdt6SmLb+TIy8qkG0FI X-Received: by 10.28.195.196 with SMTP id t187mr3392699wmf.29.1477406358043; Tue, 25 Oct 2016 07:39:18 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id r72sm4030723wmd.21.2016.10.25.07.39.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Oct 2016 07:39:17 -0700 (PDT) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Subject: [PATCH 4/4] ARM: dts: da850: Add the usb otg device node Date: Tue, 25 Oct 2016 16:39:05 +0200 Message-Id: <1477406345-27192-5-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1477406345-27192-1-git-send-email-abailon@baylibre.com> References: <1477406345-27192-1-git-send-email-abailon@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161025_073938_455519_C0BFCFDF X-CRM114-Status: GOOD ( 10.69 ) 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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandre Bailon 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..dca9735 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"; + }; + +&usb20 { + 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..b11d395 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"; + }; + usb20: usb20@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;