From patchwork Thu Oct 27 09:34:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 79635 Delivered-To: patch@linaro.org Received: by 10.80.142.83 with SMTP id 19csp565044edx; Thu, 27 Oct 2016 03:41:13 -0700 (PDT) X-Received: by 10.98.105.68 with SMTP id e65mr7479225pfc.174.1477564873711; Thu, 27 Oct 2016 03:41:13 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id n2si5964956pap.344.2016.10.27.03.41.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 03:41:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org 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 1bzi6U-0005qu-Pa; Thu, 27 Oct 2016 10:40:10 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzi5f-0004PK-6z for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2016 10:39:22 +0000 Received: by mail-wm0-x22b.google.com with SMTP id n67so28779236wme.1 for ; Thu, 27 Oct 2016 03:38:58 -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=KysoOcF/VOdbJ8EP+6QWLsQ3Z1wip2kd7iYMjbzdbvhwbqyACrpZMNimg8xvF/uawt ebFAikS4FVK1THqxFSNsFn0D4gF8GmeEXNt7hVvmlR/8VHvjDiO6m+wnJHt/WT8WqNa1 oA4Sq8oO6u58p3uDeYXvIqJe+X2qovVnwCC3tCFmD8xplPBXB1qbOine6EUxMRYMabUW JU5zl7GcdUOKwxGsaqUxulY/STxeGFvedlXF3yHPYfbCpDH3SCLTSAuC+PbiQczllEzZ MNUHcwlSnhuNO0WYr1hgY5byvKJ1VymvSnjh4oi/5H9gsJQrHvz5aUueiaIz1Tf2ym9e sqfw== 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=gZaw3izwbF2nHZWmfAyeo3xB/yxqRXOSyk0J2Td/xcJTearJMfOmLGfY6Z1vK/PHFO y+QAGavA8DBnT9gpk0/0hQ6kJgfPZmoa8zWCHTXEEutlYEIr6Q+bC227m0I1l/4wkEma Xf/kkRleYy46FWw+UyvxfNHTeyYMV+IOYyy+PW/kDadZJCiek5aE0gs5uh8NjTpF3M9E IB9b6+qJ9io9xCHTh36rdILtYo93CZzzA49he6gSDEqwjwWppUfVarqFZGH/AMlOQq6H tyT7Sr6pxrc9w34Gt/00Mg5PxSFn0yHJOsaGe4WtjRSuCiNjHJVA9gVffYKa3ztsTUAA nRdQ== X-Gm-Message-State: ABUngvcHpFSO+pXTNrf40ussrF7D4rN8MSnlJkmCcacYhBnQgdbFd4tNijYNoYAnjrZX0TFM X-Received: by 10.28.38.195 with SMTP id m186mr6406946wmm.81.1477560864999; Thu, 27 Oct 2016 02:34:24 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id im3sm7412558wjb.13.2016.10.27.02.34.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Oct 2016 02:34:23 -0700 (PDT) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Subject: [PATCH v3 4/4] ARM: dts: da850: Add the usb otg device node Date: Thu, 27 Oct 2016 11:34:07 +0200 Message-Id: <1477560847-8929-5-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1477560847-8929-1-git-send-email-abailon@baylibre.com> References: <1477560847-8929-1-git-send-email-abailon@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161027_033919_994321_956A44DE X-CRM114-Status: GOOD ( 10.27 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:22b listed in] [list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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+patch=linaro.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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;