From patchwork Tue Dec 27 09:13:02 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: 9489093 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 54EC262AAD for ; Tue, 27 Dec 2016 09:15:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4376C1FF26 for ; Tue, 27 Dec 2016 09:15:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36E912094F; Tue, 27 Dec 2016 09:15:25 +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, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id C0FB71FF26 for ; Tue, 27 Dec 2016 09:15:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cLnpG-0005Lt-48; Tue, 27 Dec 2016 09:13:42 +0000 Received: from mail-co1nam03on0050.outbound.protection.outlook.com ([104.47.40.50] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cLnn6-0004CF-MH for linux-arm-kernel@lists.infradead.org; Tue, 27 Dec 2016 09:11:30 +0000 Received: from BY2PR03CA061.namprd03.prod.outlook.com (10.141.249.34) by MWHPR03MB2479.namprd03.prod.outlook.com (10.169.200.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Tue, 27 Dec 2016 09:11:10 +0000 Received: from BL2FFO11OLC007.protection.gbl (2a01:111:f400:7c09::185) by BY2PR03CA061.outlook.office365.com (2a01:111:e400:2c5d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11 via Frontend Transport; Tue, 27 Dec 2016 09:11:10 +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; nxp.com; dkim=none (message not signed) header.d=none; 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 BL2FFO11OLC007.mail.protection.outlook.com (10.173.160.142) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.789.10 via Frontend Transport; Tue, 27 Dec 2016 09:11:09 +0000 Received: from lmh.ap.freescale.net (lmh.ap.freescale.net [10.193.20.69]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uBR9Ah1t026758; Tue, 27 Dec 2016 02:11:04 -0700 From: Minghuan Lian To: , , Subject: [PATCH 6/9] arm64: dts: ls1046a: add MSI dts node Date: Tue, 27 Dec 2016 17:13:02 +0800 Message-ID: <1482829985-24421-6-git-send-email-Minghuan.Lian@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1482829985-24421-1-git-send-email-Minghuan.Lian@nxp.com> References: <1482829985-24421-1-git-send-email-Minghuan.Lian@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131273034703007265; (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)(7916002)(336005)(39410400002)(39400400002)(39850400002)(39380400002)(39860400002)(39450400003)(39840400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(2906002)(50986999)(4326007)(106466001)(76176999)(38730400001)(105606002)(92566002)(47776003)(2950100002)(50226002)(77096006)(5660300001)(8656002)(626004)(356003)(7416002)(5003940100001)(50466002)(48376002)(8936002)(97736004)(5001770100001)(305945005)(85426001)(189998001)(2201001)(81166006)(81156014)(86362001)(36756003)(104016004)(8676002)(68736007)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2479; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC007; 1:bSUlgdoRBT7FmOzqTaOSVE3KTfcB+Khp3YMZHcWSaM+fcfs92FWXUlOtJKR6R7iGngS7qQkGO8hqxG6sb/Ow8jlslBFypOutkHN3EHy+n0lwZPYVNcyTxjN7c/ddYlF4EjM6bWCO2oAFNfbbkcexe9cwegyKhF+TrmIuU8qL9g7PSWDPEL9pxeVVfJigwcitpAp22pd2lRXssyzi/s0Uvhx5IKtqRx9hwJTtYJ/xY8vwzVLElCK5QzeDmm/AKZ4csAQci0nnIG79hfrwe3W6y4np4x5FhbaXse2dn52ZV4aJTFMrXaxJZdbOTjQvwfMZd6by42vBgQMSyH4CKa4+G/i5V2hP6A+Jpea0G6OILquY289O95tEofZUKiUnYfNPV0wPeEzj/6nGa1+H9bSXNjN8kF1ALvFP+DT7g3tP7Jh7NIGWCbG8XaqtSvM3KdFsTpaSEIq8VM6UxRSX3CgWSjPWAA1fmoz7N7EX9ncyGRwgPx59+XWjyckIXp2BVrmMyB4DSlADF4zZNYi4FSBpyPDgeZBWKoDR7Mz4NC/tpMVggoXx3QtujBdRipt5+/PXjsmYySBqXjakXOFkLUGpjHjoP5opoMHQtGe5xQZ1KS/LaqAtFTfxxv499zA/dUKVaSbFnUnr/h9mL7v2enJf7WSrh3FH7dzb4rL83fgUwqdy6KazmrsloMRs0TAsfZCfOJycYUd9DYi86SsQYjBPZvKmwFdYEg1YZpTt+WQfhphgpY5NLzr4BTsuCzeyflz6 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: af15c27d-bc17-4195-01d3-08d42e384c71 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:MWHPR03MB2479; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2479; 3:ya6GTnl+FQQbap1yzkO6EQI1GtCVA3D4BwPlQttsQqfEuayE+4kHfxVG3qBoxgmPZHvrST5Qku8BYRVWhYeser0cuTO3KxQRGJnM1ePq5ntmmHM8Q6KJMoKE5DPmruaR9nBOMXS+IjHijQj3qLvuiEwmyJFfsFfoG9AClg051LQbc5R7++QjSmF+766Y18WlAC15t8VPNvBLx4zhPt9z9n4jucY9JEtHBL0kpvufiiva7d1Ny8WG7hm0FtrCc5/QTK8PyX1p2I4R/RgpM1mAXJ/qhsrBMpF5XVNmGq6SHkmTUD2IzQqPoFJ3/a7EI99+7K8w7gZwMOpe+BV7yblo866DQgpqxKUq3SUTOmxvUakw40t9puZcW/vBvJU3OFAc; 25:EU+yLaXwfvxGQJCj12ayq0ksJPmMzbCyuThV/k3CVb4qnz02wKrvY0M2UtSOEhO/a1zgHD9WhdnHVcNKHgOMsZlUFNTMEol8vWdw7YR8eHHRiBmN9s0hFAA0T+9AchN4B+c5ZCShl8NsE7TcmORf94gZkD2lYYn57RjT8VrMJCUQ10Gd5JFPZQR4VsqnWmSsRD822jc0B6VC3bxlXK7CT/DECCLSaZ9EBFPJHr6ozgq/agyg7RL7N7IIwj1/dGkfkr2d10hz2Ohj9anFPi3tnBnCgxMKHBcZb7mQP1qSzHptBViPxpYyG4RfP0xgJ8WQtoyliKEeccLpsOkvEDaILsUducNN8jycVbndVbRbcBu6nW25A6dl8nKtrwJgDl0B9z4IL1KHg7I3PH9cg0t+mTd98PoTV/3UCZJQoAnW7FVdn64Lk9MvhlQbLEY9jDQmloxulruvuIKxkv8S3shSLg== X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2479; 31:QHhbBJmGVkAoPn07Kg2qc3rUAwjX1fxMX1my7dBF5AZEAYFGGfeCl90ky+JHBROn0tOvzlPrS4PZqDg66MmG6YR4wZjr1m9Tz2PdGVIzaE0/sOCp6DftGb9xvf1SPasfSE7RGUUIfnXFJqhUDW8GUy7kCaILCMIBsJY2eoI2BsXuxkzrdFcTgGe+6cPcLTPAcdPvBrKM9ZLUDhW0G6XrzEdd/XvAE17L0d0Lqak7aeRC90oR0efbEY2yk/F/08nCE2Jph1UI5YU6r/6bEZZUmMPhJdirOVzQ4RgUMpEdy5w= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13023025)(13024025)(13015025)(13017025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123565025)(20161123561025)(20161123559025)(20161123556025); SRVR:MWHPR03MB2479; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2479; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2479; 4:dQPJGN1vXI/YYfU3U7zwHbDTZH4Y9S2lUxQJQA8ubbth71glRA3jtyQNoLEvsmg6d//hizBAEqfK5/blSQstL1vNDRG/VEzK+woXU2R/G5jzOB1M2tLPEFdANkg4ceUHPaiv4xug2UktkshlT1aSwXD0ORa//b5IqNpibcC3j0u5tDF1n8Jdd47W2c9RtHlVcGaiA2gbexOwCWOhtpNdo7J/NWrFr8HZ54BSisTxIvebAr+3HWfSxZdMM0JHsI4D2T8Zepq5MITf9vA91a6e7Jjdg4+IXJeer4Z6Q7VZ0zWoiLtcL1Twprr4+30DFargykkNS+L/3MR9oQvT9IPDzv+dYX9BWYSAsiJHAiO8M+0SEX9wmopxRqq28T/Kx4J5qw8kfA4HhSHtW0H7MAw4u2Zo6kFwvzTiz5BAe29ASwACOCWFLxNKhjLSYkmE0fH5cdjZQhAsiRghkWSCyzF29Oj9xhdzEOoj2F1zWxEUAIeIEGhfFEaaNv4cYxYbzvOSJNKMRP2OIwBzBmFFd01FPwKv/znjni7M7E+5snxPz50lc881ZqtPt8TSnX5oYPIC5qE2JBaavIyvjViCDbMN8+lftKX/a1bW3liWlBUfQ+ZouSH6bf1vFk4/QbKhLIrz3+adGUc3l8rHCmR97m4u5hl0kA3XgpdkpdcC156NmM+zuSEFfREqFoN+AZyR8svnLe87XjUZ5hIV8XC8mmzbEwLCmFfAbJ27zl7sEAx76B6POvJxlPtMBMZaHKOKJvzg X-Forefront-PRVS: 0169092318 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2479; 23:BcGdfYBK4cqhohFZDne417rfUwBpEncOkc6deuZoy?= =?us-ascii?Q?lHmBg9QWNx6dsS+VtKg09+vkDAceqeeOaTY51HlT08XOYTppSapQvE+2Wq2l?= =?us-ascii?Q?2mnRkTcBeQJ18YOtx6UIQOTxmV49J3eRzsCosfPLo9xycfNSHC8vO3pO8sk0?= =?us-ascii?Q?uwqzhPra4PcivRlnTLzxWde0CdBpzkOTFmYM0cAkzdbZqA9YDO29W2/zG40J?= =?us-ascii?Q?HKvOu2EZq9tKQKPW7CTicGEG6YahB93BlJ28sIspir9oPOEDSjWtFouRv4qj?= =?us-ascii?Q?o0sCv6/GNh64y0YbXyAc1EHr/6rypq4TINSqqWIkQzIxPnp7lRZ7QGCecSAo?= =?us-ascii?Q?iRStnwY0jEDxBb+J5g548TowEmIDiJnvZFt0ipuAHB+GdqSC/5AmAXJbTkee?= =?us-ascii?Q?9LXfRJIstr35IuTmuApQq3YMfJwuneSVui7iVybca/AN+7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7OSA0i87g9DHzJEdLn/lROEqQkpqDA0ZH9mVVoJaK3vDPJLhKIUAz7bP2iYYDQUYWj7uuhPCpJUV3a+CiP91rdB/UyTBpAkzToN4yi/QPBs6oySFS65IIYMqfcjrdnoNJtWsFf8uVHf+D/G+ayIqN/SJVevMUoGX1v8edYsFaDvO4MdqzfQcrvYvkx4DEhcT1xe1b/NoJ7Ne0mar25LTUkWW2EQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2016 09:11:09.9419 (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: MWHPR03MB2479 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161227_011128_926308_EB9DD6F5 X-CRM114-Status: GOOD ( 11.22 ) 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: Rob Herring , Jason Cooper , Roy Zang , Marc Zyngier , Stuart Yoder , Yang-Leo Li , Minghuan Lian , Scott Wood , Mingkai Hu 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 LS1046a includes 3 MSI controllers. Each controller supports 128 interrupts. Signed-off-by: Minghuan Lian Acked-by: Rob Herring --- .../interrupt-controller/fsl,ls-scfg-msi.txt | 1 + arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 31 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt index 2755cd1..54597b0 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt @@ -6,6 +6,7 @@ Required properties: Layerscape PCIe MSI controller block such as: "fsl,ls1021a-msi" "fsl,ls1043a-msi" + "fsl,ls1046a-msi" - msi-controller: indicates that this is a PCIe MSI controller node - reg: physical base address of the controller and length of memory mapped. - interrupts: an interrupt to the parent interrupt controller. diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 38806ca..49dbafc 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -511,5 +511,36 @@ interrupts = ; clocks = <&clockgen 4 1>; }; + + msi1: msi-controller@1580000 { + compatible = "fsl,ls1046a-msi"; + msi-controller; + reg = <0x0 0x1580000 0x0 0x10000>; + interrupts = , + , + , + ; + }; + + msi2: msi-controller@1590000 { + compatible = "fsl,ls1046a-msi"; + msi-controller; + reg = <0x0 0x1590000 0x0 0x10000>; + interrupts = , + , + , + ; + }; + + msi3: msi-controller@15a0000 { + compatible = "fsl,ls1046a-msi"; + msi-controller; + reg = <0x0 0x15a0000 0x0 0x10000>; + interrupts = , + , + , + ; + }; + }; };