Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp222575ybh; Fri, 13 Mar 2020 20:45:46 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuCvs421lHeTEUJVhuguIjmxD9XRKo65r4TPLhWv0D6BASetscUCQGBn/VetKjBTfABFfaD X-Received: by 2002:a9d:7859:: with SMTP id c25mr4194394otm.323.1584157546182; Fri, 13 Mar 2020 20:45:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584157546; cv=none; d=google.com; s=arc-20160816; b=eO6RKh0Ryz24thYkJzhtQmugwYt5tUQgHjapFmHEJheCEXwx4kmj7zzfbaFoJJf8Jn VshxTYbq0FnQsIsesqA7aFYzmUjQxcrTp0dNW5O1gHDwUvIRhPaBPTwMa3Y/ppG1DgeU UAx2wS48MDhp/CKoq+2ljkF5S4TTg7U4EUqE3YrAU+wslJPIm6iXLpbQtNFh6j0waZP+ qIY4yp2G895zN+MBVh10UuU+OnyWg3NwXHqdpsKqkuqkaN4oP4jIRWZx0R8Vn6lMvbD4 VINwnq/XgG+h4S3nD2OMQr5gHfxrbsi4H1SgL9f+mNPA6ktcfCOr03/r/7G5mfG127ex msvg== 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=bYEKqZuK6FNVBuzwAw5mDNFOxxN+UWlDgsMV8N+FkGM=; b=dwdtxmIIb+v1GDWSc2p+d13EQEPetF8dHQ8ljYuqjJ2jzCifzT4eJe6n15c74H+FvZ hCJgcr+Rtx5hjY3M7G2l9LbraVA/1FY3mZkM9W2B4cB+WgQgEMO3cr8xBp0B6yZAa0R+ BMN1afxTfjpuHJu/yydE/kUGdpk+1UZL2HIun5DGdYrSIrf828RDnbVn5Kn4COLdfMr8 xnAbBEgFOdwyyVtuu/IARGPe0TlCbbBVJLUpZDb6nSdKxQI+auu3TC32HPr/wntd1V5w gIRHTUB0zXo05X2QqxXmk6jAfK+z9j5nkxuIM+ffbb0boduW/OhQh8ZMPJcwc0xC86HA oMFQ== 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 k24si7098853otf.213.2020.03.13.20.45.34; Fri, 13 Mar 2020 20:45:46 -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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726932AbgCNDpC (ORCPT + 99 others); Fri, 13 Mar 2020 23:45:02 -0400 Received: from inva021.nxp.com ([92.121.34.21]:60050 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726863AbgCNDo4 (ORCPT ); Fri, 13 Mar 2020 23:44:56 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 28D8D200060; Sat, 14 Mar 2020 04:44:55 +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 62295200449; Sat, 14 Mar 2020 04:44:45 +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 2CF83402E8; Sat, 14 Mar 2020 11:44:33 +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, andrew.murray@arm.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 v6 10/11] arm64: dts: layerscape: Add PCIe EP node for ls1088a Date: Sat, 14 Mar 2020 11:30:37 +0800 Message-Id: <20200314033038.24844-11-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20200314033038.24844-1-xiaowei.bao@nxp.com> References: <20200314033038.24844-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. v6: - 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