From patchwork Fri Aug 9 14:49:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2841981 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 DF63DBF546 for ; Fri, 9 Aug 2013 14:50:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E252B202CF for ; Fri, 9 Aug 2013 14:50:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A1ED4202EC for ; Fri, 9 Aug 2013 14:49:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933927Ab3HIOty (ORCPT ); Fri, 9 Aug 2013 10:49:54 -0400 Received: from mail-bk0-f42.google.com ([209.85.214.42]:53532 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933939Ab3HIOty (ORCPT ); Fri, 9 Aug 2013 10:49:54 -0400 Received: by mail-bk0-f42.google.com with SMTP id my10so1126193bkb.15 for ; Fri, 09 Aug 2013 07:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4skcXTf3d/40qTRnfPhfQFlFmV7qgAS4IApjhsjLVGc=; b=r6S76v0fC2RuCJ+19L3PORFeIqp38pSDGVojsiV/kEsst9M14XP0VIKBl4NqCH4AQe djOiqamGcl2LuhEnG2Q/38p18zVmBtdMmNpFgOn4OuSyGjZ482kEYsLnOGWTC+5yitr6 HMGNqkED12KPGRxOe0KNK2WnrG522Mzn89dQpe+rGciSF9pb5kanuoK4k9wYoW9vs7UV aHInOKAUHRrjr2hcqVeDY/uk4IuZEfULLLiWqdsTgwZPEnR0Tsh+AgQhM6UcIwtuAtGX SmhoOo7EEeakyGeUGorAwLKCukSTLwY2AtKdDfr8W3xKhfi3/yJ1F6fR+oUbXf+B48ft 9Zvg== X-Received: by 10.204.226.75 with SMTP id iv11mr2362675bkb.136.1376059792525; Fri, 09 Aug 2013 07:49:52 -0700 (PDT) Received: from localhost (port-24887.pppoe.wtnet.de. [46.59.158.238]) by mx.google.com with ESMTPSA id cb7sm3498002bkb.16.2013.08.09.07.49.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 09 Aug 2013 07:49:51 -0700 (PDT) From: Thierry Reding To: Stephen Warren Cc: Bjorn Helgaas , Jason Cooper , linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v6 09/14] ARM: tegra: Enable PCIe controller on Cardhu Date: Fri, 9 Aug 2013 16:49:27 +0200 Message-Id: <1376059772-16669-10-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <1376059772-16669-1-git-send-email-treding@nvidia.com> References: <1376059772-16669-1-git-send-email-treding@nvidia.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Jay Agarwal Root port 2 is routed to the bottom connector on Cardhu and is used by the development dock to provide gigabit ethernet and USB functionality. Signed-off-by: Jay Agarwal Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index c011b67..ee8fff8 100644 --- a/arch/arm/boot/dts/tegra30-cardhu.dtsi +++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi @@ -31,6 +31,26 @@ reg = <0x80000000 0x40000000>; }; + pcie-controller { + status = "okay"; + pex-clk-supply = <&pex_hvdd_3v3_reg>; + vdd-supply = <&ldo1_reg>; + avdd-supply = <&ldo2_reg>; + + pci@1,0 { + nvidia,num-lanes = <4>; + }; + + pci@2,0 { + nvidia,num-lanes = <1>; + }; + + pci@3,0 { + status = "okay"; + nvidia,num-lanes = <1>; + }; + }; + pinmux { pinctrl-names = "default"; pinctrl-0 = <&state_default>;