From patchwork Wed May 14 07:58:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 30150 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 56C4E20446 for ; Wed, 14 May 2014 07:58:23 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id f51sf3106884qge.0 for ; Wed, 14 May 2014 00:58:23 -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:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to: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=CiTSyYWkEwvOQKOQv7jzN84fcIdcSQLNeDMsWxuww90=; b=jlOFNlClnrp01nbm4bRO7EDDo2nrg9VgAaG9Cuh9brVt3vdzZhaCTRLWMIH7ACGEhy u5CgJuFoWzgcZCat7dnL14t9e5LgVNODsvb18o9n/9xP0cJsJWKkQm0ALzElQm0lbWak E1gYiuFapT5OtKicq/OqzEmueLP4vzxqpw94w7OmHhUq7Lj1I+7YsyRlrSLEwvYpPkOx b2WXlVrboRvr5UdzNNzLi5hCaitveieKNpkzXwDcgf4taG3ePig1rZTDhc/OvE0F0vi3 zc7a9A9nbVZNgchYYyohY37k2LlRhclRwXeKHEssuHbFpHQ8ioW7DlZBek3j9srGEyec 5yeA== X-Gm-Message-State: ALoCoQl8gGAliPdJUUzsMdmB5CmrSz+JtCFAgi+zQtUQXYXASl6AC9vVNfBstoGj8kNkY9JwM5Bn X-Received: by 10.236.149.115 with SMTP id w79mr813868yhj.41.1400054303183; Wed, 14 May 2014 00:58:23 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.42.163 with SMTP id c32ls2194569qga.49.gmail; Wed, 14 May 2014 00:58:23 -0700 (PDT) X-Received: by 10.221.58.144 with SMTP id wk16mr1823047vcb.23.1400054303084; Wed, 14 May 2014 00:58:23 -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 ej2si193020veb.149.2014.05.14.00.58.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 00:58:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lg15so1924347vcb.7 for ; Wed, 14 May 2014 00:58:22 -0700 (PDT) X-Received: by 10.52.228.134 with SMTP id si6mr1517075vdc.5.1400054302836; Wed, 14 May 2014 00:58:22 -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 ib8csp218740vcb; Wed, 14 May 2014 00:58:22 -0700 (PDT) X-Received: by 10.66.216.137 with SMTP id oq9mr2343752pac.97.1400054302005; Wed, 14 May 2014 00:58:22 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id or3si1129359pab.78.2014.05.14.00.58.21; Wed, 14 May 2014 00:58:21 -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 S1751547AbaENH6U (ORCPT + 8 others); Wed, 14 May 2014 03:58:20 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:36580 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbaENH6T (ORCPT ); Wed, 14 May 2014 03:58:19 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4E7wH0b023068; Wed, 14 May 2014 02:58:17 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4E7wHoH016109; Wed, 14 May 2014 02:58:17 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Wed, 14 May 2014 02:58:16 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4E7wDt9021080; Wed, 14 May 2014 02:58:14 -0500 Message-ID: <53732215.8050608@ti.com> Date: Wed, 14 May 2014 10:58:13 +0300 From: Roger Quadros User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: CC: , , , , , , , , Subject: [PATCH v4 7/7] dts: dra7-evm: add USB support References: <1399283686-6127-1-git-send-email-rogerq@ti.com> <1399283686-6127-8-git-send-email-rogerq@ti.com> In-Reply-To: <1399283686-6127-8-git-send-email-rogerq@ti.com> 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 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: Roger Quadros 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..222a7fa 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 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */ + >; + }; + + usb2_pins: pinmux_usb2_pins { + pinctrl-single,pins = < + 0x284 (PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */ + >; + }; }; &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>; +};