From patchwork Mon Apr 28 14:01:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 29250 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 41CAE20553 for ; Mon, 28 Apr 2014 14:02:42 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rd18sf41602046iec.4 for ; Mon, 28 Apr 2014 07:02:41 -0700 (PDT) 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=cZFdnj9qJzp+IG4xA+5seRFeWuhlh8dHL5g+Zd9Ljws=; b=jLSpngcKoxJgb75y7xn9a13OdUFsmnNE5HBoZz0Rm0rGxUpIoaFFSTlBhZpX4p6DCI DBAnV0BMDqeeSHY4P0zI4/Fi63TYEuhDwY8JPRNJtAfR6ZkS4uSs+ItqE/cVV3m7Sh2x 1D2RXNUgZ2YwDVt8xR7zv7f8awozlZiwK+LgVmMwbW0mTTcodJKvnwU7OfoKUhBJvZ9D AlKnHOmtw8QG1DYvASMnKOIp+Zibzd/+aPZdPmdoRp9tXvvxsQZQRMSBSqv8t6yC+Erp WM4y3EFniB6mALSfEgAtAAc3gBk0z4AYz70Dp8ZfO5rj+KHuVB+4L89zCgRuipIWdWic 94Ow== X-Gm-Message-State: ALoCoQlpHs2yQXj0aY5PNmUlum1KlBzNEvfhW12MzcrG9Gjb/X8vbLaRhOOe3GZ6pdz2PyUIwjYC X-Received: by 10.50.108.47 with SMTP id hh15mr11222297igb.3.1398693761740; Mon, 28 Apr 2014 07:02:41 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.103.118 with SMTP id x109ls2006164qge.74.gmail; Mon, 28 Apr 2014 07:02:41 -0700 (PDT) X-Received: by 10.220.95.204 with SMTP id e12mr478753vcn.37.1398693761592; Mon, 28 Apr 2014 07:02:41 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id xv9si3648727vcb.80.2014.04.28.07.02.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 07:02:41 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lc6so7945658vcb.21 for ; Mon, 28 Apr 2014 07:02:41 -0700 (PDT) X-Received: by 10.58.127.168 with SMTP id nh8mr452788veb.44.1398693761475; Mon, 28 Apr 2014 07:02:41 -0700 (PDT) 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.221.72 with SMTP id ib8csp119928vcb; Mon, 28 Apr 2014 07:02:41 -0700 (PDT) X-Received: by 10.66.142.42 with SMTP id rt10mr26072381pab.1.1398693760592; Mon, 28 Apr 2014 07:02:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qf5si10536190pac.170.2014.04.28.07.02.39; Mon, 28 Apr 2014 07:02:39 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752479AbaD1OCh (ORCPT + 9 others); Mon, 28 Apr 2014 10:02:37 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:54630 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756042AbaD1OCG (ORCPT ); Mon, 28 Apr 2014 10:02:06 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3SE25GX005683; Mon, 28 Apr 2014 09:02:05 -0500 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 s3SE25Lx027032; Mon, 28 Apr 2014 09:02:05 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Mon, 28 Apr 2014 09:02:05 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3SE1iQr031842; Mon, 28 Apr 2014 09:02:03 -0500 From: Roger Quadros To: , , CC: , , , , Roger Quadros Subject: [PATCH v2 7/7] dts: dra7-evm: add USB support Date: Mon, 28 Apr 2014 17:01:27 +0300 Message-ID: <1398693687-13967-8-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398693687-13967-1-git-send-email-rogerq@ti.com> References: <1398693687-13967-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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 USB controllers. Signed-off-by: Roger Quadros Reviewed-by: Felipe Balbi --- 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..1d77815 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 = "peripheral"; + pinctrl-names = "default"; + pinctrl-0 = <&usb1_pins>; +}; + +&usb2 { + dr_mode = "host"; + pinctrl-names = "default"; + pinctrl-0 = <&usb2_pins>; +};