From patchwork Fri Mar 7 13:09:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 25885 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4A857203C3 for ; Fri, 7 Mar 2014 13:11:05 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id bj1sf10214643pad.11 for ; Fri, 07 Mar 2014 05:11:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=Pyg7+C1VwTqkYXXpoeWtpllPX/taRHrdQNotrr6Lavc=; b=kBcLphxpnCRQhzrFGMmv1Er83FxbdYQTRN8xEQsTio0eGq06Gt3URj0vcs7xa2VTV1 Z5xEAMbsLXFY/GmfjsuNGbuybRnSpQ1hMFpC+tZhdQOHAWJdnZ4J7V0FgzqSX0FcK+mu V2RxAZHc4JESDyRjx/odG21rbAJYm6LUJd0BB+xjWhimfgUGLBt99VWEBZflXUXTZKyr I1+ip43hyPq95PKUkardgkG94Jsf3qKy02zWmAyLxRUhfNvgG1s/egv/l7Ex1S7Xf2+w 1pZb/WNfh7dVtfgBXNpDmn78m9QqgA2brKwXfrvXvqlpzLUI7wKhaSp3w6CZGxt7PiYa BFgQ== X-Gm-Message-State: ALoCoQm5hY5ez1WCp979dTLPJr/goA6n1UvgD+1t3atyQJxFI8Korq9JTiZ/929Ry6PCB2/PAI5P X-Received: by 10.66.26.146 with SMTP id l18mr7635487pag.2.1394197864457; Fri, 07 Mar 2014 05:11:04 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.80 with SMTP id w74ls1139806qgd.95.gmail; Fri, 07 Mar 2014 05:11:04 -0800 (PST) X-Received: by 10.58.165.68 with SMTP id yw4mr10506474veb.17.1394197864165; Fri, 07 Mar 2014 05:11:04 -0800 (PST) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id l16si2058247vcl.51.2014.03.07.05.11.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 05:11:04 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id sa20so4067518veb.8 for ; Fri, 07 Mar 2014 05:11:04 -0800 (PST) X-Received: by 10.52.12.36 with SMTP id v4mr8533903vdb.20.1394197864067; Fri, 07 Mar 2014 05:11:04 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp113698vck; Fri, 7 Mar 2014 05:11:03 -0800 (PST) X-Received: by 10.66.217.169 with SMTP id oz9mr21823490pac.20.1394197863240; Fri, 07 Mar 2014 05:11:03 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id po10si8282368pab.189.2014.03.07.05.11.02; Fri, 07 Mar 2014 05:11:02 -0800 (PST) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753358AbaCGNK4 (ORCPT + 26 others); Fri, 7 Mar 2014 08:10:56 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:46377 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753442AbaCGNKC (ORCPT ); Fri, 7 Mar 2014 08:10:02 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s27D9e2f003657; Fri, 7 Mar 2014 07:09:40 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s27D9emu019530; Fri, 7 Mar 2014 07:09:40 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 7 Mar 2014 07:09:40 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s27D9Eeu003003; Fri, 7 Mar 2014 07:09:38 -0600 From: Roger Quadros To: , CC: , , , , , , , Subject: [PATCH 8/8] dts: dra7-evm: add USB support Date: Fri, 7 Mar 2014 15:09:11 +0200 Message-ID: <1394197751-28984-9-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394197751-28984-1-git-send-email-rogerq@ti.com> References: <1394197751-28984-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add USB pinmux information and USB modes for the first 2 USB controllers. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7-evm.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 5babba0..41c600b 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -93,6 +93,18 @@ 0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */ >; }; + + usb1_pins: pinmux_usb1_pins { + pinctrl-single,pins = < + 0x280 0xc0000 /* usb1_drvvbus, SLOW_SLEW | PULLUPEN | MODE0 */ + >; + }; + + usb2_pins: pinmux_usb2_pins { + pinctrl-single,pins = < + 0x284 0xc0000 /* usb2_drvvbus, SLOW_SLEW | PULLUPEN | MODE0 */ + >; + }; }; &i2c1 { @@ -273,3 +285,15 @@ &cpu0 { cpu0-supply = <&smps123_reg>; }; + +&usb1 { + dr_mode = "otg"; + pinctrl-names = "default"; + pinctrl-0 = <&usb1_pins>; +}; + +&usb2 { + dr_mode = "otg"; + pinctrl-names = "default"; + pinctrl-0 = <&usb2_pins>; +};