Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753677AbcDFLAn (ORCPT ); Wed, 6 Apr 2016 07:00:43 -0400 Received: from mail-bn1on0081.outbound.protection.outlook.com ([157.56.110.81]:27262 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751019AbcDFLAm (ORCPT ); Wed, 6 Apr 2016 07:00:42 -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=none action=none header.from=nxp.com; From: Minghuan Lian To: , , CC: Shawn Guo , Marc Zyngier , "Rob Herring" , Mingkai Hu , Stuart Yoder , Yang-Leo Li , Minghuan Lian Subject: [PATCH] ARM: dts: ls1021a: add SCFG MSI dts node Date: Wed, 6 Apr 2016 19:02:07 +0800 Message-ID: <1459940527-26437-1-git-send-email-Minghuan.Lian@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131044140392318202;(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)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(586003)(5008740100001)(6806005)(11100500001)(1096002)(1220700001)(104016004)(19580405001)(85426001)(2201001)(48376002)(50466002)(87936001)(19580395003)(86362001)(2906002)(189998001)(81166005)(4326007)(575784001)(106466001)(50986999)(229853001)(50226001)(47776003)(105606002)(5003940100001)(5001770100001)(77096005)(92566002)(36756003)(7059030)(2101003)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR0301MB0708;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC008;1:IpCerLWS/Vk0UAQo15qQeyZtKQADO2nFvHC4SFk3ojXSsv9rN7EmV4T2GKaGn7xqkRUSseK/DUGeGPVrKqB+M+sHHHQtl/cz+1TCy+ZTdFD3Xzp9bc6j3ZILnLdzNKMCCUESH9bs0SZu5H0cAIRMLdUa7iiM2tRgNP3Km6ZRfxmlb4FRbIroJHq3msGE4AXvWnz6oMiMXwzkscFDAYQvPwqj9ETbo/QoD03zeE3EYKDRXnC0CPpd5iiuube35SfP8+R10XZo6tlcpiqcvepKQpO8fu4E2JP3sceQrWWr1SbZqF7ek/D4nVScjJSVkKjza2IYM22POoTym8Kg7CFVGxZJbG/mQFMNm85wIOoUDvzpr18iHyYpMpKSLcjyYq9fYEvBtR3ZXU/ilK8kC6/+Sylg9neyRvokYxp35R3rsWp9asjrqYOd4SwNYNpj4920Yk/gR/EjFBHEEwzCS0fFUasB2yiU3LXNMn/vHGTuTeeOAYdznyjndZz/ZAthQzDHWdfvXCYzpTM06vZybqaIFsGPVw4STDKsFY/hfbeiQOBQ7B0Q7r4Ya+Qf+oNlasS7SFiAJFh5l5OSuTkH9jHk4d2//ig/qt5iJeCs6ubroQcKfLFSCxmbvpGbhcTq92foXcLxeFilqjOtYC8d/oR0mRJXxzT+abjMQNqGHKPxxA2dIoBoRXo5J53VFDYss5I1IJAM0MEvKaldjeYoXvp5wg== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 9a3bf1ee-2789-42d1-a39d-08d35e0ab06f X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0708;2:UrjcUqMJ1wONjYwlC+mqD4806ACnHp/m9C1iIdVR8chwze6lhEgCtgx0ttJvipwo3j8moiNI2keaKY3x14ZmQOvzh9a7p46vmeZXjz9oVkYzvsC05/OiC+1uFXRiQEFfovUpOIlgHGhQT36VtlGAUC6r3DAvuTOmnVa7COm+Y3epRwvkIG4RAePV4p2cFPAG;3:WZWjCFaAMxnimUfZxIou8G09hrOylt1rTiuLY7clpvFloBLs+F0KpnjLXTqoudD56edZoLKZw2ZDogwgNp9iTm82PLTFOPP8REqiG+VhJo80EAmbaawbmJvxYbK47UJYZLuZQSTneTJ7Ddg/veQQIthadjLeE8KpcfVvPR9vHUyYHj3+GI8XS8CrcSnfOqUWCKN7EXclxbSrc51kipF4iZ//sV3uGr/R02HhA6yxH1A=;25:4utnEFmlXsnbQ/h6rnCIXZLQNCRr03eR8Ef3rSMdVSgOGjzgv+eOylZmqgtxfW3adtXhiJOgp+INancPuTKPBO9TqaPQUGU3a7VYs0Z9OhovD1HhQWB+FI+h8sdyS8cXBnvAC2+7m0boDW6LFxuw2wHP27KGMjjJ4XjbD+s3ag2auQ29F/kXKulC4d5r1q3aGzzqPiQ4Fl3l6UqI5KBjgrbS8cWVi4SssryGwBpRgWHgW44KvoHMn6dGW1Qio5lIad3okmw+VqVEpVX4+i+OWiutTpQ0GsBv9J5D47prUXeFSVYtNnw+50z89YijS/69+Ub+1YbJOZVZC6sBQ37vjw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0708; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(13015025)(13023025)(13024025)(13018025)(8121501046)(13017025)(3002001)(10201501046)(6055026);SRVR:BN1PR0301MB0708;BCL:0;PCL:0;RULEID:(400006);SRVR:BN1PR0301MB0708; X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0708;4:dGgNuNtn6MgrjHy+FiOc5mTJC5bAEiC6kCqZ8B+f77LnffwO8oFq+QT8TYgw/nx7ofHXPs5XVjpmgtiLXjsycxTlD4TpdqAeiSi9rXQBC/Poz35tBizdpvRZunI4Mbll3C+PmgKfhtUfDzzJgo46JQeXP2Z9RrGHX77kZ8RKKtAb5HsrtPsnWQJB3MC50RABpClmx9ZYFYNSdzZvUXr5W74Dop9Gh+6zTtmJHpNAC2M2bdlgwMm/l8Kg/AoG0llw7YdUfee7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TGPMBd?= =?us-ascii?Q?UBOAddcwmfMU8jzP0taFhsJj05/lYzQpakh3U8azJFYqw6g7JTmwQrsON9Oc?= =?us-ascii?Q?d0vYIcvYfXuZHickU29sHelm58dfpuF9+3+BOinOzR2jyVIVGcdAZw/r3I58?= =?us-ascii?Q?HGM1JiLKnMrO38JpO2qlWYN3qBZG4xbCFe4hqVnT43QkENBk24IX27Q206DY?= =?us-ascii?Q?7wBDgUUXXAVF6l6sCE+f4bfZgBSjuDFTQmVRBAV8HKsYh3WH8h9xKKKIMZ0U?= =?us-ascii?Q?Ae6pNTUopbON2i2rDnMMJqmXpmzwb+gY6VPQvw0FgZVjeBSX+2+G3i/fD8yh?= =?us-ascii?Q?OQC6evfFsCT/2sglSU45kr0qk47/1B0ZNRZa9LPD713ld+5ywP6GNqFsyyOJ?= =?us-ascii?Q?MjWh66HFNMPSdARZItnUU/44MBjbX0CAMJ7G7dMA2aZs3xoIOXm9/tdTEw0r?= =?us-ascii?Q?ct457aS8TCzOoYaLNKSJUnOa+w+q/?= X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0708;5:bTek8jjKnafjp8naLBtToKGwmJfnY2gP5svWe+nYvymhfPpxdrYdj7L0mxSkEUhn+rK+iLNBZxF3CdJiFscZlxfSH7bDsP5lLOnluNeo3wL+h1kgeb4xzMzHSoz+U9JvSXLqe8BQEs0vKxBl9zEh7XqoUP9PCeEL29nh/eUUPEA=;24:kc/oG24nkta0BVSg29mPdFIYaGYEmAvIOfoc0Fl5jzSk6M7I+7ghBBxu3z2288Ljsegnny43pkgbkkFIGKP9OO0dG8+K6Plqh+dR49KZXSs= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2016 11:00:39.0134 (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: BN1PR0301MB0708 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1751 Lines: 51 Add SCFG MSI dts node and add msi-parent property to PCIe dts node that points to the corresponding MSI node. Signed-off-by: Minghuan Lian --- arch/arm/boot/dts/ls1021a.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 726372d..c0dee50 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -119,6 +119,20 @@ }; + msi1: msi-controller@1570e00 { + compatible = "fsl,1s1021a-msi"; + reg = <0x0 0x1570e00 0x0 0x8>; + msi-controller; + interrupts = ; + }; + + msi2: msi-controller@1570e08 { + compatible = "fsl,1s1021a-msi"; + reg = <0x0 0x1570e08 0x0 0x8>; + msi-controller; + interrupts = ; + }; + ifc: ifc@1530000 { compatible = "fsl,ifc", "simple-bus"; reg = <0x0 0x1530000 0x0 0x10000>; @@ -587,6 +601,7 @@ 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>; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, @@ -609,6 +624,7 @@ 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>; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, -- 1.9.1