From patchwork Thu Dec 24 09:45:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 7916271 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E07D4BEEED for ; Thu, 24 Dec 2015 09:47:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 130C6204A2 for ; Thu, 24 Dec 2015 09:47:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 36F292052F for ; Thu, 24 Dec 2015 09:47:51 +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 1aC2TC-0007TA-2c; Thu, 24 Dec 2015 09:46:02 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aC2T8-0007Rf-Ok for linux-arm-kernel@lists.infradead.org; Thu, 24 Dec 2015 09:45:59 +0000 Received: from mail.nefkom.net (unknown [192.168.8.184]) by mail-out.m-online.net (Postfix) with ESMTP id 3pR6323hLMz3hjPg; Thu, 24 Dec 2015 10:45:34 +0100 (CET) X-Auth-Info: vqECOgNBKHWEUhVHl3atw022XpVHiFT/SUQ3SkY54Uo= Received: from chi.lan (unknown [195.140.253.167]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 3pR6314gmNzvdWS; Thu, 24 Dec 2015 10:45:33 +0100 (CET) From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] doc: PCI: altera: Fix the 'ranges' property in example Date: Thu, 24 Dec 2015 10:45:30 +0100 Message-Id: <1450950330-28393-1-git-send-email-marex@denx.de> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151224_014558_982522_9AE0878D X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Bjorn Helgaas , Marc Zyngier , Ley Foon Tan 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 The example does not work on real hardware with the PCIe HIP [1]. The problem is with incorrect "ranges" property in the example, so one cannot just copy-paste the example into his DT and expect this to work. This patches aligns the "ranges" in the example with the reference FPGA design. [1] http://rocketboards.org/foswiki/view/Projects/PCIeRootPortWithMSI Signed-off-by: Marek Vasut Cc: Bjorn Helgaas Cc: Ley Foon Tan Cc: Marc Zyngier Cc: Rob Herring --- Documentation/devicetree/bindings/pci/altera-pcie.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/altera-pcie.txt b/Documentation/devicetree/bindings/pci/altera-pcie.txt index 2951a6a..d2427c1 100644 --- a/Documentation/devicetree/bindings/pci/altera-pcie.txt +++ b/Documentation/devicetree/bindings/pci/altera-pcie.txt @@ -44,6 +44,6 @@ Example <0 0 0 2 &pcie_0 2>, <0 0 0 3 &pcie_0 3>, <0 0 0 4 &pcie_0 4>; - ranges = <0x82000000 0x00000000 0x00000000 0xc0000000 0x00000000 0x10000000 - 0x82000000 0x00000000 0x10000000 0xd0000000 0x00000000 0x10000000>; + ranges = <0x82000000 0x00000000 0xc0000000 0xc0000000 0x00000000 0x10000000 + 0x82000000 0x00000000 0xd0000000 0xd0000000 0x00000000 0x10000000>; };