From patchwork Wed Jun 18 06:16:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Bresticker X-Patchwork-Id: 4373381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6A64EBEECB for ; Wed, 18 Jun 2014 06:20:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96772201BF for ; Wed, 18 Jun 2014 06:20:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 C6F06201BC for ; Wed, 18 Jun 2014 06:20:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wx9CM-0005ip-G4; Wed, 18 Jun 2014 06:18:18 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wx9BB-0005Kh-Nl for linux-arm-kernel@bombadil.infradead.org; Wed, 18 Jun 2014 06:17:05 +0000 Received: from mail-pa0-f73.google.com ([209.85.220.73]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wx9B8-00079B-M6 for linux-arm-kernel@lists.infradead.org; Wed, 18 Jun 2014 06:17:03 +0000 Received: by mail-pa0-f73.google.com with SMTP id kq14so46358pab.4 for ; Tue, 17 Jun 2014 23:16:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NA0XwPAgq+rnlITs1lJR6JBlGFa5mAd07Q/9fMxuCiI=; b=lo5P5YB8xI5iYBX4iu3ItFoY/Dvr/NIQnUfoF5nxTxZ8lq9sXnYfcg51X3Pno78w3U rfgPX9mbvsG7IiM/ou/OhMloJ0WhaqrpG3VzxWYOEY6iL2OZOGGPLuxL/QFm9+jS2uFz oUf+L3hfxEAWGIms687bMKA+6WsipOhtTrncf5w7Usf1QRJbc8nBl4wFb9kcDNMTZkTn u1weH8km82AeFgIqSInM20RLqPaaEKMW5LVwup9SqduMqJQjxgNacnbOt4yb//7EIMaV VfIMzat1oOi3NR5fxlmZ8VOaLg2jOsURXCmMtiSrX7jE9uIjdhemjy856PptCc1Kspqn 0gGQ== X-Gm-Message-State: ALoCoQk+FY3cEUaLIDpw8PaIwZ6jm6rIFV4uMx3GhM9AM9PriaHPT6721TzBVYgw0kdeaGagjmx3 X-Received: by 10.66.65.202 with SMTP id z10mr5140816pas.45.1403072199471; Tue, 17 Jun 2014 23:16:39 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id y50si73093yhk.4.2014.06.17.23.16.39 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Jun 2014 23:16:39 -0700 (PDT) Received: from abrestic.mtv.corp.google.com (abrestic.mtv.corp.google.com [172.22.72.111]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 433F95A449E; Tue, 17 Jun 2014 23:16:39 -0700 (PDT) Received: by abrestic.mtv.corp.google.com (Postfix, from userid 137652) id 07C0A220378; Tue, 17 Jun 2014 23:16:39 -0700 (PDT) From: Andrew Bresticker To: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org Subject: [PATCH v1 7/9] ARM: tegra: Add Tegra124 XUSB mailbox and XHCI controller Date: Tue, 17 Jun 2014 23:16:18 -0700 Message-Id: <1403072180-4944-8-git-send-email-abrestic@chromium.org> X-Mailer: git-send-email 2.0.0.526.g5318336 In-Reply-To: <1403072180-4944-1-git-send-email-abrestic@chromium.org> References: <1403072180-4944-1-git-send-email-abrestic@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140618_071702_868402_71E36A57 X-CRM114-Status: GOOD ( 11.03 ) X-Spam-Score: -2.7 (--) Cc: Mark Rutland , Russell King , Mathias Nyman , Pawel Moll , Ian Campbell , Andrew Bresticker , Greg Kroah-Hartman , Linus Walleij , Randy Dunlap , Kishon Vijay Abraham I , Grant Likely , Rob Herring , Thierry Reding , Kumar Gala , Stephen Warren , Alan Stern , Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, 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 Add nodes for the Tegra XUSB mailbox and Tegra XHCI controller. Update the XUSB pad controller node with a phandle to the XUSB mailbox. Signed-off-by: Andrew Bresticker --- arch/arm/boot/dts/tegra124.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 514e490..4e1cd92 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -480,11 +480,42 @@ status = "disabled"; }; + usb@0,70090000 { + compatible = "nvidia,tegra124-xhci"; + reg = <0x0 0x70090000 0x0 0x8000>, + <0x0 0x70098000 0x0 0x1000>, + <0x0 0x70099000 0x0 0x1000>; + interrupts = ; + clocks = <&tegra_car TEGRA124_CLK_XUSB_HOST>, + <&tegra_car TEGRA124_CLK_XUSB_FALCON_SRC>, + <&tegra_car TEGRA124_CLK_XUSB_SS>, + <&tegra_car TEGRA124_CLK_XUSB_SS_SRC>, + <&tegra_car TEGRA124_CLK_XUSB_HS_SRC>, + <&tegra_car TEGRA124_CLK_XUSB_FS_SRC>, + <&tegra_car TEGRA124_CLK_PLL_U_480M>, + <&tegra_car TEGRA124_CLK_CLK_M>, + <&tegra_car TEGRA124_CLK_PLL_E>; + clock-names = "xusb_host", "xusb_falcon_src", "xusb_ss", + "xusb_ss_src", "xusb_hs_src", "xusb_fs_src", + "pll_u_480m", "clk_m", "pll_e"; + resets = <&tegra_car 89>, <&tegra_car 156>; + reset-names = "xusb_host", "xusb_ss"; + nvidia,xusb-mbox = <&mbox>; + status = "disabled"; + }; + + mbox: mailbox@0,70098000 { + compatible = "nvidia,tegra124-xusb-mbox"; + reg = <0x0 0x70098000 0x0 0x1000>; + interrupts = ; + }; + padctl: padctl@0,7009f000 { compatible = "nvidia,tegra124-xusb-padctl"; reg = <0x0 0x7009f000 0x0 0x1000>; resets = <&tegra_car 142>; reset-names = "padctl"; + nvidia,xusb-mbox = <&mbox>; #phy-cells = <1>; };