From patchwork Mon Sep 18 09:32:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 9956175 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 472A260208 for ; Mon, 18 Sep 2017 09:51:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 360FE28C33 for ; Mon, 18 Sep 2017 09:51:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A79528C38; Mon, 18 Sep 2017 09:51:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8398328C33 for ; Mon, 18 Sep 2017 09:51:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5TDUCgipU5BxOcqVHWU6/7y8bSKWz5200IFKqwHYq6c=; b=KWM3RNTgS/14Mw Ct+itYS2UTNQzxWB4NVkaX9SxpLMUK5XZOM/nucGdpSQ6qJ7YTIWzv8Hfc4E6T2xbjrO3dme6uOYs /kRXgWg+0BMhBzJr4LFui2hWxzc+jRUTZKd8b2UQh0gtEtSZAP+tSMcA28SWdTB++FYZekM6+VDnO Dr2r3xMwGvLBKTjTF8y4+ESfXU4xCFHudxBX0a+f45bDyaQysC/CPZH4PYZQcf4OH+0irftRXGL1w 2cgoXT1qONxqgNT9YSewtv7fcE1otmg5p+CahjQGWJ9gzWtCtTI8hj5UC/TNvgHEna8vq7E/4wc12 b6C3totgSy5GlZ93yEmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dtsiQ-0001t5-HR; Mon, 18 Sep 2017 09:51:46 +0000 Received: from mail-co1nam03on0089.outbound.protection.outlook.com ([104.47.40.89] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dtsgz-0008Ic-Ro for linux-arm-kernel@lists.infradead.org; Mon, 18 Sep 2017 09:50:20 +0000 Received: from CY1PR03CA0030.namprd03.prod.outlook.com (10.174.128.40) by BN6PR03MB2689.namprd03.prod.outlook.com (10.173.144.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Mon, 18 Sep 2017 09:49:56 +0000 Received: from BN1BFFO11FD033.protection.gbl (2a01:111:f400:7c10::1:112) by CY1PR03CA0030.outlook.office365.com (2603:10b6:600::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12 via Frontend Transport; Mon, 18 Sep 2017 09:49:55 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD033.mail.protection.outlook.com (10.58.144.96) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.35.14 via Frontend Transport; Mon, 18 Sep 2017 09:49:55 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v8I9nf00030126; Mon, 18 Sep 2017 02:49:52 -0700 From: Zhiqiang Hou To: , , , , , , , Subject: [PATCHv3 3/3] arm64: dts: ls1088a: add PCIe controller DT nodes Date: Mon, 18 Sep 2017 17:32:23 +0800 Message-ID: <20170918093223.33364-4-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170918093223.33364-1-Zhiqiang.Hou@nxp.com> References: <20170918093223.33364-1-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131502017955711435; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(376002)(346002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(106466001)(6636002)(6666003)(47776003)(2201001)(104016004)(8676002)(2906002)(16586007)(76176999)(97736004)(50986999)(86362001)(2950100002)(8656003)(48376002)(50466002)(316002)(85426001)(5660300001)(189998001)(50226002)(4326008)(68736007)(36756003)(77096006)(5003940100001)(305945005)(81166006)(72206003)(498600001)(81156014)(8936002)(53936002)(356003)(105606002)(1076002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2689; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD033; 1:Tx7LsH42864RIYFi6ekbF6+8gYJd8CSCcXiBcV7w0oB5BeharB8VB5bE2ddOjBnQ0u5aCBg1BgSfbm+diFhEFVqphUwBV6N6ynSP+UU+di3AKzhO0OaKB/v36gmrhp3a MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7a176202-2823-47d3-49cb-08d4fe7a9df6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR03MB2689; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2689; 3:VzG6Q9ybKJTT7epqNrdT20QDVMISWfpd2u8IYqIrkmeKULYjg4/dy/DpJfCNtdwDOkrHaUEnhPTn9oxQLwsTPvDlbGAp9BnjRiYoPsfFI7FAk2r+ucp4c2H9Ym1RUwwfC1Pjb7KQlZf40O82OsVl3IehoTcH0X127jQN9WpifDsTIaFyYjMAg2GT/RvxqMoz6hBw2y2QZMbEYOkDnZM/Z/4HcoQ+tc4sOtVph+LeJep8SiH+IDeojuFWtrD2LLENfB5Fs8+wA7IkXSU5svQue73fP9uPZei++OKgszVA82VTVJY+5VoKr1HHQM0qvoH7zFePMNdScfFwXj0yh6kIDD5uyOW03OogziIxZlWiJzs=; 25:pLh48tptY4HzZ6J5GJ4YLpWzjNKGhnjA0beBsA+m3WsBnNVqMe5+90GCwJFfFUbwWbMb/VxI8BIrOCPO+cm/O6TjOhE8vBejmWdQiCfDf6RQha68cRYZrUgMlVmL+IwHhPzBCzW0zY7SVRvAphLOY/919QQDSocoxKMLoTXM8fDY+3jFqKsKqwijjG2ZfiS2DwwPtJMYNIcDoRg876mP3JNBgF2GFWNrZMwy61xdpdch6TLIt/jDjaOJvuedH4f37e/aVVTOoWoTWb8ynKRNZLwtcmXdP2MUWdXKim0kVeEnYUjjv4+juuB6nAy1XJ26Q1ity2RMP83XKjfX2bom8A== X-MS-TrafficTypeDiagnostic: BN6PR03MB2689: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2689; 31:sdQpqAHl4F9z1iTA1gPxRsBR0iXiK73+vfkGx5btdqHglSuG+v0v0TXbdFUUEVznHfU/7UpiOXAMATk8vWBo/wdvgZq68cA0nZPEalqpOtwsr4kXW6o5QtF6cD6i5MPIYiZuy8x5M6weKoc69A7u5xA95hjvXDzd1+xQd9Kdi1tjqlWLA/85ZvrA+BCqdr4IwAOccryWSL3YkzftkeIzUGU9V4WDN7zinl4iiyUD8pE=; 4:qSkf4y4VgC8LdSKU1oYpYsAXDbl4F9xHGXL3keGH1EYt2K2fggb4IkS6z+1tgG0CQeJGXv2P4l9it0aqajTsmj3cYrNrNZMf1Vz811c93nIAiJMG5RdMIqQlbfoLeKyEZSzEcoPfpc18G/mp1n3k+sTjPwGkeH6LwhfweHlQR3Sul9e5HGSD3bvk5hniwxAjCDVnYUUiVohNDMNPN62GMjwv8sjAVd8pTdEb/dRTPp5F2jY66UoxkvhpfMxYtDoNJhD8GgW4PLrwv1ooAsXFwtHQvPwIJFGoOGuBo6cibp0= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123563025)(20161123561025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123565025)(20161123559100)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB2689; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB2689; X-Forefront-PRVS: 04347F8039 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2689; 23:Qek0VI5nrOUqpAft9Pe1whBf1XHEkm85EdbBhYBoT?= =?us-ascii?Q?a3t0T06Ur8aAcUtzWv3rjnhd7OfM5WV0RzY46XSgc+rWZDObtjJjWVui3v4B?= =?us-ascii?Q?HyguNkoxi16ty2lp2enE1RonYoYge/EZnKZcWpwPg/3MMjQShBwtW4HwIdTK?= =?us-ascii?Q?NxKarDHDi/qqk8lCIf8CBNVg7YKuMu9umeMrXWyIbvPnv+6bJsWYbRBgSuf3?= =?us-ascii?Q?E1aqGJvMc5PrWbvmbibJKMzyKym0pJh/yvzN/0+3WV/OQDRYNjhqGYC6HyW1?= =?us-ascii?Q?YMexkYbsLY4y9hFLGLrylmsrHkNc6OrMFkVemGl9tBjJREfhjvvT6biXzipU?= =?us-ascii?Q?BUtkmirZxfd5qXhyVZUtGQNEqZCmQuEwFgRkrQ6g2XiKCzyRZLgSQsehSJWG?= =?us-ascii?Q?EcN8GJSekJ0xiC7db0fqB4LzpPbheQ6J4SJSLH2fOF2qdtX86MlkPYKBXM2M?= =?us-ascii?Q?Z6atpLNEu4BwX0+4RwBANo/P6y0fR1thCNPZ7qYdV5VWt0ZbaWqVST5tv5WL?= =?us-ascii?Q?Q6kJkq4ryvDhCii4ak+/5wf1UWaWJH0lwikjkYlyzOXCbCEhWO4b7k6OGYCy?= =?us-ascii?Q?NiBIsskvh1eWeHxSQQCeRIx8ngSLanBAvvpLmGwZEPNuNf2MXBj8tq3tzOaF?= =?us-ascii?Q?KrfU+TFAshB74aqeUHUq6Mufw7HER+9kNLTew+QDSySXGTIUP4vwM1csks2N?= =?us-ascii?Q?GA9lRuXP5B+6xl154C20PN6qI4y4M0QeEO1ZVQdXCQj80IOTqixQUnuhTv7C?= =?us-ascii?Q?kMrK3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8PB0olPhEk4+YyjZwXh4l3mj0/eFGIfwx+Gp4rhemYuEUGq0dbmttgV5SnuMPTdpo3mGIGihjclgeuJWBJoUQWAEmkM=; 7:0pl2aNYyY2+UizkCwKo+bkdMs18eVjrtP0zaP1UfKWeT2rq2psmhNVkz8YLGQthZgfKimkzDMvKxn8KAZl22whV2lJuAuqyxGSzTrpAV9GzUWO2i97HVsB1IdzthbH9lyBZ88+Jfb61yM78ph/kww43Vgd3E7VJ/cfFqJAxcHalwp8gWfida583xrTgsVCsNjYbcbry99TGU3whxvQpDTDamB/6yiuTjUI5mr3aP1BQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2017 09:49:55.3839 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2689 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170918_025018_178638_7F43C547 X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hou Zhiqiang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hou Zhiqiang The LS1088a implements 3 PCIe 3.0 controllers. Signed-off-by: Hou Zhiqiang --- V3: - added 'arm64: ' prefix to the subject arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 73 ++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 97fcd8cbd118..d20336072c95 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -443,6 +443,79 @@ interrupts = ; }; }; + + pcie@3400000 { + compatible = "fsl,ls1088a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ + 0x20 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ + interrupt-names = "aer"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + dma-coherent; + num-lanes = <4>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x20 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 0 0 0 109 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic 0 0 0 110 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic 0 0 0 111 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic 0 0 0 112 IRQ_TYPE_LEVEL_HIGH>; + }; + + pcie@3500000 { + compatible = "fsl,ls1088a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ + 0x28 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ + interrupt-names = "aer"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + dma-coherent; + num-lanes = <4>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x28 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 0 0 0 114 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic 0 0 0 115 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic 0 0 0 116 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic 0 0 0 117 IRQ_TYPE_LEVEL_HIGH>; + }; + + pcie@3600000 { + compatible = "fsl,ls1088a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ + 0x30 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ + interrupt-names = "aer"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + dma-coherent; + num-lanes = <8>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x30 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 0 0 0 119 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic 0 0 0 120 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic 0 0 0 121 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic 0 0 0 122 IRQ_TYPE_LEVEL_HIGH>; + }; + }; };