Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp65840imp; Wed, 20 Feb 2019 19:24:09 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib2tQ3tdceU+1krfpk3tqi5rWAIzzF2m6mdZiHjkDVxkZ9gJlyugqu4NnfTFjTZAJc8PXnW X-Received: by 2002:aa7:83c6:: with SMTP id j6mr37797945pfn.91.1550719449461; Wed, 20 Feb 2019 19:24:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550719449; cv=none; d=google.com; s=arc-20160816; b=BE/leGkUX9BbS+H5sJj5t9kF27Bnbl5GwVVqDqnIlRVQ0ICnXpvObgNHcqC86KgEqv VdBoKgdsJlaw63FbTVzjjy0EGvbFJ3eLCSPr67E86hpmdUEqbSq8wYzKpJlJ68PUqej6 M6n3zga3BoyIYCLXkm817IAa4FttHc3wx/81xGtPHMx+b1LzOaXn4mGr5bhuCnlgYRU/ Qtp+jR2QHL6/4EwE0NbTgVwzL42i5ZQd60cwxUkoDPR1n7NOcp0J8wz4Xx6aCBB7Z7AN KvIXBdAvhMUQxZRciiHwTUKseMBHnU96cFsOHeBu2UtTKpM3KbTzrH5ZnzQUH+i0vGTm TXXQ== 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=aAVkInvfZDcpP3wdcGj8YxrBX4XC07iuWFtx6ATjz2M=; b=r+BUmflMSkzMmrtI7c5/ToNrZb8F9Q8p/Q8jpzOSw3v5rZraLApFDcIvDM9otUo6KS yUucnh/1UVn2F+hqjt0QrHDhcBAwFURyi26ATz0MUeTRRSdL+ncian+0jHvxP9jyEH0M zjaAI6113RR3+23IyWnsGMU/5nwfigoZT/A0aYCxSZtneG/7POYBANklGYlfVJl3a+oD 1O7mjxEIpNGcVCdt5vkpsDq4lnVc+K1jr1S+uIUbxmxXSQVNuXcAkgvDsISZwh1MrDpl idNzbvC4g3H1NyIpBLkl9B22HHK7Csc7QBwY62AbumpVrb/SBaO4ofZKH1zj5lMGkOrx 9DpQ== 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 128si19399650pfz.86.2019.02.20.19.23.54; Wed, 20 Feb 2019 19:24:09 -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 S1727281AbfBUDWk (ORCPT + 99 others); Wed, 20 Feb 2019 22:22:40 -0500 Received: from inva020.nxp.com ([92.121.34.13]:35524 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726137AbfBUDWh (ORCPT ); Wed, 20 Feb 2019 22:22:37 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F14741A0164; Thu, 21 Feb 2019 04:22:35 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F0C6B1A0315; Thu, 21 Feb 2019 04:22:26 +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 703AB402F7; Thu, 21 Feb 2019 11:22:15 +0800 (SGT) From: Xiaowei Bao To: 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, kstewart@linuxfoundation.org, pombredanne@nexb.com, shawn.lin@rock-chips.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: [PATCHv7 2/4] arm64: dts: Add the PCIE EP node in dts Date: Thu, 21 Feb 2019 11:16:18 +0800 Message-Id: <20190221031620.43554-2-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190221031620.43554-1-xiaowei.bao@nxp.com> References: <20190221031620.43554-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 the PCIE EP node in dts for ls1046a. Signed-off-by: Xiaowei Bao Reviewed-by: Minghuan Lian Reviewed-by: Zhiqiang Hou Reviewed-by: Rob Herring --- v2: - Add the SoC specific compatibles. v3: - no change v4: - no change v5: - change the OB win number due to the RM update. v6: - no change v7: - no change arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 34 +++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 9a2106e..576262e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -657,6 +657,17 @@ status = "disabled"; }; + pcie_ep@3400000 { + compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep"; + reg = <0x00 0x03400000 0x0 0x00100000 + 0x40 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <8>; + num-lanes = <2>; + status = "disabled"; + }; + pcie@3500000 { compatible = "fsl,ls1046a-pcie"; reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ @@ -683,6 +694,17 @@ status = "disabled"; }; + pcie_ep@3500000 { + compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep"; + reg = <0x00 0x03500000 0x0 0x00100000 + 0x48 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <8>; + num-lanes = <2>; + status = "disabled"; + }; + pcie@3600000 { compatible = "fsl,ls1046a-pcie"; reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ @@ -709,6 +731,17 @@ status = "disabled"; }; + pcie_ep@3600000 { + compatible = "fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep"; + reg = <0x00 0x03600000 0x0 0x00100000 + 0x50 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <8>; + num-lanes = <2>; + status = "disabled"; + }; + qdma: dma-controller@8380000 { compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma"; reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */ @@ -729,7 +762,6 @@ queue-sizes = <64 64>; big-endian; }; - }; reserved-memory { -- 1.7.1