Received: by 10.213.65.68 with SMTP id h4csp336206imn; Wed, 28 Mar 2018 04:40:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+prCRjvYAgz/muQfwhp8dFVsN8ZxMDpywZ9mIyU77Y5H6FRd3/w6gpXn8id+VllowiN47+ X-Received: by 10.101.101.139 with SMTP id u11mr2335957pgv.436.1522237237643; Wed, 28 Mar 2018 04:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522237237; cv=none; d=google.com; s=arc-20160816; b=ZJ4u+x6nGphhgkNrp8qwf9NfKYySByejl9+ITBijTiiSo8uOT6iYUpLFCdUOmYp+OY 4+Xq8pP5M5SX8QOTa/+JbXC3JZBGNinllRxYpnBFGEwRt+Uw3ajE6V/VZkFutTxuXXEa 9fop6AscQIg2ZD7JXMZ9wFQ4qj0lh9Tf3ZSsf1CVd4+gGagEtdTOPSXLwYcnywU2m1eC YtYZlGDwUQb0yaPsdQuK0Pk+ETEPEXbzKzFkD6mo0UcXbdnWKt2jpZzWUfNvX2cSulkl 9sFlQ0AyO/ExMB08Ktvh3GnVjrfQ8pOaawjy5fXcjlWgwTcJaRjVbyiGnK/F2+GZ582G p4uw== 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 :arc-authentication-results; bh=LGf+9p3L1Px+0L//3eumFlGlSg7FouPizFc9SOwpg6s=; b=ton07NCTNsnjzzVmfl3GUq4rEmgJBbRVA0/BzlQ1fipkqmpfng3LhSk50nkFkYb/07 JZMnRxn05hEO34sMLLV1V2qNHoSC8DS4tWrJVhN5vRpkqSaOTF5Vewc3zH8tgRUiBJkV 2yYQMkAGxtltl5BUN+hS3ZN0w2VbH6qpX8Foh564uUROxdTvXNeAGzMYdZES1yZIqrVS 5lRfvl6kNMne2e/77MR1LBqpWfsuCqLYUL4Qz8LI4LmGQ+0l0pCv55/acOV0UlwjwxuL XY/QFjacl3wISdT+HedrA9quoT1e1236l7bcX5/7xIX2qNf/Qrp1yNexP6JZmLrFI6ua k+vA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 d2-v6si3256997pln.115.2018.03.28.04.40.23; Wed, 28 Mar 2018 04:40:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752654AbeC1Liu (ORCPT + 99 others); Wed, 28 Mar 2018 07:38:50 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:58222 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751209AbeC1Lio (ORCPT ); Wed, 28 Mar 2018 07:38:44 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id A209C10C0A8B; Wed, 28 Mar 2018 04:38:43 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 8C6833CEA; Wed, 28 Mar 2018 04:38:43 -0700 (PDT) Received: from pt02.synopsys.com (pt02.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 4210D3CD6; Wed, 28 Mar 2018 04:38:43 -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 7B2443EC4C; Wed, 28 Mar 2018 12:38:42 +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@synopsys.com Subject: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver Date: Wed, 28 Mar 2018 12:38:33 +0100 Message-Id: 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 Signed-off-by: Gustavo Pimentel --- Documentation/devicetree/bindings/pci/designware-pcie.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt index 6300762..4bb2e08 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,15 @@ Example configuration: #interrupt-cells = <1>; num-lanes = <1>; }; +or + pcie_ep: pcie_ep@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"; + device_type = "pci"; + num-ib-windows = <6>; + num-ob-windows = <2>; + num-lanes = <1>; + }; -- 2.7.4