From patchwork Thu Jul 25 17:53:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2833554 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 E7599C0319 for ; Thu, 25 Jul 2013 17:55:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2A8AE20395 for ; Thu, 25 Jul 2013 17:55:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3817820394 for ; Thu, 25 Jul 2013 17:55:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932097Ab3GYRy7 (ORCPT ); Thu, 25 Jul 2013 13:54:59 -0400 Received: from mail-bk0-f48.google.com ([209.85.214.48]:40696 "EHLO mail-bk0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932085Ab3GYRyz (ORCPT ); Thu, 25 Jul 2013 13:54:55 -0400 Received: by mail-bk0-f48.google.com with SMTP id jf3so810248bkc.35 for ; Thu, 25 Jul 2013 10:54:53 -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:x-mailer:in-reply-to:references; bh=CAWgkoWasS8hyMIpcFxQpdCLXWK4iX1TLpG7fZrIjp0=; b=IhzqI/Pad8rOVIYnaOXWqdNvQ0iCWwueJ3JkdNIK39mSYP9VTYxM5rpu3gOJ7e5SZK trkTNN+ClZBytKnGjPbrMwbq+v9wvK2Vq+ZpAn4bUt8Z+RxKjtB3r1FNNNkpS9ru2S7l z4oaOVicWI2KFwDUVhGuS17x+Lm8BdwtKNau7qqLfLFWALABolcX0JijvMP2PlnDRrM8 p69ek0rxvChxzNbRAHDjnfVY6QpoWE5gHzFNBAgRV8BBxHdgxyUMdr2XHfwLbPAVhXCm uvpJ+C73ZakRPWQwWxwkm1n7wnLCsll6XUw7OMMLQ7L4j/rtVDPh2ZWTw6Oz2jO2RAZI M8Nw== X-Received: by 10.205.114.207 with SMTP id fb15mr6164039bkc.140.1374774893184; Thu, 25 Jul 2013 10:54:53 -0700 (PDT) Received: from localhost (dotsec.net. [62.75.224.215]) by mx.google.com with ESMTPSA id ps10sm11449010bkb.14.2013.07.25.10.54.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 25 Jul 2013 10:54:52 -0700 (PDT) From: Thierry Reding To: Bjorn Helgaas , Stephen Warren Cc: Russell King , Jason Cooper , Thomas Petazzoni , Jay Agarwal , linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 12/16] ARM: tegra: Enable PCIe controller on Beaver Date: Thu, 25 Jul 2013 10:53:26 -0700 Message-Id: <1374774810-18459-13-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1374774810-18459-1-git-send-email-thierry.reding@gmail.com> References: <1374774810-18459-1-git-send-email-thierry.reding@gmail.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=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 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>;