Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751802AbdISJox (ORCPT ); Tue, 19 Sep 2017 05:44:53 -0400 Received: from mail-cys01nam02on0053.outbound.protection.outlook.com ([104.47.37.53]:36844 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751663AbdISJot (ORCPT ); Tue, 19 Sep 2017 05:44:49 -0400 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; From: Zhiqiang Hou To: , , , , , , , , , , , , CC: Hou Zhiqiang Subject: [PATCH 5/5] arm64: dts: ls1046a: add PCIe controller DT nodes Date: Tue, 19 Sep 2017 17:26:58 +0800 Message-ID: <20170919092658.22482-6-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170919092658.22482-1-Zhiqiang.Hou@nxp.com> References: <20170919092658.22482-1-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131502878862807775;(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)(7966004)(346002)(39860400002)(376002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(5660300001)(16586007)(106466001)(77096006)(2201001)(104016004)(5003940100001)(7416002)(85426001)(356003)(2906002)(2950100002)(305945005)(6666003)(6636002)(47776003)(189998001)(81156014)(316002)(8676002)(68736007)(50226002)(97736004)(81166006)(8936002)(76176999)(50986999)(498600001)(4326008)(36756003)(72206003)(1076002)(575784001)(86362001)(53936002)(48376002)(50466002)(110136005)(8656003)(105606002)(921003)(83996005)(2101003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR03MB2354;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD036;1:B5ltYABwSOiq9RZYcuZ604AGydQ5C7/8D2pU1ULQ8gnzdrnAeq9XH2IGiQ/j77NKy8XjlTJELvWnw1MlMbhzknryVVg4bMB0iwBu2a/4JoN/QLIKFPv5AZoW9L3Z/wt4 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2ca007f0-45f0-42ff-b17d-08d4ff431003 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:BN3PR03MB2354; X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB2354;3:XwLD+a77imn3TT3afu/s1csJDwHdAcvV5OyTPtPiVM5uQVT27B+ct1w7X6T/Nc/DjYSbQSoIXHJNi81w6rB0hhnuHyChHDbpdr7FnpGOu8CY3Xv6s7/miuiNYqsONuZKoLdzzRRyPWgeIQaKIWm9cair9otsPm4htTxKvLp9WskAj9dpXSNZfR+Hof/2+HrxHheEpOPFjmbumYCgBeD+aDrdLtYTHGkjxtsUVPkxK7eaPJHGQ5DiQWG13VilmKutjNMk9FsxdGV8i7zqH6KD+W65RLRI3K/zw1DVSSW0m9zAXzBZbOIDwdC4ew3o4ZVRocKVzDsKFa4ejriN3nh08oFHtGhTWMrvZzFZEGRc+wo=;25:NpjSIJejCXFUUZyMhmmxR8zYXAH1gKQr5c0+mrIPgdCPawrB0C070lFB5tYSe44dHoFJ5UKo/Dem6DvfqKw4xu8NDF+UfLYEBfoHw+ZhccxJeyFgHMPuC5jMz2tlDTGoCnBhk3v9ZthejYN33q+wwDjgA0hYAxefPaZdeudeqtgTRC7nPeLvsKDAWYOv6Z8qHClZ2Pt6CGBL6pEIs5mZvvMsQiZsXEvjjXiSNwuSndiua/AQ3s1e1PUl2McRduDjR1BgyBm171bMCY2kjxPbAZPn03nN3Fxs41vWvM/A/a31plHQZOFA5xBdopFCgxafJkuBknpgy3J7UhlvaWZKcQ== X-MS-TrafficTypeDiagnostic: BN3PR03MB2354: X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB2354;31:3mvjInmzvLEzIi+bUpQHxSH4BH9cuA5j5KNEQoC+5CbMXWH9hpSwtGq8l6uecDVEJO2ZTQDl6yT26najAwHj6T1/5yaRFRrPEKHmtDzqLnwcG/lndh8bXqcO6Na7Ns6bgKjYXVbAZCYPVo3P+nFE6cfq89hIuDOl54swD+3U1P6Nh1KdcbDMxS6Z6AbmetdWX9taSxEpsmSYKZnEhlcwVn1jdJcCRKRlnHzU2YOhSDU=;4:qrBbLblDKZi2ZZMft5RcXutxTH8oUpXmnniQPT/OW9pj2uLvR7mfbW5VzujEQjJ2lDz0p6geLH3mqz0p/7HFMgbkCngIsuk2UDfcgIsSbnTOEKJPdkyCwmp3ASa9LykY4nMVdBUAnBic9cu5QaohKITz0SJVTczubV6NBbLT1Vih/avP9gTA1xgzSBAmfcRVtEqM7u126rqNiAzQqn+g4zy8zSxiacsSqHM05UlEsqjdu0apsassXweVRJuxJoUaqIitJYk/DcNcpLljBjyYWvMMUtoHe/JINHnzLS2Z1RM= 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)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123556025)(20161123559100)(20161123563025)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN3PR03MB2354;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN3PR03MB2354; X-Forefront-PRVS: 04359FAD81 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR03MB2354;23:xMd1pilxXDOnfWrx1nxCP1NPlMVmlX8FASt0EXxoS?= =?us-ascii?Q?kEVe1KZURgAx3HVlLhzbqjww/3+5BQGQthOyGFfWN499EMgGrPlZ6t0JLNTi?= =?us-ascii?Q?BAb0zWsEWqbTJKKj1Ad8A4mftykSx+jUpMI7niQ2A2HBt6jNz7kA1i/kiCav?= =?us-ascii?Q?s0jDiYGoTL4PM/XTBhINDY5fU/PtOLMZL4R91PNCUJqksVtThhBsbUaj/p9R?= =?us-ascii?Q?kjvA36Rh66cwIZELXacvqCeLcpnrtYu+d4gWv0I4Z5XP1wSsyLrzVQUXGsAg?= =?us-ascii?Q?u2sjg4PPIy8mGAK3rbg2mQ09W7XyKhAcKktV74DJC53FNDCl/ox8F/3tgTjP?= =?us-ascii?Q?XakO8TrVk8MUb0e+nyK+XYEAJyYyrdul4SuNfpZK+jjMv37RWfRCsP47INqL?= =?us-ascii?Q?YoR8rBIZkA/DEfYTv5fcjEf2tK4plahWQVfo4ynwB4YxshQ8F+zOjiCIUgEa?= =?us-ascii?Q?vw7jM4RPNzI9t166qqwO4vT4fENhZrjkjjAdcMzgmUC+WdxS3XJ5cKs1xN7u?= =?us-ascii?Q?4PJDNQU4lvEpLW56E4WUWqazjcVyHxcavDu1r5gEoRjVEKLCnM+ZhxoR6DLo?= =?us-ascii?Q?9PGGtw/bcHGa3C8kFJWUNt7k730vyfhGKBv0qTLoZoR8FB6OSk3E+T2Z4aHv?= =?us-ascii?Q?XsXPKD2VvTC8kSswmXYJMf1cvrxAX9VPuiIrKdsgiAUIAQJJs/NWXZbW8Wt+?= =?us-ascii?Q?WU1ExkERV3ZrPVEWXro/ag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6QDiZPETTmDBb/3n28uO2/TMwavR4TBfTjrE0+t9AifowZu4YLKUv949+g==;5:QhCO/q1GxXEo12O65Z0pdy9ph6wt8DhFTBxc0GfLq5x4jj95TywrrqDda/wMhSoW1GkwnBRRFowcPnkGHW/wEECRCQMGueTw6Jks8NQORhwtJ/dDF9qbttSmzSIFjVwu7fDrZe823XiL50iC9hZH2A==;24:I8kQQbpaQzL5uefDHVYVIAJG6khefe2+GwZPnF2N9nh2vj+26A+0CPwG3Y0XsOESHQUS+wiUZeI5VzHTTo8u9JCNN8PCSWly+NzVOgIQRUk=;7:eLFUr0/f+IzfhYPg5Iblo7rvOWbkjlFtoDxvNr+lTa/FiqFWXFIHZfrMklU06uV7q0xQw8Uq1bYpy2LFopVKND7K2wIm6Qk/vz/2Sc6NfSYxjn/dmmS1pI3AsO/kAGRtq0M3WGEdWaIKISugovDOR9T+kFzWAN+opPgVhLg2cFoQAagXNGHho2xQMdDRJT8nYdo4QtxX+bRX9wTHUqVByys42YhFt3D6onhA+LPE2Wg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2017 09:44:46.0935 (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: BN3PR03MB2354 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3969 Lines: 97 From: Hou Zhiqiang LS1046a implements 3 PCIe 3.0 controllers. Signed-off-by: Hou Zhiqiang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 75 ++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index c8ff0baddf1d..eac8c32f64b0 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -661,6 +661,81 @@ ; }; + pcie@3400000 { + compatible = "fsl,ls1046a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ + 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = , /* controller interrupt */ + ; /* PME interrupt */ + interrupt-names = "aer", "pme"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + dma-coherent; + num-lanes = <4>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ + msi-parent = <&msi1>, <&msi2>, <&msi3>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; + }; + + pcie@3500000 { + compatible = "fsl,ls1046a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ + 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = , /* controller interrupt */ + ; /* PME interrupt */ + interrupt-names = "aer", "pme"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + dma-coherent; + num-lanes = <2>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ + msi-parent = <&msi2>, <&msi3>, <&msi1>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; + }; + + pcie@3600000 { + compatible = "fsl,ls1046a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ + 0x50 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = , /* controller interrupt */ + ; /* PME interrupt */ + interrupt-names = "aer", "pme"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + dma-coherent; + num-lanes = <2>; + bus-range = <0x0 0xff>; + ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */ + 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ + msi-parent = <&msi3>, <&msi1>, <&msi2>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; + }; + }; reserved-memory { -- 2.14.1