From patchwork Wed Oct 26 15:03:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 79432 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp112083qge; Wed, 26 Oct 2016 08:04:53 -0700 (PDT) X-Received: by 10.202.85.80 with SMTP id j77mr1615631oib.37.1477494293042; Wed, 26 Oct 2016 08:04:53 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ls8si2567777pab.313.2016.10.26.08.04.52; Wed, 26 Oct 2016 08:04:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; 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-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752263AbcJZPEj (ORCPT + 4 others); Wed, 26 Oct 2016 11:04:39 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:38888 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754749AbcJZPEL (ORCPT ); Wed, 26 Oct 2016 11:04:11 -0400 Received: by mail-wm0-f48.google.com with SMTP id d128so89778005wmf.1 for ; Wed, 26 Oct 2016 08:04:10 -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=p9xeRsU4skfv9AUBYuxoTXWHGhqUs9rCRPcR+Iynz0UQX0Usb0uXrmbuj4qf9HbKX+ 0sKGs55Hv3quZmyObnT1niaD1YDKN9MiGKy7HZWLrZIC/jesWKGg9ySY+E5ySYWPtzno ZzuJEDXt1wgvEj/3tHXUmsTgzA7eaiwUZKnxeLqRP8kvFGp+9jmrBiQYv0t4UcjA9Fxf 2QReAhjUQ8PEWilQ+ryfTHzm0lieXvWWnKc5VOCPhGLxXqjwXCisROgElGS4+h90tV9j 0Z6Hl8U8hAGGJg+4u8GiUiqlw8xaI6sWJRkWucGg5sUVNcePzvjOesuEZDye+bzTCm1Y qf/g== 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=aPNYiGUNLNWC3TFX/fkpLtwK5ZeBSY6OAblhdmFYZijldMzP3FUVU6ViBNQKuSfu2m IcANbgaB5pg/lhOKg/r7adNdDmzoXOcffhcKRSkVDpuvA9SF4hNk7FV4myK9Bo88RZsL pXnx5HXAlBO9dcadPurukfMt0/ir7BaNTjZEfj9v4ePr5JENRNULuXExz07jOgXPZ08r RJPJLEXoWlRAYfQA/46OxotMYqPk7BgQyWPCZ1BsOclCwkvPDB6oQltp5M6+e8appfVm RxdCS8g1gGF6Zpg7NcVSnHuOnCYvxcz6mK6jd57RMX+xRsePZPSbgBFXAJOqAmkA9Yqn 9FnQ== X-Gm-Message-State: ABUngvcv4d4kHxssp8QtEGVhg4GcoXTnHK1GdN/Yeb+gvgk5Yx8CNrA/8WC4OjdsCIhZ/vLS X-Received: by 10.28.68.213 with SMTP id r204mr3150393wma.105.1477494247552; Wed, 26 Oct 2016 08:04:07 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id p184sm3604259wmg.3.2016.10.26.08.04.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Oct 2016 08:04:06 -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 v2 4/4] ARM: dts: da850: Add the usb otg device node Date: Wed, 26 Oct 2016 17:03:57 +0200 Message-Id: <1477494237-22831-5-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1477494237-22831-1-git-send-email-abailon@baylibre.com> References: <1477494237-22831-1-git-send-email-abailon@baylibre.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;