From patchwork Fri Aug 9 14:49:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2841983 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 AEB6B9F295 for ; Fri, 9 Aug 2013 14:50:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 797ED202FF for ; Fri, 9 Aug 2013 14:50:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8936C20318 for ; Fri, 9 Aug 2013 14:50:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933972Ab3HIOt6 (ORCPT ); Fri, 9 Aug 2013 10:49:58 -0400 Received: from mail-bk0-f47.google.com ([209.85.214.47]:45328 "EHLO mail-bk0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933939Ab3HIOt6 (ORCPT ); Fri, 9 Aug 2013 10:49:58 -0400 Received: by mail-bk0-f47.google.com with SMTP id mx12so1104608bkb.34 for ; Fri, 09 Aug 2013 07:49:56 -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=qqrgOuLi+M4UkvK8UuI51c0n83bwa5IwES9klbTjelw=; b=go6n2SM3adCMKPpBCfeR2SGFErco8ql+ghxKBJATkmky0rQJ96DloTvSDodY0xDljp LwNYhJorXsdN4K3dkhcCHbi1gGcECy9SJiWfhQvOm5B5TdYBwkgY5eKStwoexjrgVqrv 9iXRnxbUnrB3OJbpPkCzheZ5S/is3VlSKo1jcM7d2vHFR/L8xWh7OdTybbe0/VTSNOBU XcvbcY/dXROJQRfg5EgvOcG/2XlubUfpqJCy9Y1ZLOLAWT3HQ0TmISo94oYilpKcE5+H NnjMW9VDPE7Jlx6fykxZOqE8BlduuVdXtQT1BIdDF6FUmcKg/KrJd+/AVbeNNKfCTxXT /PXg== X-Received: by 10.204.240.203 with SMTP id lb11mr205350bkb.82.1376059796618; Fri, 09 Aug 2013 07:49:56 -0700 (PDT) Received: from localhost (port-24887.pppoe.wtnet.de. [46.59.158.238]) by mx.google.com with ESMTPSA id qw6sm3508576bkb.4.2013.08.09.07.49.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 09 Aug 2013 07:49:55 -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 11/14] ARM: tegra: Fix Beaver's PCIe lane configuration Date: Fri, 9 Aug 2013 16:49:29 +0200 Message-Id: <1376059772-16669-12-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: Stephen Warren Beaver's PCIe lane configuration most closely matches x2 x2 x2 rather than x4 x1 x1, since clocks 0 and 2 are used, and lanes 0 and 5 are used, and the only way those align is with a x2 x2 x2 configuration. Also, disable root port 1; there's nothing connected to it. Root port 0 is the on-board PCIe Ethernet, and port 2 is the mini-PCIe slot. Signed-off-by: Stephen Warren Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra30-beaver.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts index 4d9fa31..e1dd644 100644 --- a/arch/arm/boot/dts/tegra30-beaver.dts +++ b/arch/arm/boot/dts/tegra30-beaver.dts @@ -18,16 +18,16 @@ pci@1,0 { status = "okay"; - nvidia,num-lanes = <4>; + nvidia,num-lanes = <2>; }; pci@2,0 { - status = "okay"; - nvidia,num-lanes = <1>; + nvidia,num-lanes = <2>; }; pci@3,0 { - nvidia,num-lanes = <1>; + status = "okay"; + nvidia,num-lanes = <2>; }; };