From patchwork Tue Sep 19 09:26:57 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: 9958573 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 39D696038F for ; Tue, 19 Sep 2017 09:55:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47A9128979 for ; Tue, 19 Sep 2017 09:55:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 396C328994; Tue, 19 Sep 2017 09:55:10 +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 A4A5428979 for ; Tue, 19 Sep 2017 09:55:09 +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=+Yj/ixiNGhmyw0LgMa66wnGC+5wiGHxYBnClROWSB5I=; b=sfkVnam9y9ijJx h1k3wQ2ze1vA2ObeBQlsM0X4IML4HxkUPyx4rGYKDHr03kp7NvAUn3tD2BMMHj/XBUeAmrwAjtEyg JN1M8TbEMZBZ/rnInfkce7/pzRrhohmkFhNFhOHCMQEc74fZk0iMUAla1swIftoGjL4NEcS8+/Wu6 RCvBfUBhQenfzhQ8iEq6mbjf/22OGwNuPos1ZVxjCqyTNWsSm7xBdKR8lFSqP5WQfnXo7ZP0X2hsm P3ZjtqVu4YGL7BrxkZjAPU1Ei86Yed7dpVOz9izXnjH8suDptQ7U+/VrTeeN+gZBPV79FEuiyko/P +lmpUCYEeffzEapMChSg==; 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 1duFF0-00012m-FQ; Tue, 19 Sep 2017 09:54:54 +0000 Received: from mail-cys01nam02on0623.outbound.protection.outlook.com ([2a01:111:f400:fe45::623] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1duF5U-0002oT-Iq for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2017 09:45:28 +0000 Received: from BN6PR03CA0071.namprd03.prod.outlook.com (10.173.137.33) by CO2PR03MB2360.namprd03.prod.outlook.com (10.166.93.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Tue, 19 Sep 2017 09:44:42 +0000 Received: from BL2FFO11OLC005.protection.gbl (2a01:111:f400:7c09::194) by BN6PR03CA0071.outlook.office365.com (2603:10b6:404:4c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11 via Frontend Transport; Tue, 19 Sep 2017 09:44:41 +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 BL2FFO11OLC005.mail.protection.outlook.com (10.173.160.91) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.35.14 via Frontend Transport; Tue, 19 Sep 2017 09:44:41 +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 v8J9iINR014190; Tue, 19 Sep 2017 02:44:37 -0700 From: Zhiqiang Hou To: , , , , , , , , , , , , 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 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+gB1VpCuWHM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pt0g4k/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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170919_024505_319477_5E3CFFF8 X-CRM114-Status: GOOD ( 12.04 ) 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 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>; + }; }; };