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: 79192 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp3151090qge; Tue, 25 Oct 2016 07:40:12 -0700 (PDT) X-Received: by 10.99.238.17 with SMTP id e17mr33532410pgi.154.1477406412547; Tue, 25 Oct 2016 07:40:12 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w135si16446593pff.212.2016.10.25.07.40.11; Tue, 25 Oct 2016 07:40:12 -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 S933587AbcJYOj6 (ORCPT + 27 others); Tue, 25 Oct 2016 10:39:58 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38159 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758792AbcJYOjh (ORCPT ); Tue, 25 Oct 2016 10:39:37 -0400 Received: by mail-wm0-f47.google.com with SMTP id d128so31116159wmf.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=B5PH/b7KkQzcWdKxKZHzRVk4nNsKaWS5SRIH6xiGjFPHWfwLTi+rCKxxOQg+0EKdbV J8j0h+q38hgBbvKEEBfa1fGs5X6npkvWkIm1KZRV4+PGulyl1RGwNBsIiNxIfrAfB7Tl U4GYhJC5uWS3wfXs4v7MU4sn1DyfjeLjsJcRkbT1KUfFJSG+zvDLv65mEb/Lmf9qAq3R Pnu2F6lTMAadDsWb+pwrbR/6gHP+fUdtoVuOp5a1Z5qGoHOIOC90DYfBqTla1Wo98tXB 6QqWRNlp8hGTwldsihOsK0AHXG1ohDEH8o8ASoD0bPlrMV+1q+G/ih679TD636/BEzDl 02Yw== X-Gm-Message-State: ABUngveEAJNB3F+LHy4oM9DRiysQdPD3as4Pw9E7DxrZz/ruoZmKS9F9obANktOahuFMOmuP 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 Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandre Bailon 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> 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..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;