From patchwork Wed Oct 31 14:26:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Munegowda, Keshava" X-Patchwork-Id: 1679141 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 22A9CDF264 for ; Wed, 31 Oct 2012 14:27:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933850Ab2JaO1Z (ORCPT ); Wed, 31 Oct 2012 10:27:25 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:35307 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757618Ab2JaO1G (ORCPT ); Wed, 31 Oct 2012 10:27:06 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id q9VEQx3j003729; Wed, 31 Oct 2012 09:26:59 -0500 Received: from DBDE70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id q9VEQvej025333; Wed, 31 Oct 2012 19:56:58 +0530 (IST) Received: from dbdp33.itg.ti.com (172.24.170.252) by dbde70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 14.1.323.3; Wed, 31 Oct 2012 19:56:57 +0530 Received: from keshava-laptop.apr.dhcp.ti.com (smtpvbd.itg.ti.com [172.24.170.250]) by dbdp33.itg.ti.com (8.13.8/8.13.8) with ESMTP id q9VEQsT4011544; Wed, 31 Oct 2012 19:56:57 +0530 From: Keshava Munegowda To: , , , CC: Keshava Munegowda , , , Subject: [RESEND PATCH 02/11] ARM: OMAP4: USB: Host: Panda board specific device tree node Date: Wed, 31 Oct 2012 19:56:43 +0530 Message-ID: <1351693612-23314-3-git-send-email-keshava_mgowda@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351693612-23314-1-git-send-email-keshava_mgowda@ti.com> References: <1351693612-23314-1-git-send-email-keshava_mgowda@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org OMAP4 panda board specific device tree node is included. In OMAP4 panda board, the port 1 is used in ULPI PHY mode. The port 1 is connected to a on board hub with ethernet interface. TODO: The clock bindings are not yet avilable for OMAP4. hence , USB hub specific clocks are exported as device tree string paramters. Will be changed to use the clock bindings later Signed-off-by: Keshava Munegowda --- arch/arm/boot/dts/omap4-panda.dts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts index e8f927c..dad0df6 100644 --- a/arch/arm/boot/dts/omap4-panda.dts +++ b/arch/arm/boot/dts/omap4-panda.dts @@ -184,3 +184,36 @@ &dmic { status = "disabled"; }; + +&usbhs { + /* + * Maximum fill 3 port info. + * port configured can be any one of the following values + * OMAP_USBHS_PORT_MODE_UNUSED = 0, + * OMAP_EHCI_PORT_MODE_PHY = 1, + * OMAP_EHCI_PORT_MODE_TLL = 2, + * OMAP_EHCI_PORT_MODE_HSIC = 3, + * OMAP_OHCI_PORT_MODE_PHY_6PIN_DATSE0 = 4, + * OMAP_OHCI_PORT_MODE_PHY_6PIN_DPDM = 5, + * OMAP_OHCI_PORT_MODE_PHY_3PIN_DATSE0 = 6, + * OMAP_OHCI_PORT_MODE_PHY_4PIN_DPDM = 7, + * OMAP_OHCI_PORT_MODE_TLL_6PIN_DATSE0 = 8, + * OMAP_OHCI_PORT_MODE_TLL_6PIN_DPDM = 9, + * OMAP_OHCI_PORT_MODE_TLL_3PIN_DATSE0 = 10, + * OMAP_OHCI_PORT_MODE_TLL_4PIN_DPDM = 11, + * OMAP_OHCI_PORT_MODE_TLL_2PIN_DATSE0 = 12, + * OMAP_OHCI_PORT_MODE_TLL_2PIN_DPDM = 13, + */ + port-0 = <1>; + port-1 = <0>; + port-2 = <0>; + + /* + * In some boards, the controller is always connected to hub + * the pandboard always has the hub connect to port0 of usbhs controller + */ + hub-power-gpio = <&gpio1 1 0>; + hub-reset-gpio = <&gpio2 30 0>; /* gpio 62 */ + hub-clk = "auxclk3_ck"; + hub-clkrate = <19200000>; +};