From patchwork Tue Jan 21 16:13:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Grinberg X-Patchwork-Id: 3519051 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 133869F2E9 for ; Tue, 21 Jan 2014 16:52:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 020D52010E for ; Tue, 21 Jan 2014 16:52:55 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED9B020149 for ; Tue, 21 Jan 2014 16:52:49 +0000 (UTC) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W5eZC-0005PT-Pw; Tue, 21 Jan 2014 16:52:46 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W5dyR-0002Ir-Da; Tue, 21 Jan 2014 16:14:47 +0000 Received: from softlayer.compulab.co.il ([50.23.254.55] helo=compulab.co.il) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W5dy0-0002Fu-Cb for linux-arm-kernel@lists.infradead.org; Tue, 21 Jan 2014 16:14:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=compulab.co.il; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=dlpu/mt4PjR9YVMlXQn5y4hqIiMmpdOID2dIkCzOHMU=; b=x6tu36em48seQ25QfA2snRcYWIemHablRaIeCYV2VCjR0Co+P2ivMfbwTe/VZnbuG4ic3uJAhqBKuL4Q9cLq7eTtk0eRcbjoSAN0n5bBlHJ1NnYx0gTTwshXAVBBA7UCDXHkTbBebQGpc7V5RI4Dcvp6RV5IjBY7VzrFjNRr7vg=; Received: from [82.166.188.245] (port=61465 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.80.1) (envelope-from ) id 1W5dxb-0001jC-1Z; Tue, 21 Jan 2014 18:13:55 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 60015644198; Tue, 21 Jan 2014 18:13:54 +0200 (IST) X-Virus-Scanned: amavisd-new at compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hfDa4hAYx-gF; Tue, 21 Jan 2014 18:13:53 +0200 (IST) Received: from compulab.co.il (grinberg-pc.compulab.local [10.1.1.13]) by zimbra-mta.compulab.co.il (Postfix) with SMTP id 2612A64419A; Tue, 21 Jan 2014 18:13:53 +0200 (IST) Received: (nullmailer pid 25154 invoked by uid 1000); Tue, 21 Jan 2014 16:13:41 -0000 From: Igor Grinberg To: Shawn Guo Subject: [PATCH 4/4] ARM: dts: cm-fx6: add support for USB host port 1 Date: Tue, 21 Jan 2014 18:13:32 +0200 Message-Id: <1390320812-25100-5-git-send-email-grinberg@compulab.co.il> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1390320812-25100-1-git-send-email-grinberg@compulab.co.il> References: <1390320812-25100-1-git-send-email-grinberg@compulab.co.il> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: softlayer.compulab.co.il: acl_c_relayhosts_text_entry: grinberg@compulab.co.il|compulab.co.il X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140121_111420_608780_F9DEFF88 X-CRM114-Status: UNSURE ( 7.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , Rob Herring , Igor Grinberg , Sascha Hauer , Kumar Gala , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Setup pin control, vbus regulator and the usb host port 1 node to enable the USB host port 1 support. Signed-off-by: Igor Grinberg --- arch/arm/boot/dts/imx6q-cm-fx6.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts index 039a155..cf4c186 100644 --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts @@ -46,6 +46,16 @@ gpio = <&gpio3 22 0>; enable-active-high; }; + + reg_usb_h1_vbus: regulator@1 { + compatible = "regulator-fixed"; + reg = <1>; + regulator-name = "usb_h1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio7 8 0>; + enable-active-high; + }; }; }; @@ -66,6 +76,12 @@ pinctrl_usbotg: usbotggrp { fsl,pins = ; }; + + pinctrl_usbh1: usbh1grp { + fsl,pins = < + MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x80000000 + >; + }; }; }; @@ -99,3 +115,10 @@ dr_mode = "otg"; status = "okay"; }; + +&usbh1 { + vbus-supply = <®_usb_h1_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh1>; + status = "okay"; +};