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: 80690 Delivered-To: patch@linaro.org Received: by 10.80.170.210 with SMTP id r18csp691922edc; Thu, 3 Nov 2016 08:59:30 -0700 (PDT) X-Received: by 10.99.163.1 with SMTP id s1mr14970253pge.126.1478188769985; Thu, 03 Nov 2016 08:59:29 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si10372954pfb.28.2016.11.03.08.59.29; Thu, 03 Nov 2016 08:59:29 -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=@baylibre-com.20150623.gappssmtp.com; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758602AbcKCP71 (ORCPT + 27 others); Thu, 3 Nov 2016 11:59:27 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:35345 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758491AbcKCP7V (ORCPT ); Thu, 3 Nov 2016 11:59:21 -0400 Received: by mail-wm0-f52.google.com with SMTP id a197so214402385wmd.0 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=XVSphfGeqYUd74s1ixs9s25+lKli8YnroBt63LLU8nofvM6945GUiXcwAzncKOXL4r Z0RYRRjsxjYQd86FiDN1TinorcrX7RtEcCK9MMuZIJr9WJl6088YDAWLDpCv/OKhblig QsEMnAnSqB4KZR91PWmp3+yhVgcQUS+kE8VekmOGIhlBnX454gkl7FxHbctyaNZKNg3d BJG/5oBqr7szWni6cXLhKC72iwy9aNF3GfYC31bWIKusqZXy2e4qfOaHtcqpFzwMn2nE OO61vz2J3H5H27r1mTN1RttM1ikGCtjo+f6Od8A6qcWFDejra4zfbDmVTX3harZmErlD d16g== X-Gm-Message-State: ABUngvf/J+mljoJKeC1w++b1GU5DGhCus8/ARNujMmwmRirNZJDUzMUGPifWJL5zhKVth1OM 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 Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, nsekhar@ti.com, Alexandre Bailon 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.7.3 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;