Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp162288ybh; Fri, 6 Mar 2020 18:30:01 -0800 (PST) X-Google-Smtp-Source: ADFU+vuNXON3sJq2DfF7d9rZH5jloSDYRRDnn1DN7117sHKw0dhVv2kNI1nR/c4APU0TXmhM2cQX X-Received: by 2002:a05:6830:118c:: with SMTP id u12mr4726933otq.124.1583548201318; Fri, 06 Mar 2020 18:30:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583548201; cv=none; d=google.com; s=arc-20160816; b=CYiL8MFQYRmJ5c5LHsn6fHd+eppoTB4j2tYQxASGXDi/3CDsye+Lhh4PJyDUeY3wrT SldlJ2TSS9h373jFp35yP5pzcNsB+ZEMwTYOb9wQV+zwU9H+fO6LhZnl5j/WoBY9fomX Y25a7UIaumnbDR0yC2x10GX99PH24Wp4Xu4X8EwCvCaekcvbrmpPomf0uwwS7+lW3VR5 tmRBl42z4Ych7vtEay44htjDo5M9j6v27X8YlSA6rxbu0rovUEwbtZQxzAQvCrw1rDs+ Qv+yMgy7FkjoOC8SqjbJOgAlV1cFnP3BH6oOjlk7IQEsIPAvn5HdeX/1ooh+jY2BAQuO A7hg== 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:message-id:date :subject:cc:to:from; bh=EfEffTE0iAzJPjuR+Hjr/dYuFlpIXX0cQL6c45XOZWQ=; b=dqxoZFXeZrKopajD2PQpbSy7W3TuOubiXcC+iLU3L9Aey3KCs53ELcyfTyiNEt3OmN 55wtF08GTNl9NHEfUdeXAEHhRrGZQOso8vJvdFCjuAvRA0JS03kBKdgF4FROhpecHch/ TWvMBVHIB1NvLVY4oUkayOhPQE1tRmLY1BHxtUGHy3uWajfP0iOh9rRRLLqY1Sjl3A+I 6IAcTREauA2KLu3/LJ64c+qjpaHXty5G7SOpLWIEAumhtfB1ounD3egH/Gc8PyPk0Gz5 ft/Z6mTZupBBSw1asM9tc+HKASuBGoHPFf5+/EjANF3pdOdR3CsJZqrMF7h2Dbk0ZpVI GWgg== 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w124si612139oie.167.2020.03.06.18.29.49; Fri, 06 Mar 2020 18:30:01 -0800 (PST) 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbgCGC2k (ORCPT + 99 others); Fri, 6 Mar 2020 21:28:40 -0500 Received: from inva021.nxp.com ([92.121.34.21]:48832 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726968AbgCGC2j (ORCPT ); Fri, 6 Mar 2020 21:28:39 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D6377200DB2; Sat, 7 Mar 2020 03:28:36 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 885E9200DC9; Sat, 7 Mar 2020 03:28:27 +0100 (CET) Received: from titan.ap.freescale.net (titan.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 92D634030E; Sat, 7 Mar 2020 10:28:16 +0800 (SGT) From: Xiaowei Bao To: Zhiqiang.Hou@nxp.com, Minghuan.Lian@nxp.com, mingkai.hu@nxp.com, bhelgaas@google.com, robh+dt@kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, roy.zang@nxp.com, amurray@thegoodpenguin.co.uk, jingoohan1@gmail.com, gustavo.pimentel@synopsys.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Cc: Xiaowei Bao Subject: [PATCH v5 10/11] arm64: dts: layerscape: Add PCIe EP node for ls1088a Date: Sat, 7 Mar 2020 10:14:29 +0800 Message-Id: <20200307021430.36826-11-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20200307021430.36826-1-xiaowei.bao@nxp.com> References: <20200307021430.36826-1-xiaowei.bao@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add PCIe EP node for ls1088a to support EP mode. Signed-off-by: Xiaowei Bao Reviewed-by: Andrew Murray --- v2: - Remove the pf-offset proparty. v3: - No change. v4: - No change. v5: - No change. arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index ec6013a..cb0805b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -497,6 +497,17 @@ status = "disabled"; }; + pcie_ep@3400000 { + compatible = "fsl,ls1088a-pcie-ep","fsl,ls-pcie-ep"; + reg = <0x00 0x03400000 0x0 0x00100000 + 0x20 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <24>; + num-ob-windows = <128>; + max-functions = /bits/ 8 <2>; + status = "disabled"; + }; + pcie@3500000 { compatible = "fsl,ls1088a-pcie"; reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ @@ -522,6 +533,16 @@ status = "disabled"; }; + pcie_ep@3500000 { + compatible = "fsl,ls1088a-pcie-ep","fsl,ls-pcie-ep"; + reg = <0x00 0x03500000 0x0 0x00100000 + 0x28 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <8>; + status = "disabled"; + }; + pcie@3600000 { compatible = "fsl,ls1088a-pcie"; reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ @@ -547,6 +568,16 @@ status = "disabled"; }; + pcie_ep@3600000 { + compatible = "fsl,ls1088a-pcie-ep","fsl,ls-pcie-ep"; + reg = <0x00 0x03600000 0x0 0x00100000 + 0x30 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <8>; + status = "disabled"; + }; + smmu: iommu@5000000 { compatible = "arm,mmu-500"; reg = <0 0x5000000 0 0x800000>; -- 2.9.5