Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1828762ybl; Thu, 15 Aug 2019 01:51:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqyM4NjxQ1ATK0t33sLMriZ/7HMEkODKBHyIj+CXQ/KTDm1omtDz2GIkxabu3MqvVxSfysHL X-Received: by 2002:a65:4205:: with SMTP id c5mr2621670pgq.265.1565859064726; Thu, 15 Aug 2019 01:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565859064; cv=none; d=google.com; s=arc-20160816; b=aW06c4q+7FWYmqYewjBD3JLXIn3CBTc1dDuTLxmdYwLkNR8elXP5UGki/QcKkSAfdt 2bMyhsMNbRt37Gvb/LVo6AmrQr9IySQeJxd7sepwfCJpvted9ujnEnggLxf0KMqR0ra3 mPHFKgSOMohKM04pVp03OWn6uzWZ+TW7cvYzeSutygR+T5p5YlIhJqRtcNwrocv6WjeJ wnEvC1TxrPJGKIopGzgHxQWwm47+EgmVZ7Jat+oqNgpVs6Zprm8pjNfqoaL2nWw3+kfo wE8dQahLLy9lvRBkExD/AfSQ00g9fX3zUfbXrXixih/1zn9wda52rUCOo1J/dofdvH72 UXhw== 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=CAzTWJ3ZcB+vI49+c1HDbBi3PR/4dAtdMFmzdAwIgBo=; b=ZacV7wA1uAeghblgOJLynS54dTTEexpVxzPdVL0thTja61PBCXZSRmhRLLL6V+GtBM A1plk3/XxtDgreAI0Ar3YuOaicBn0s0NoiwsyEuexJTR298aJEUbAGETHdVuA8kf2hbI 84P4tFa+3LClLcSWPWOouzfbFneIb4J6CmY/A1+br61mx4LOjylwCMCPhaUht2NC7Br1 xauJQBzQtWfSrV2MaepRZD7A0L43St+kQDlK4IxuTkSjGRLWfKFgEXq0EoHwRKk0Oeke fMIuHZ7iXUa52bksbPpx12eyKbdu9tcOZi5Ri/h21OccXAUb0E7eM05/EQm+Kl9W09NP Yh4Q== 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 s23si1606092plq.81.2019.08.15.01.50.49; Thu, 15 Aug 2019 01:51:04 -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 S1731157AbfHOIsC (ORCPT + 99 others); Thu, 15 Aug 2019 04:48:02 -0400 Received: from inva021.nxp.com ([92.121.34.21]:60798 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731135AbfHOIsA (ORCPT ); Thu, 15 Aug 2019 04:48:00 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id EE357200440; Thu, 15 Aug 2019 10:47:57 +0200 (CEST) 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 4599B2001CD; Thu, 15 Aug 2019 10:47:49 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4795640320; Thu, 15 Aug 2019 16:47:38 +0800 (SGT) From: Xiaowei Bao To: jingoohan1@gmail.com, gustavo.pimentel@synopsys.com, bhelgaas@google.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, arnd@arndb.de, gregkh@linuxfoundation.org, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, roy.zang@nxp.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 09/10] arm64: dts: layerscape: Add PCIe EP node for ls1088a Date: Thu, 15 Aug 2019 16:37:15 +0800 Message-Id: <20190815083716.4715-9-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190815083716.4715-1-xiaowei.bao@nxp.com> References: <20190815083716.4715-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 --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index dfbead4..434a76c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -471,6 +471,18 @@ 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>; + pf-offset = <0x20000>; + status = "disabled"; + }; + pcie@3500000 { compatible = "fsl,ls1088a-pcie"; reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ @@ -497,6 +509,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 */ @@ -523,6 +545,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