From patchwork Mon May 5 09:54:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 29641 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B8984202E6 for ; Mon, 5 May 2014 09:55:34 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kx10sf26665213pab.2 for ; Mon, 05 May 2014 02:55:33 -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 :content-transfer-encoding; bh=6PGWvgapbD1vGA0AqVMPJWiILJbNKlcJyt89pCTP1as=; b=jNy0aMtULvIFlV/T5afAgjd8N8wz749b2rHlaXsMc4gs4Q09LgBvztHljXK8jvNsqc HEjlxPm76akb2chn7CBTpKvfSva77ir2AaP9rMRyhI/mWRoc4wyobH9PILsg57JUykLM DmtwXJylQ7n9MePO6zx1eLMFd+F8ip1SdR1s8cEgn9IXIbgTrwJkVyETj6YhivCzmj5x MTLhSlt2c+JUuIYC3Ni80aZubwU75YjMLeW+3QOWmAZw7Wz2vlJVhxNAYqfgFCrzGnj5 qHtjVebxTsA46cmnofbe1o/SoL/ubzZJEaYxpxmLgXiYOZNaFMevNkM5bf+FpP3yjl4d B+ww== X-Gm-Message-State: ALoCoQko2ahJ+mt6ix3W6r/Mi+FhIyI2d/Wmi/K8ib9qJHZ4OcpkQdrfRPrYAylsm55hp5Fe4Wwr X-Received: by 10.66.232.229 with SMTP id tr5mr18902279pac.16.1399283733716; Mon, 05 May 2014 02:55:33 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.84 with SMTP id h78ls2243892qge.54.gmail; Mon, 05 May 2014 02:55:33 -0700 (PDT) X-Received: by 10.52.173.165 with SMTP id bl5mr23001547vdc.13.1399283733560; Mon, 05 May 2014 02:55:33 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id ko12si572727veb.27.2014.05.05.02.55.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 02:55:33 -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.128.176; Received: by mail-ve0-f176.google.com with SMTP id jz11so4630364veb.21 for ; Mon, 05 May 2014 02:55:33 -0700 (PDT) X-Received: by 10.220.133.197 with SMTP id g5mr27589232vct.20.1399283733496; Mon, 05 May 2014 02:55:33 -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 ib8csp127051vcb; Mon, 5 May 2014 02:55:33 -0700 (PDT) X-Received: by 10.67.1.39 with SMTP id bd7mr25964327pad.15.1399283732760; Mon, 05 May 2014 02:55:32 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ic8si7953046pad.218.2014.05.05.02.55.32; Mon, 05 May 2014 02:55:32 -0700 (PDT) Received-SPF: none (google.com: linux-omap-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 S1756179AbaEEJzT (ORCPT + 6 others); Mon, 5 May 2014 05:55:19 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:60943 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756175AbaEEJzQ (ORCPT ); Mon, 5 May 2014 05:55:16 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s459tEHg031900; Mon, 5 May 2014 04:55:14 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s459tEcU024618; Mon, 5 May 2014 04:55:14 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Mon, 5 May 2014 04:55:13 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s459smBm007282; Mon, 5 May 2014 04:55:11 -0500 From: Roger Quadros To: , , , CC: , , , , , , Roger Quadros Subject: [PATCH v3 7/7] dts: dra7-evm: add USB support Date: Mon, 5 May 2014 12:54:46 +0300 Message-ID: <1399283686-6127-8-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399283686-6127-1-git-send-email-rogerq@ti.com> References: <1399283686-6127-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@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. CC: BenoƮt Cousson Reviewed-by: Felipe Balbi 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..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>; +};