From patchwork Tue Feb 2 08:30:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "M.h. Lian" X-Patchwork-Id: 8187461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 058759F1C1 for ; Tue, 2 Feb 2016 08:31:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8306F2026C for ; Tue, 2 Feb 2016 08:31:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A000E20268 for ; Tue, 2 Feb 2016 08:31:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQWL1-0006hu-In; Tue, 02 Feb 2016 08:29:27 +0000 Received: from mail-by2on0062.outbound.protection.outlook.com ([207.46.100.62] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQWKx-0006fR-GH for linux-arm-kernel@lists.infradead.org; Tue, 02 Feb 2016 08:29:25 +0000 Received: from DM2PR03CA0003.namprd03.prod.outlook.com (10.141.96.13) by SN1PR0301MB2063.namprd03.prod.outlook.com (10.163.227.150) with Microsoft SMTP Server (TLS) id 15.1.396.15; Tue, 2 Feb 2016 08:29:01 +0000 Received: from BY2FFO11OLC013.protection.gbl (2a01:111:f400:7c0c::110) by DM2PR03CA0003.outlook.office365.com (2a01:111:e400:2428::13) with Microsoft SMTP Server (TLS) id 15.1.396.15 via Frontend Transport; Tue, 2 Feb 2016 08:29:01 +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=none 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 BY2FFO11OLC013.mail.protection.outlook.com (10.1.15.25) with Microsoft SMTP Server (TLS) id 15.1.409.7 via Frontend Transport; Tue, 2 Feb 2016 08:29:01 +0000 Received: from lmh.ap.freescale.net (lmh.ap.freescale.net [10.193.20.20]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u128Suc8025218; Tue, 2 Feb 2016 01:28:57 -0700 From: Minghuan Lian To: Subject: [PATCH 1/4] ARM: dts: ls1021a: add PCIe dts node Date: Tue, 2 Feb 2016 16:30:07 +0800 Message-ID: <1454401807-28751-1-git-send-email-Minghuan.Lian@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 130988753413475240; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC013; 1:JiKl6pzgpgao6K+idX90QYNPHvT9mNyJs62sn/GT8902raI/w1cfq4TDHA/gZ8e6w5pU8kBxFdDtyD2sKa+c1m6k9x3qyisrh0hKHhY9kKaG4hwnm4wEV3bo+2SyzxVBM9vW1Vw28686NUWnXR5GJg6DVri0LjaplvbTCgeRj/wH9RiSyr4mstEomQR/QykJxK7SKe2hJe+J0hezQdK+hMJYwAgtIdtPbBOcosmrjlyuFbfPi6SweRYHAcsMnOxMu2FcTxR9H9/oYAcIXEdEv1Qiyn7jz0HhUhw9U3Nl7zRDo5EnipDhf8uqASBfUVrA5qoha0f7EVD+fDnBwO5feCgb+UPdp75zhVorIyid//iNzTHS+oNV3szQ9ldB4xEV5twiJrKMsidP8L61LqAhlMzN3RjgvpCsJxKfhkjnHeKtlBRtEEdOmAGu/jMZETN9fJ9CJfKPjW5Vy9vFZR4norajY+2ClmNrQgJf8HSTWn/JvEIUSLc8YAlIkAWqkl0E2L3vWgL7wguBMK3rTfOfneu1UcKjzZDQxoXbSF/Oq1ovZzn5WumM6s6dQxdcsIefpo5jSy5B8y7ixGRcSDj4MQ== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(2351001)(92566002)(106466001)(104016004)(4326007)(86362001)(5008740100001)(77096005)(1220700001)(110136002)(5001960100002)(586003)(47776003)(48376002)(50226001)(105606002)(1096002)(229853001)(189998001)(5003940100001)(50986999)(11100500001)(87936001)(6806005)(19580395003)(2906002)(36756003)(50466002)(85426001)(19580405001)(3470700001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0301MB2063; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: e5853152-77d2-491c-3e10-08d32baae727 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2063; 2:pjyhYweEMde784BsASZomj60FHm14vGMTvz0HPKY9ns7SJOvKfQBh3GCLqYWRdiVD4y1wmhm5zKExWWGhcCVEjLJ1sRhBHo1NcGuHsdsAO7N0BnCSeStmsalWyBUXJmZbAh7ONiwj/K2xKaIQuVVdShQ5H9n3TEWfRelG/gCFRnOy1pUkTQbB0GN40LVd3MQ; 3:zGfCp/ToaqFwUQJiAhi139BK2o+UzfQG2nyTZgGp0Ij0t+8ALLqTg5rmmao2ml0YKJHmFnquh0/JfkbHe8vOR4gf6oY7FpnLy9+UWJwwS6BJqPXGJhYPWJ8rzVWWpIvwj8M8+/7QH2iY6/NlTdofO9qZTeRDPOiu8lEDo/BGzsYDBITejPywvl4V1eEyDaP/fX7LRcDjxQ7VPzf9nQ2VDkIR/E2D7ymU/B9R2NSaMYg=; 25:tdG42SqDUo9B5wR96MorbyfN8WCutHY7glNHg5keY/kFM86/DPPP2gK9gOAiCOEknvovxTZqPJ08Su0X6iU+CCMDhxdag5M+rdY1WFmKYwB3UxAxiofnsahsyxhDia8v/Fa1HnTC+n26Z2QU0vNVdWH+IYsp98ROM7IyUpYOJSwemzXAew6TLZOYO5DCIsHj/ib3wnk7r7Cfw/ExN+ciGVPEnjmjQM+OUx/sbxS6sYxBuInOv5jBs0Eo0+JzLFZ8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB2063; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(5005006)(13024025)(13018025)(13015025)(8121501046)(13017025)(10201501046)(3002001); SRVR:SN1PR0301MB2063; BCL:0; PCL:0; RULEID:(400006); SRVR:SN1PR0301MB2063; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2063; 4:FwPkTCD6816TjIUvAlJJ4wLVqGoGX3EtPl7o3KSDpCV4vBW2Z6RkUw+kFulNbvYWcVN+UiX3eMdEqFGtq11SiuknnAy+Cx11GTu4EdJY4HqLPTERvPMMUDECK1uetWfwdfg4y334/3JLRJUCKp/jdw4le+y6xnqH8McPCETFrB+XOPA9SAVSR5aCNqBU3amDL2nxA8F64q+Lx26FfVkR424JI57DO+atBYGLJvbOODh1WulGCpZGrwc8vSWyUUj/e/hteYYbinh7NTpKran8DYR2k7sRrCfLdhxdElLB675nyTZ4l2oTiRoJvErpigcDuAZwqCYx8w7phEkqUzbja0lD8L2A2kMI/MTIHbd1KD8PfyY8gP63C3hujnpG1z2VOybUeWnKZLiuRm3+TD4HgSMDk/DfIrHcAHuY55ZPT2AYTf3/td97eXm6CxjC9geWS36OVUuRuncMwwGflaas+dpkWLUEPlIv/gX77RXk5g0U+zjFJtnyZCAlY2GqROES X-Forefront-PRVS: 084080FC15 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB2063; 23:3QU5HexyxqK/OfCg33zmOrnReTGCMVc/jgDwpSI?= =?us-ascii?Q?h95VrL6lVNyRNADqHWPRef1mrbQyLOJsRQMkfz/1z2tsYNtyARgcWjcngpmM?= =?us-ascii?Q?oOAEUSWLbelxBW7DURQIynBIyqN18h3ybSJIdBg/HKPO4qg2VfAys5M9VVzs?= =?us-ascii?Q?XnFFhWsx4T5VrJxW7hbc4t+JxU+fepPNE2zeHHyURmU+LWt9XASVQu2wfdm0?= =?us-ascii?Q?LTKliBJrRf1B9cnrKt19hy9BK8ceRFLb75BjfqNh9/71yavSTpeRjr8zD3qw?= =?us-ascii?Q?5TYvE8Pl+vaAqu+Y6/cN2PJq28urBxhTE38G0MmROcfm/x6HFY3RXrrtd9HH?= =?us-ascii?Q?wGyhlu44J157Bk84CY/6bRtrAIf4EwPmHvI06R4Fzg7JNb/S46KzOGykn0d+?= =?us-ascii?Q?UM8wA8k9Rl14QhsJQohb8JcAdwGpfid9y30I2YvP7S6ylDRmji+qxV/g2DVl?= =?us-ascii?Q?KfsLVp7HpuuSs254HWwDJBCT+ZCoJYrNs5sx/q26OOFPKFZ0qpfPoHJk8StW?= =?us-ascii?Q?DrQT1s8gFHxEztgJYZz9eW70dUlxVkK/+CBhTWQM6VYCQlxRBBRloWNK7OEZ?= =?us-ascii?Q?sjakXKMGZDQcZpasVo3NZOqAZgrvdNtFt8r5cyjKljm4lLEcXJTk/NLs2Ko9?= =?us-ascii?Q?z9c8yt/NQrku0lB1/k+H7Nj8Z+mOIBqQQgTKopIetRjKWLL5Q1Yyyt64HafR?= =?us-ascii?Q?bGlHpqGuYwQKsJR2CmA4oOfIC2imaGXkIcFtffFzSatmqla2gd7UM+mMJwrX?= =?us-ascii?Q?DiTs8GWKwtlprjwOYpzxWMtw6NwazuaMCz12P84TkyB/aZaxRSpq2kkZg2Uf?= =?us-ascii?Q?T+0uhmuIZEHu1/WjL1F7u9HT5Nuk5GufkqcF9VInEcUM7fLbCfq7sxF4DJCH?= =?us-ascii?Q?VdOSkKk+kldRLyuqPARMkDLC3lSgkA5NYOkgv5q0dkte1rZM18wmTJ5fE9h3?= =?us-ascii?Q?5aNMAZj5ffQ1mSEhCDbOEoRpGoCqripaxrSaulsJu2Sfxt3vQrNBBRJ4uxZQ?= =?us-ascii?Q?x38zem7sR8MYfBkEqTXWaEbA3uOQhhunzcV2bjGskyqNIJg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2063; 5:d97xMxVsUAOUJnUCnw+ZxhUKwew5YuDqY3zeYfbUHCTfWvzgjillugtPT28J4PCOxb8xFCUm0jOU2YC9kfi01NA2MRcGfE53e97USTstpxALOyN1y2UwLbVWXjsPFETJrL22BtAze75coQWUqa5MPMFc055mppdGdY5gemsE2gw=; 24:GoZM1014tlBKjE0mqBcD9EPVIsXQcT/RTsEiGfgUuftYpPs/WOIovUi0kSXCV55jN+CW2VgtP2VvDD0qCVXrIV2Zsn1jLZvaV5sjy61IHXQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2016 08:29:01.0043 (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: SN1PR0301MB2063 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160202_002923_600751_425A87E6 X-CRM114-Status: GOOD ( 11.90 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roy Zang , Arnd Bergmann , Stuart Yoder , Yang-Leo Li , Minghuan Lian , linux-arm-kernel@lists.infradead.org, Bjorn Helgaas , Mingkai Hu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP LS1021a contains two PCIe controllers. The patch adds their node to dts file. Signed-off-by: Minghuan Lian --- arch/arm/boot/dts/ls1021a.dtsi | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 2c84ca2..274d647 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -560,5 +560,49 @@ dr_mode = "host"; snps,quirk-frame-length-adjustment = <0x20>; }; + + pcie@3400000 { + compatible = "fsl,ls1021a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */ + 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = ; /* controller interrupt */ + fsl,pcie-scfg = <&scfg 0>; + #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 */ + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; + }; + + pcie@3500000 { + compatible = "fsl,ls1021a-pcie", "snps,dw-pcie"; + reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */ + 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + interrupts = ; + fsl,pcie-scfg = <&scfg 1>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + num-lanes = <4>; + 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 */ + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0000 0 0 1 &gic GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 2 &gic GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 3 &gic GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, + <0000 0 0 4 &gic GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; + }; }; };