Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp268463yba; Wed, 15 May 2019 00:38:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHwaho82dNHVR5kul/wqjb5M18eGWq4PxT04Rn+Rgr7Fng/3/SysanclKLIIU3Id52RAcE X-Received: by 2002:a62:e117:: with SMTP id q23mr45847685pfh.60.1557905884619; Wed, 15 May 2019 00:38:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557905884; cv=none; d=google.com; s=arc-20160816; b=lQoiQkANVUuVVZBeAKmlyZBreeEEzBWzOHfKu6E9nkLiF0rak3uMazVmBMzb9MxguY ukI9fSSnYRmtTG8/Zc5HKkqrqIiZHj7SQwO/2rSMyJ+hipmqDARRky6o8HPE/PGqxZ2A UXvTxrtmn5EHRh3qtETsMVvm9LyU1BwIvmJqRl72LQRCzgnkREpBkBme3017B0JOpFMK C3d/gnNlojYSD0xASF22kEExdzEFbnteiFPHGF8a0Qhy7vFAtLDHJfY9O23L1mY0s6E4 nMO+SM+WFeILx/IqF8b8IQjnr9E8qDT3lbZ1D89zsnQzOqduWlYdbLUU59pN8e0i7gYm NPRg== 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=ypFyvls5VHSWifGe/fDmENaA0CAmc1WCpqTf3nopetg=; b=a/E37bbzJAB/V5pn/9ivCpHmfDuRbosrdow4+Vo+qOoOTOjS3pN9i1t7BK9oSLVt12 EICJigKhGfQwsxTPEg9/2fhaUs0cWb6oGLmeF8SE3OYemGC+wYHUdiggthI8tEP5hO7A pX3jmJ4c4NSyhlOESm8a5vVTStTLEwQdg9D+KGkTcWEfQ4l6+sa7S3znOBajNZhDgnt2 Z8F6Yay3rCLYw7eBrTX0Yx6xsbxnM3DO2HutSSWGCHjcgoiC3FM9FG4Tp1Pg7ZIJtaA8 A5dHA4SO7PAoIerBZwqEhZ4AhUNjsdIVS2tqqy7GX3lzaLPkFIckqOMrOEjYTMLhQIbU xFnw== 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 p13si1200061pgh.417.2019.05.15.00.37.50; Wed, 15 May 2019 00:38: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 S1726529AbfEOHgK (ORCPT + 99 others); Wed, 15 May 2019 03:36:10 -0400 Received: from inva020.nxp.com ([92.121.34.13]:47398 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbfEOHgI (ORCPT ); Wed, 15 May 2019 03:36:08 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1715C1A0221; Wed, 15 May 2019 09:36:06 +0200 (CEST) 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 4CC761A00A1; Wed, 15 May 2019 09:35:57 +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 4C14E402C8; Wed, 15 May 2019 15:35:46 +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: [PATCH 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes Date: Wed, 15 May 2019 15:27:46 +0800 Message-Id: <20190515072747.39941-2-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190515072747.39941-1-xiaowei.bao@nxp.com> References: <20190515072747.39941-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 LS1028a implements 2 PCIe 3.0 controllers. Signed-off-by: Xiaowei Bao --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 52 ++++++++++++++++++++++++ 1 files changed, 52 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index b045812..50b579b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -398,6 +398,58 @@ status = "disabled"; }; + pcie@3400000 { + compatible = "fsl,ls1028a-pcie"; + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ + 0x80 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = , /* PME interrupt */ + ; /* aer interrupt */ + interrupt-names = "pme", "aer"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + dma-coherent; + num-lanes = <4>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ + msi-parent = <&its>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + pcie@3500000 { + compatible = "fsl,ls1028a-pcie"; + reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ + 0x88 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = , + ; + interrupt-names = "pme", "aer"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + dma-coherent; + num-lanes = <4>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ + msi-parent = <&its>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + pcie@1f0000000 { /* Integrated Endpoint Root Complex */ compatible = "pci-host-ecam-generic"; reg = <0x01 0xf0000000 0x0 0x100000>; -- 1.7.1