Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp220532imm; Tue, 15 May 2018 00:15:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqPXY3pELz8EfV2CGvHLtcQ+ClTiHkPtcsq7rT9lZq1XGGDzpAhcAxryHmfjdfoPp5V+VZg X-Received: by 2002:a17:902:bb84:: with SMTP id m4-v6mr13117571pls.339.1526368532764; Tue, 15 May 2018 00:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526368532; cv=none; d=google.com; s=arc-20160816; b=CQErBBTQ4go+ZzOJHubXYz4Wb6tnCSiDqBKRNiejvMfW7GaLX6cjHg6uCmcIDiUWvL HPSGOwWuRLDMY0+vvwchp7FDKaf82CqjqK/wG6T8OIEQ59P+L1LalzMPiahinB5qufDt E4icZf6kKMwjBfpb7jpjcksf31dZDMyb3R45e7XlaCs+3EynocGeiUEml4xFA7DV7Sz1 mI7ApaJHPiPOvrmTP5m7G6Scv7cEBcdeTA3xb8/AK1ILQw0i1RmxdYiBf8T0xfQUnnb7 MrI9KfBMu9cAAqFHPTVwhMAFEot1qR/y5cuIy9n+PeMudT2ojO/bH3iW6lgRNcgnsc9D pbzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=UShdMgOW9lM9lCY69BC8o9eJRuT/aZt8jZTDIqiBk+U=; b=Y/omZSneF6v+CbS2PXUG71aF1gDPPyhU0l0I87eIyhyRO+ZbFPRQ7m7ERAc2faiqoF fssfNuO+4VOVjLha2yLnOEY1nNIbyAdEMADpEZeKOYler9uTfhF8T/DX41ey19/VgyUi +3TnGDwyMm5mAtMkpRqPSop+WeUo9TyW62GzBY5W3D8RxT+wMdOkasj6QZUEKcgRlcX4 ehVLhu4mqQQK80kptztJ/1xv5vKTDEKHuhQjsIrhxXtjzg6qyY7qgfAAbnGKQs4OFLyI RiPI0BGPqxEFfyq+F5FZ41BeO9KZJGwxJSLjgoi3jX5cphofGlU+LOmQq8vRcwr+BJY+ n+NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ERMygYEn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e124-v6si11115682pfe.80.2018.05.15.00.15.18; Tue, 15 May 2018 00:15:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ERMygYEn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752434AbeEOHNl (ORCPT + 99 others); Tue, 15 May 2018 03:13:41 -0400 Received: from smtprelay.synopsys.com ([198.182.37.59]:41329 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752192AbeEOHNg (ORCPT ); Tue, 15 May 2018 03:13:36 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 8CF4B1E1376; Tue, 15 May 2018 09:13:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1526368414; bh=CsVw65NB0+yaSk35FqX9vuC4TjVC3gRUTQXFjNKIkb8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=ERMygYEneVHqt4dSJCi1j0+mN1dMdkYttSSqpj+rWpSj83idZvnQDXpSTy3uHNJ5C exttHlkfr5QoGlkamBKfNL00JW3uSQRjWvVOSoyJ4MJcQtXxfXHAWfK6iVanSbD9eV j3SfgjcAMCjUgLpqNCOUPMcifdsG2bVdb6a6FvsIA/bX5BTRPPZlJQql85mcQlg71P 8Lr+26JJwUEpeSm6zm2A5/YP3h9BXXW0IhP+9uy3LdUi8PQyQhHPq8P2s9aWsRm3HK 5/S3xzIiEcw4Q868k9EHQK5RnC+02E4jenwa6vX5PVtzaUaBVtpt0Qh2na+Tuo8QPz WOx4lUgeyeCow== Received: from pt02.synopsys.com (pt02.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id AF67C3C6B; Tue, 15 May 2018 00:13:33 -0700 (PDT) Received: from UbuntuMate-64Bits.internal.synopsys.com (gustavo-e7480.internal.synopsys.com [10.107.25.102]) by pt02.synopsys.com (Postfix) with ESMTP id 14BA7874A; Tue, 15 May 2018 08:13:33 +0100 (WEST) From: Gustavo Pimentel To: bhelgaas@google.com, lorenzo.pieralisi@arm.com, Joao.Pinto@synopsys.com, jingoohan1@gmail.com, kishon@ti.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Gustavo Pimentel Subject: [PATCH 3/4] bindings: PCI: designware: Add support for EP in DesignWare driver Date: Tue, 15 May 2018 08:13:28 +0100 Message-Id: <93b9bb79148420995272211c0a8190dd90d48fc8.1526368369.git.gustavo.pimentel@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding documentation for the EP in PCIe DesignWare driver. Signed-off-by: Gustavo Pimentel Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/designware-pcie.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt index 7f9804d..c124f9b 100644 --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt @@ -3,6 +3,7 @@ Required properties: - compatible: "snps,dw-pcie" for RC mode; + "snps,dw-pcie-ep" for EP mode; - reg: Should contain the configuration address space. - reg-names: Must be "config" for the PCIe configuration space. (The old way of getting the configuration address space from "ranges" @@ -56,3 +57,14 @@ Example configuration: #interrupt-cells = <1>; num-lanes = <1>; }; +or + pcie: pcie@dfc00000 { + compatible = "snps,dw-pcie-ep"; + reg = <0xdfc00000 0x0001000>, /* IP registers 1 */ + <0xdfc01000 0x0001000>, /* IP registers 2 */ + <0xd0000000 0x2000000>; /* Configuration space */ + reg-names = "dbi", "dbi2", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <2>; + num-lanes = <1>; + }; -- 2.7.4