From patchwork Tue Oct 21 10:41:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 39105 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CC2AA24039 for ; Tue, 21 Oct 2014 10:42:09 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id b6sf621850lbj.7 for ; Tue, 21 Oct 2014 03:42:08 -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=rhFZYWd2T2WC8ZW92Vwm+bFWfOP49g2/+fkkSnr7Fxc=; b=hXEYgc+46+0O6+dK0ZRuX1XSyQ9Lo897gMubKfj50bbrugS6hu8DgfGSq8RABcykns 5xZiTqpw2gvKmhk3S2gsrRf1fueX6kd2AxpfdfrMU8S0J4D+9llGE9l5H3qddjZ6RHJh 5ZWPgE6CaQsHeTPt4Pu7AAoFYXOcrtb9OGJLPVFMbGdAfW+3FLC0fvMj6qYl3BIEaX/P 0jxxaFCWEU+g65zpi2g6aNOOdflg6vpXjYuWAg/AY+yt+eIp2DdeOOgqrz7ZOyd+D07S Mqd6sVJ/BR9r/h0hXNKMur0i9mFiWIh+lZzOCxz988LppXrcKEOi3sCMna3Kz/Y1L2Vt qQnQ== X-Gm-Message-State: ALoCoQlLNSqqxJ1FweWyb0DdSf0/B5vMxXuhYMIWDku5u1cyf2XqQgCucjfMGIyBXK65nmkTJKxx X-Received: by 10.180.19.198 with SMTP id h6mr3410446wie.5.1413888128367; Tue, 21 Oct 2014 03:42:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.130 with SMTP id z2ls44375laa.61.gmail; Tue, 21 Oct 2014 03:42:08 -0700 (PDT) X-Received: by 10.152.7.233 with SMTP id m9mr34060435laa.32.1413888128209; Tue, 21 Oct 2014 03:42:08 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id m8si18196614lam.108.2014.10.21.03.42.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 03:42:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id q1so749788lam.8 for ; Tue, 21 Oct 2014 03:42:08 -0700 (PDT) X-Received: by 10.152.6.228 with SMTP id e4mr33676983laa.71.1413888128066; Tue, 21 Oct 2014 03:42:08 -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.112.84.229 with SMTP id c5csp471351lbz; Tue, 21 Oct 2014 03:42:07 -0700 (PDT) X-Received: by 10.68.113.3 with SMTP id iu3mr34579713pbb.39.1413888125677; Tue, 21 Oct 2014 03:42:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ha5si10642561pbb.93.2014.10.21.03.42.05 for ; Tue, 21 Oct 2014 03:42:05 -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 S1755170AbaJUKmD (ORCPT + 5 others); Tue, 21 Oct 2014 06:42:03 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:52893 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754978AbaJUKlz (ORCPT ); Tue, 21 Oct 2014 06:41:55 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9LAfYp0022294; Tue, 21 Oct 2014 05:41:34 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9LAfYDk030061; Tue, 21 Oct 2014 05:41:34 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Tue, 21 Oct 2014 05:41:33 -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 s9LAfNhd020202; Tue, 21 Oct 2014 05:41:31 -0500 From: Roger Quadros To: CC: , , , , , , , Roger Quadros Subject: [PATCH 3/4] ARM: dts: dra72-evm: Enable USB support for dra72-evm. Date: Tue, 21 Oct 2014 13:41:19 +0300 Message-ID: <1413888080-2669-4-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1413888080-2669-1-git-send-email-rogerq@ti.com> References: <1413888080-2669-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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) 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: , From: George Cherian Add USB data and pinctrl for USB. Signed-off-by: George Cherian Signed-off-by: Sekhar Nori Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra72-evm.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index 6f5417a..ad6ec4a 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts @@ -53,6 +53,18 @@ 0xd8 (PIN_INPUT | MUX_MODE0) /* gpmc_wait0 */ >; }; + + usb1_pins: pinmux_usb1_pins { + pinctrl-single,pins = < + 0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */ + >; + }; + + usb2_pins: pinmux_usb2_pins { + pinctrl-single,pins = < + 0x284 (PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */ + >; + }; }; &i2c1 { @@ -257,3 +269,15 @@ }; }; }; + +&usb1 { + dr_mode = "peripheral"; + pinctrl-names = "default"; + pinctrl-0 = <&usb1_pins>; +}; + +&usb2 { + dr_mode = "host"; + pinctrl-names = "default"; + pinctrl-0 = <&usb2_pins>; +};