From patchwork Tue Oct 24 08:30:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaowei Bao X-Patchwork-Id: 10023715 X-Patchwork-Delegate: bhelgaas@google.com 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 0C31560381 for ; Tue, 24 Oct 2017 08:49:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EED81289AF for ; Tue, 24 Oct 2017 08:49:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2A2F289B1; Tue, 24 Oct 2017 08:49:11 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7407E289AF for ; Tue, 24 Oct 2017 08:49:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821AbdJXItJ (ORCPT ); Tue, 24 Oct 2017 04:49:09 -0400 Received: from mail-sn1nam02on0066.outbound.protection.outlook.com ([104.47.36.66]:63576 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932450AbdJXItC (ORCPT ); Tue, 24 Oct 2017 04:49:02 -0400 Received: from CY4PR03CA0088.namprd03.prod.outlook.com (10.171.242.157) by BN6PR03MB2689.namprd03.prod.outlook.com (10.173.144.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 24 Oct 2017 08:49:00 +0000 Received: from BL2FFO11FD009.protection.gbl (2a01:111:f400:7c09::146) by CY4PR03CA0088.outlook.office365.com (2603:10b6:910:4d::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.156.4 via Frontend Transport; Tue, 24 Oct 2017 08:48:59 +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 BL2FFO11FD009.mail.protection.outlook.com (10.173.161.15) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.156.4 via Frontend Transport; Tue, 24 Oct 2017 08:48:59 +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 v9O8mfxc031253; Tue, 24 Oct 2017 01:48:52 -0700 From: Bao Xiaowei To: , , , , , , , , , , , , , , , , , , , , , , , CC: Bao Xiaowei Subject: [PATCH 1/3] ARMv8: dts: ls1046a: add the property of IB and OB Date: Tue, 24 Oct 2017 16:30:43 +0800 Message-ID: <20171024083045.31135-2-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171024083045.31135-1-xiaowei.bao@nxp.com> References: <20171024083045.31135-1-xiaowei.bao@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131533085396584902; (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)(39380400002)(39860400002)(376002)(346002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(53936002)(1076002)(316002)(50986999)(39060400002)(106466001)(4326008)(76176999)(68736007)(105606002)(2906002)(50226002)(97736004)(104016004)(47776003)(110136005)(2950100002)(2201001)(85426001)(5003940100001)(33646002)(7416002)(8676002)(81156014)(8936002)(81166006)(6666003)(6636002)(356003)(86362001)(5660300001)(8656005)(77096006)(36756003)(16586007)(48376002)(305945005)(50466002)(8656005)(189998001)(498600001)(921003)(1121003)(83996005)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2689; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD009; 1:gZKFBSM6JYQ5EarYpY14eY19lSp6PieLHOJzWETtgEealrBzCWI/OnncVqhJlk1Xl3RbcoCk6xcvXe16jI3ZRQmfj/PIweTRgwhAKrRw+wbTt2q+wJ78/hKoi+ysZ1fp MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ed444a0b-701c-4847-e865-08d51abc11ba X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199); SRVR:BN6PR03MB2689; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2689; 3:xgx6r5e71fBoydW+WO0a4l1LMkWfxl0wTB9SlEj6ecan9SHzzDCXD2OyGj0vPqFZe+ic/sH9mvt+qAL/0vJZo49IlpXRN1rpwCJVeP/1gFRErUvxnO5m5mSBzerf99UBuK1ihMxwXTxIGgTkms3dbiVr/lHwSdAG2jtuMAXuOzF4hV9AVFHH1tUFWRmMf9ww6bDYy7rGoXiFdxrChZDeQIlH52LIsEAgnemtRQf4kslw1uBGZggcYh0CkYTf2GDmoznpsMCFeA+lHHNL/KXXamu2SVm0BrqjZnX44SUbKZ4KAl92UHPA52EWgAkf15MrFw5P6+QT9WQQQXmmUoDUrHqLmYd3qs0BocliVRGwW6I=; 25:Pvfm60YQOEs1QN9AJPvlzcAJCeKOZwS4HlB+zBO5enI7VuU9DTWJE+tMdT6S3Wc5rN50yVElUppsmWPNAau8FEDEl7RD8WhflcDJt8wm9z7SdSL4lRpA1tL5y2457R7Ji8wB+4s796gZIglVOqDC+gHujAOLchxYxZ5vHLLXIm+mkCIWoFUaJ8TZBR+ryVllWwOuvZnSf19vuw7dGNWr0zGXjA4oYzrQfaYrZmLoD7alTNv78eamICcjiN/4/ocQmfs/mKheAR9wZmzPcffOk6ykd9nmiN1GXH7BRUm26BdKuZmyc4xk1cdXtSMnN3JNqAwGn2cJEa/xoSIVSMu7FQ== X-MS-TrafficTypeDiagnostic: BN6PR03MB2689: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2689; 31:CwIpA0M3Gn4/Nf57v6JNkhko0legOAF/IkwoFRRgWr5Gb3GfWE/o7b1iAQbaB/Op1Oske8ITW29i5wP5SeDDeto36CUaq7XCOlh1BWeHahQrw8Ej5OvCMyGYxhIPkGVGFWRkedtjKzQdIKKdjLFfSSaagckWo1wsrBbHqxj/7LsYd1ec5t5rtrmWMWK8A954XTax1JKgwOK/kd5NzB8QCuch8XsQWdnTepmrBX2AQlc=; 4:BvWMdMjWyR7j3ewZMZpUbJhubE/o/iIyQwpftb5AodpSpWj0Z0jrAN/zT1NDPa0fPS8H6lbM6zGEGAsitlTSd3nOVOsyXRoiSy/KHV+s1kkDHzwbPVndxazfSTYljNPxOFIJHHL8SI7QyddKT9W9ZxLB1dEJNz8BNEunhfbfI458kr8OEHtgxBMx8Xvft2vRkcrjGweG3ZjvDlrSupoANe79+K2yMbnhcHZH6hawPKjz029Kq/OTt5gznbww8l3qE8q81+vYnSzzaT712RsYCO9XKiV3+iUeRxQO1p6bcko= 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)(3002001)(3231020)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123559100)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123565025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB2689; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB2689; X-Forefront-PRVS: 047001DADA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2689; 23:jBBCiPH52m+Blt+qTdeOvfrERpa173l4p2yFIJ9Dj?= =?us-ascii?Q?gyHfBMcJVb4JIY6IWIlq2eM4mPKH+m3Xo1a3JTMM0A0vwTiyrg2qMmOAxm7U?= =?us-ascii?Q?Dib/X3nDqNrZuKhHNn/mW00sGtQ7ircigbOrK6RRLI/YmKOZNiiV29DInT/A?= =?us-ascii?Q?gmPxrwsYTKd+btRey0GqGq3GBi3zDiHH2XtQRojcYXqiQY6ZLXqUsmjOAWS8?= =?us-ascii?Q?lKr8BCtmYduWll9VsqoQSb/js2stohruyXvRm+aIpDOgVKkle2J/QyBZXbib?= =?us-ascii?Q?GDY6qZfNg+6JFUAGjmexZh+upPbjU06YV7zClq8h4WMpbqkwXmjV4wMGs7r4?= =?us-ascii?Q?sK6/5XreP//s6dO38HVWSHr2rKGvbmKgxyBAKI4uyWg9OfYoxgqGiLuF5X1E?= =?us-ascii?Q?c35lshnQkrLtYZgbLzV6jMOabVCqHEXP/t7k8QpO4ro83IITml8G9HtaL2Ar?= =?us-ascii?Q?FKje+UHVXRHdiKEXpQ4zWnKvnve/YqR27ZeU6HXtF4IEuQniSPUVboUquiv5?= =?us-ascii?Q?jCD38SlXem1PhczkZHHNhAMfy9sNOBiXJkWFbJsKlcGjUJ7KHTa5ifRwCuGD?= =?us-ascii?Q?JmkkJ30eDbUrGJ69EmGBFmzVCD4y/6Hx/7gglKpQxakVsEecwkvoANPySoxu?= =?us-ascii?Q?UEBlSY6AyKHOUEdhLPLe1It99aHiZCg/1WS2hjcEG5+G6WwReFkGwZ/TvNEW?= =?us-ascii?Q?hb5ARxlAD570wkMUze5YWUmX4ApoKvCnNYM052zHhYqX9e+5LHMsv5gotjJN?= =?us-ascii?Q?6c9OGSqLxXiTbmvnztxHYUaGHPGPoY93u980Eaf0NCfj9dtiLB3HSyaxgkYv?= =?us-ascii?Q?fap/B4flP75dwzVEJ40xXB0vHMmd1Dlme0MwCHzCqWPePjGTaE7NRK7LUd9w?= =?us-ascii?Q?WPuTFtqaH/DSXryyNYLHQ8RkIIeFCdLT2E0NwxFCOhy1ECraEMMjhg2B9Bqa?= =?us-ascii?Q?ytipI4JmY5IU89HVM6IYuCe82c/G1dJTN8+dtSC4cnQF5IJCd6fA6sg97fYO?= =?us-ascii?Q?x87fYUj2wOorih+Z5vOH2BFpZssoV8CL0vMk0psXwEHDh4qlrdike82hXnOV?= =?us-ascii?Q?8K1HJCraXqsUC4XGRYr3wwoZekfOoxz7zbuDIfToSMBVFVGO9zQLpL3JGjoX?= =?us-ascii?Q?IbZz+pnxczBZfztOP8J8tEU556IG8EoaBqHazQ7D/eChW883lkGK+maq/hDO?= =?us-ascii?Q?ojfzrUkTO75Mk0DfFVejr0BRK24Ide6T1COkJR6qa29CL3+DJyJDFDWS09oq?= =?us-ascii?Q?+X4zzxwecsUEHzG48edFzv2dU0QIgtaCWN35VG24JQgYB9jM3nVNUXnvP1EK?= =?us-ascii?Q?3E3HpT3hRvCxbCRezCAi8E=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2689; 6:gPtqdgokgU+AhC/qKBtqrbeMT3DWrOhodF7N9y0DCacguIn/ZZC1M0vJGJACsXxj4F73DzMbLIBuh7Nt2Cm9AAtlowK2YJf/q/7JczB8kDqhq4DwIyPUj++gSkL65NBKzQC1KZe6kYQ8mfEcBrw54923p8dxteE6H7l4IOy/wspf2VAQPuaqnsK7ZHt3SaIQrDWU0cDwYAnQBzDjLA4Rm23bOP/y0dcdSda5xPiOxGjcQU9c5eSrRL585UhEhhXtzwJGwbsVtFzXS678Gz5SbY1Z0YkZ/ygRK8VXFgHfIczM/Tl4/z46EwI8GyKX5cWg1Dz/xGjjMOaEXqAdLJeKIQ==; 5:8K0fPwu+3MCKHRgJJ+VFSE+zyRfY2jQ/O/MZ13QfcHK/69FH8iBA3DhIjD8AV9fj5uzz9w2//FMugvFBnBhqOz+E8P+or7KxDxOkNM1j/QtLHK6I5pP5h6NYJoWvBkzSWtjEJcJFYG3FVrIcgQH1YQ==; 24:oXQBik+k8FB6ofB/SyLZkfKVZOgXqCycHwLLQiCFZj+chb6fXeBHbCbYUP2w1DXD0gmBctBEZlCze8g9vgz6eZXlhBgJJIR9K083vsqjLfk=; 7:So/95X4exUowTsp/wzf+DcG1yW7P/uBIiE8bhI3mxTzFfRiN53scc9WnlcMcSKot/7EugYplOsqF06/8gk+Td9wC2Bvr1lzwIF0dWeE0326bVNAT+tYWKr1LgfSuxs/gwXeTq/Lr2tIpeIKWSyU75CFKxF9siuJfWryjNawosMTGNeJ2ERs+AaGWZTUiPFuiFtEmZhmQO89PgFNvbrQgkUF+34/Emq/pBsrssctEzwQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2017 08:48:59.3932 (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: BN6PR03MB2689 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the property of inbind and outbind windows number for ep driver. add the inband or outband window entry for pcie controller ep driver used in dts. Signed-off-by: Bao Xiaowei Acked-by: Minghuan Lian --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 06b5e12d04d8..f8332669663c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -674,6 +674,8 @@ device_type = "pci"; dma-coherent; num-lanes = <4>; + num-ib-windows = <6>; + num-ob-windows = <6>; 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 */ @@ -699,6 +701,8 @@ device_type = "pci"; dma-coherent; num-lanes = <2>; + num-ib-windows = <6>; + num-ob-windows = <6>; 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 */ @@ -724,6 +728,8 @@ device_type = "pci"; dma-coherent; num-lanes = <2>; + num-ib-windows = <6>; + num-ob-windows = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */