Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751815AbdISJpU (ORCPT ); Tue, 19 Sep 2017 05:45:20 -0400 Received: from mail-cys01nam02on0089.outbound.protection.outlook.com ([104.47.37.89]:52480 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751361AbdISJoo (ORCPT ); Tue, 19 Sep 2017 05:44:44 -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 4/5] arm64: dts: ls1012a: Add PCIe controller DT node Date: Tue, 19 Sep 2017 17:26:57 +0800 Message-ID: <20170919092658.22482-5-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: 131502878820528731;(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)(376002)(39380400002)(346002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(97736004)(2950100002)(4326008)(50466002)(81166006)(53936002)(72206003)(1076002)(498600001)(356003)(8936002)(16586007)(105606002)(50986999)(48376002)(305945005)(85426001)(50226002)(8656003)(2201001)(2906002)(86362001)(5003940100001)(81156014)(106466001)(77096006)(316002)(104016004)(76176999)(6636002)(5660300001)(7416002)(6666003)(47776003)(189998001)(36756003)(8676002)(110136005)(68736007)(921003)(1121003)(2101003)(83996005);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR03MB2360;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11OLC005;1:wyQLkhZol9s1rTkjhhbbDfaq86XjERECAhEjREhmgB8nksrdivDRlIX7+T5pXjNOiO6P6hJN5sxvnClt8V76OHTgimR++VgmxALopAroM3Q+p7o0cTT1keRWT98ppqOa MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d024ed63-4463-473f-f25b-08d4ff430d80 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:CO2PR03MB2360; X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2360;3:TMAW4QOl/jhQDb4k/cpZ03bhiuNhBSsV0KKQ804D0vPQZFC1bDQlVmE/Z1iBunve5NJ02vFp4uhrm02fu4Cv7WFBrcfcmFem5veBa6yQpDQLlAkG7YHV8V8GjBM1lyMA4wKzWEH7hEqlS5B892irKDnrifvHJKc60W+aPMAd75fqv/ko7/Y4ggRgrMz2XL/MyHKwItlv4WoyzVpy4otrmZK0A3zGeSHCpUJlOQi/l39Ol6FbY0LLY9eCHlum9ajnkMcax4zo0A5fbkVOHAUpzwhDpQS/0/S60L0Ou1eqrinzhT+I7l1qmWqcE/4TZZCCMgSIhfK54OlzP3FjdRgKEa1LsIHNJxrgQ/bOqXO9EHI=;25:hS7US04TRSkObN0kU72z8/uSJKAGIQfVvgK36TlU95Qo/4YByDueiW0Hew78RM5uWZJDpQAFEWa9BQNj5iyRDMfKboqiqorB4l/+B2vrBUDDHi4aZaj2ok7j7D6iIydePeTun4fmBGr4tdmedXJSs3tE52ouZOBvBnr9XCGjnwaFIRB4xe3g/xGAMnDrFE7Ec9G3FO8oKMEgULw800T2Gx3O3JctfT34IIFOPmyHo8nJT0GBMsEXOmEvScVSwV/aX58I7D8T2lHccqlBbYi2sJfLVWNFCdG12IVhJtNlNzGTJhlc3s+3w3v4zvEZZkfTJdLpMJTufvy5XVElHzZnxA== X-MS-TrafficTypeDiagnostic: CO2PR03MB2360: X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2360;31:6DKyaNC8bSHEPEv7sBHrW4irLv28LOcOXsxNNpAvThYLxH+AZctbjQH30GOTSdErxT4IgC4OkDBpsYiDNjxAZM/jAu0yK56a0aCChFMaCRtbwRlC9FsxX+FwF9miOWpCu34+a2aG9d0+7csskwXQteKpol63ik/c56/RYDGpmQmxgq0JkMt1S6a4/lrK1Sl8BVDGDpUwLfXolHUVJp7ReR1/zOREcFba5kEbvva0r/s=;4:Bcc2TZL8FAC2LOv/VST2ls2icli955jITfxfjLAsb3Pukmn/b24Gm/DkTAv6LhRbGTKTlv0LMh7dlsGRputGMezim29KCp1WvvPeksQ8GNkT1U1hBQcsDXpwXnOTHWM/jS8lX5/HACi2YJ6IOeKCayhiCrvlR1KFKxNEwnet7cKYCzd6ghJuw+FV7Pzulr4rfA9TdT9ok1fvJxPB+nIg4KdO0XzUcisBgCKdO88CtpMvKvNAcJmw1LR45GYZYeS1pSYVyD3vXREHDUBhm6PQXp7N3ZZyWHtCg39KEVrDmyk= 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)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123565025)(20161123559100)(20161123556025)(20161123561025)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CO2PR03MB2360;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CO2PR03MB2360; X-Forefront-PRVS: 04359FAD81 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR03MB2360;23:1WoYwnFXU/zgLMXX7NYjiOall9DawMMBxPL86wtlp?= =?us-ascii?Q?XB1SespQ5DhYTvRp7USOHtieNGBa67oqI7P1ns8Zx8rZaX/Yn525/KTDo7/k?= =?us-ascii?Q?RRZBoorx3Jmx8k5AEHBOzbPt+2Lc31X2Dx6e+LaZalSBzDDYRD2O8ZzfSZ5I?= =?us-ascii?Q?Yfn86j1Sp62VE9oeO83G1jmy1F1Un9BKe8sBWtLCW/dNB/p3r2qpY0jwjaRg?= =?us-ascii?Q?/hzWnXZj6r1npFIxgldKaHnFomUuB0d4BGj5MXpFCPLOsJVkAN6OwMRodH5z?= =?us-ascii?Q?psOZOmrqs6DAKzSQdkmsqgDBwY2jXGq9J9IrtdrvzAKJnxg4NEBEFvbbfXOh?= =?us-ascii?Q?xY2bLOKGCjIPjkobsNpzPL8OTBZTQ9tvElspfRDMU488EdQHOPZr4B1h2D5U?= =?us-ascii?Q?nCmc37ptnRYCh47H1J/vD9NQsrYAAsrMf0D39zhn8JBh3DWd0qKqH3S/Nd2w?= =?us-ascii?Q?u0UQFdkakG44rss5OZLpxvwF0HpKlRsHiiNV1VCZG238Z9EmtNQQ3QGbg5BM?= =?us-ascii?Q?h5v0L+Ja6XdLZnDtk8RVBh18iBfJ1xUKGDXrkwXMGcAoFctAEOJXuM2NL6Ja?= =?us-ascii?Q?PWM+cFn9XBsLwB14pcxMWvqW5rbC9TKJXKa8tw3iG/97+M5vA5flYtptxz27?= =?us-ascii?Q?LNZs4RRQ3tYgyUlFCLWi2cN5aT1MxfyjdvsIhDWhJoGibJ8QZPeycZ5DKGaF?= =?us-ascii?Q?StJPStRSqo02kxiG0ysa8h/QAXj6nt0qyqLlmrIU+gB1VpCuWHMA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g4k/do6kePzftXSTQg6VLOb63FwPqiR+aZqk+l4+4PwtNDBYy/awk3xxf76v4xQDR6olHnySUnZRayTuvroPMVzqPU5wI5SDpqNNlg==;24:rlJIXMVt5GtiLeG+hLh0C4fnX1JkpcMTD5W03i5Eae5fgr+/TxSWJ4mc5Rp+Bn0wJ+xgxSpb7gVd3sbqTkkotO42HNK8r55vR3VCJeZ1oZ0=;7:QnsD5sQ/MbfV/x3NJgcY1MGTraFvmBRGmprq5/bqwd3b4XrLj4jDX9ZpgDdaRjthiG7McyosSPl2JmVE8DzPL1M90kOWh043CJSb+U+Zk+kd9WzHEGQ1v4Hkeew09zF40U34RmLHTdgHdbhq/z1N1bzXWkli/DM0GBs1iD4qIVCgyAjL8Ya2d8aYoZ57BOWNFceknz1floEwnp4opjJ08kLVpiGLMT2QhaqJyXD98gw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2017 09:44:41.8812 (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: CO2PR03MB2360 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1637 Lines: 45 From: Hou Zhiqiang Add PCIe controller node for ls1012a platform. Signed-off-by: Hou Zhiqiang --- arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index a7698ac7264b..140570d45ff3 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -478,5 +478,29 @@ msi-controller; interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>; }; + + pcie@3400000 { + compatible = "fsl,ls1012a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ + 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = <0 118 0x4>, /* controller interrupt */ + <0 117 0x4>; /* PME interrupt */ + interrupt-names = "aer", "pme"; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + 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 = <&msi>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic 0 110 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic 0 111 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; + }; }; }; -- 2.14.1