From patchwork Fri Aug 9 14:49:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2841982 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 554059F295 for ; Fri, 9 Aug 2013 14:50:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B842202CF for ; Fri, 9 Aug 2013 14:50:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E261F202FF for ; Fri, 9 Aug 2013 14:50:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933953Ab3HIOt4 (ORCPT ); Fri, 9 Aug 2013 10:49:56 -0400 Received: from mail-bk0-f43.google.com ([209.85.214.43]:41220 "EHLO mail-bk0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933939Ab3HIOtz (ORCPT ); Fri, 9 Aug 2013 10:49:55 -0400 Received: by mail-bk0-f43.google.com with SMTP id mz13so1119397bkb.16 for ; Fri, 09 Aug 2013 07:49:54 -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=lIWPU76wa2fdtPgUOTEYyfTUipXkhoaJeQYAwliDIp8=; b=tQKAMmn61ZRwhXCBda8eBi7744zTi3OdXOL6suClaRL16lHhqkIZK9AEzFy+5vmK0n wtaI8WGXUV49QNz3R1mjMk2673vWIhLAoN3rSIi82t9p/+f53imoRV2ZlINi8mhj9EQE 6+kAlHnNBYedeS2bX9W02HOznAkgmqjtr2ZfQzfQ4BeRXJAJdaAyFIbX1rpOXS7zueze PMOC2nsK8BMCA79S6qf4Cl3T6rQiolEzFnjbrM5T271XN4bUbrintgiWEc5jcSj6FXWh tAwTtaWlxPZi0htygSESvW1pZD6z6GCI4YodUICvRYJhsZsCfbnaw7nxQoENt070eiwd yCJA== X-Received: by 10.204.63.12 with SMTP id z12mr2347212bkh.44.1376059794385; Fri, 09 Aug 2013 07:49:54 -0700 (PDT) Received: from localhost (port-24887.pppoe.wtnet.de. [46.59.158.238]) by mx.google.com with ESMTPSA id cb7sm3497985bkb.16.2013.08.09.07.49.53 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 09 Aug 2013 07:49:53 -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 10/14] ARM: tegra: Enable PCIe controller on Beaver Date: Fri, 9 Aug 2013 16:49:28 +0200 Message-Id: <1376059772-16669-11-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: Thierry Reding PCIe lane 0 is connected to an onboard Gigabit Ethernet (RTL8168evl) and lane 4 is routed to the board's miniPCIe slot. Signed-off-by: Thierry Reding Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra30-beaver.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts index 87c5f7b..4d9fa31 100644 --- a/arch/arm/boot/dts/tegra30-beaver.dts +++ b/arch/arm/boot/dts/tegra30-beaver.dts @@ -10,6 +10,27 @@ reg = <0x80000000 0x7ff00000>; }; + pcie-controller { + status = "okay"; + pex-clk-supply = <&sys_3v3_pexs_reg>; + vdd-supply = <&ldo1_reg>; + avdd-supply = <&ldo2_reg>; + + pci@1,0 { + status = "okay"; + nvidia,num-lanes = <4>; + }; + + pci@2,0 { + status = "okay"; + nvidia,num-lanes = <1>; + }; + + pci@3,0 { + nvidia,num-lanes = <1>; + }; + }; + pinmux { pinctrl-names = "default"; pinctrl-0 = <&state_default>;