From patchwork Fri Nov 4 03:26:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 123560 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 093B5B6F70 for ; Fri, 4 Nov 2011 14:27:02 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932088Ab1KDD07 (ORCPT ); Thu, 3 Nov 2011 23:26:59 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:33821 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754923Ab1KDD07 (ORCPT ); Thu, 3 Nov 2011 23:26:59 -0400 Received: by ywf7 with SMTP id 7so2044568ywf.19 for ; Thu, 03 Nov 2011 20:26:58 -0700 (PDT) Received: by 10.236.186.2 with SMTP id v2mr17016443yhm.83.1320377218564; Thu, 03 Nov 2011 20:26:58 -0700 (PDT) Received: from localhost.localdomain (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by mx.google.com with ESMTPS id d63sm12911619yhl.10.2011.11.03.20.26.56 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Nov 2011 20:26:57 -0700 (PDT) From: Olof Johansson To: linux-tegra@vger.kernel.org Cc: swarren@nvidia.com, grant.likely@secretlab.ca, rob.herring@calxeda.com, ccross@android.com, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, Olof Johansson Subject: [PATCH 1/2] arm/dt: add basic usb nodes to tegra device trees Date: Thu, 3 Nov 2011 20:26:13 -0700 Message-Id: <1320377174-28047-1-git-send-email-olof@lixom.net> X-Mailer: git-send-email 1.7.4.1 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org For now they are a minimal binding. It needs to be amended with vendor-specific settings for phy setup and link tuning, etc. Signed-off-by: Olof Johansson --- arch/arm/boot/dts/tegra-seaboard.dts | 4 ++++ arch/arm/boot/dts/tegra20.dtsi | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra-seaboard.dts index a72299b..88c682a 100644 --- a/arch/arm/boot/dts/tegra-seaboard.dts +++ b/arch/arm/boot/dts/tegra-seaboard.dts @@ -29,4 +29,8 @@ sdhci@c8000600 { support-8bit; }; + + usb@c5000000 { + nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ + }; }; diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 65d7e6a..2ad1107 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi @@ -143,5 +143,23 @@ reg = <0xc8000600 0x200>; interrupts = < 63 >; }; + + usb@c5000000 { + compatible = "nvidia,tegra20-ehci", "usb-ehci"; + reg = <0xc5000000 0x4000>; + interrupts = < 52 >; + }; + + usb@c5004000 { + compatible = "nvidia,tegra20-ehci", "usb-ehci"; + reg = <0xc5004000 0x4000>; + interrupts = < 53 >; + }; + + usb@c5008000 { + compatible = "nvidia,tegra20-ehci", "usb-ehci"; + reg = <0xc5008000 0x4000>; + interrupts = < 129 >; + }; };