From patchwork Fri Nov 3 09:31:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaowei Bao X-Patchwork-Id: 10039739 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 126B76037D for ; Fri, 3 Nov 2017 09:50:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 120D329582 for ; Fri, 3 Nov 2017 09:50:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0679629597; Fri, 3 Nov 2017 09:50:23 +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 7578829582 for ; Fri, 3 Nov 2017 09:50:22 +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=MlOCvEtxp/ukQG7KJIx2U8jWtOzKnNzrcNTryD5RwMU=; b=HpUmaq5F8xwK64 5EdY48N46RueVZzL38Oy6y+M2ZAygQeBrvSl+kMATwOtVkvj/DIyjltfn/QHvUlY7jMGyabL7FVnV TrRvnUlRRpwTegZLx+xRoWbIbM7uAmx7WgnuV9sREwBj0CZcIf1QaVA27EMRVza0EnYyiOO4KJGXb POBED5SLs2p5o320yC/FwBFwrz83ifRhaG06/NQ1ZIi/2tnzPUDv5dI8N31nnb/sThWPaY6u9MY+8 bfslhrw0jXSkBDx8tkJme3ZSt0eGca2ssFh6CQkDv88joddvw6zFKPYb5lqUCgscYgxTVK6edCtWu RoK+iv3I/NzZwaaTOB+w==; 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 1eAYcH-0007SI-Pm; Fri, 03 Nov 2017 09:50:21 +0000 Received: from mail-cys01nam02on0604.outbound.protection.outlook.com ([2a01:111:f400:fe45::604] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eAYc1-0005kI-0F for linux-arm-kernel@lists.infradead.org; Fri, 03 Nov 2017 09:50:12 +0000 Received: from BN6PR03CA0009.namprd03.prod.outlook.com (10.168.230.147) by BN3PR03MB2355.namprd03.prod.outlook.com (10.166.74.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Fri, 3 Nov 2017 09:49:42 +0000 Received: from BL2FFO11FD039.protection.gbl (2a01:111:f400:7c09::196) by BN6PR03CA0009.outlook.office365.com (2603:10b6:404:23::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.197.13 via Frontend Transport; Fri, 3 Nov 2017 09:49:42 +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 BL2FFO11FD039.mail.protection.outlook.com (10.173.161.135) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Fri, 3 Nov 2017 09:49:42 +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 vA39nNmQ022617; Fri, 3 Nov 2017 02:49:35 -0700 From: Bao Xiaowei To: , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH 1/3] ARMv8: dts: ls1046a: add the property of IB and OB Date: Fri, 3 Nov 2017 17:31:13 +0800 Message-ID: <20171103093115.14915-2-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171103093115.14915-1-xiaowei.bao@nxp.com> References: <20171103093115.14915-1-xiaowei.bao@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131541761828818027; (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)(7966004)(336005)(346002)(39860400002)(376002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(498600001)(33646002)(8656006)(97736004)(316002)(16586007)(110136005)(50226002)(305945005)(36756003)(85426001)(356003)(189998001)(2201001)(81166006)(8676002)(81156014)(8936002)(47776003)(48376002)(50466002)(1076002)(104016004)(68736007)(6666003)(86362001)(7416002)(105606002)(2906002)(6636002)(39060400002)(106466001)(4326008)(50986999)(76176999)(53936002)(5660300001)(2950100002)(5003940100001)(77096006)(921003)(2101003)(83996005)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2355; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD039; 1:7L9F9K1RGVlwJLblG/LGjlvEO9A5WN71PlTLWVL16oNkw3mAHQYueOfI3pJ23hTyBEr3EGTDVNdhxorqNbd3Tj3y66EktfqW9/HxWZX5RRgbSkeVgUeX/zKamUnD/IDd MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b0585371-b3d0-4ef4-2b0c-08d522a03564 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199); SRVR:BN3PR03MB2355; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2355; 3:SVzqEXn2tCH3Jll80nqVDdNegj1Yg1EyCt4JVkdZR8uRg5An/29xBdRlAykNHi0luLnj+ZLU7HE1kE4uEStRHvGnG8tFVRRbYowK8Ug+HmPw//AI1cT0I3rDH/sPEblOuNpUFMhmMps0bgQVecmt9x7NJceKuILzZZihLTzmerbjhhz664tvWNylaKnWR7yvG/rGzbRXLHorcolWhUj4y4T7jSRUlowxLQtMP5uBp7Tq1mLtBInm7RQSXYWznurbiZssiCTVL0XNtbfEHNpfF5bWxbNlrdTuMPTaWEHf+sUUGg0qtZDPm+/rZbo8gNt4JBlqUodjoiEJOGCNk2Pgn6+MmukjGCpTiwUa118hpy0=; 25:pCji3m592lsNLI2yivL8afyDbg+Wd02Rvq6qlpm7c9XIf80u17cegHR52guDxCo/ksL27f7p1LjPUDBbgF0+Jn6vrczE72nti2mvnUgLf0cXiUrpz8ArBdJ0qPLflQ3qkZhqo1QrVWbSTHTVcGM6CHXmESGuxLcltP0WL4zaGnjGAir4Vw6T5NNM349P9qLpyNFw7mb34ahYW/UfBQolGV7EjHdU1gt4xTm9+GrnmA6tuQX2lxw7mb9l3+XyglwKr5nttcNAdYGWe+Cdqzgl/7hmL7QLj6ETzH0OEPNw0R5/1opA9VOyF62kEP3nhyme2CdoJrUmbvBvtDldHX71zw== X-MS-TrafficTypeDiagnostic: BN3PR03MB2355: X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2355; 31:8NvxbnCAHDpMEpqSOlSnFZhRTPteVWDx2fC3AU2IQJEkTh1I4SGe/7fKb4ZGPu9yPl7GdUzzjYjDsWwomUtqWB3QbLYUyaPKvqrv2fIhZgbT53kNoqKsAgAaKC3xHKhGqL2DRT0gwlepoaLiecA+HmYhVoO/08L5sH0UNZK48ociVaOYLOfnegSPyEoCfw3EDrMvM0kaNnkoFsk/Hy5j14N1foxKe8aDWedPpqyFVW4=; 4:fWLRcqJAIgzsBO6drW7iwJxd5e/g23BEK2O9TkJLDIofOq8IbHVWxpzZA5Pns3tn+GWVQuD/2ffxoC/qowP79EzfgLivclhnrFbBoY1MpK90DB+1mxdiX1e3qA34CC+eYbtqG2+I4T4sBDzdqDnF0bKHwALMWm8cpbz8M64BjaYpJUaQyCVyJlSB3AjAsfNufNtR7FYdB6UkMpIjgr2DRXZiIViBHiKLkWtTRiudsPyNKErw/UyTgrw4XuBy5RvWhuG+hYrT+nVaS3bRH+lvuof/WdNEB1U3lwq4kT55pqsR1NcsauwJRB6pMkQ5esEA 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)(8121501046)(5005006)(3231021)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6096035)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123559100)(20161123563025)(20161123565025)(20161123556025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR03MB2355; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR03MB2355; X-Forefront-PRVS: 0480A51D4A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2355; 23:pmYgeLwS9uJm5IQ/+xymrN10vAU5W0nbjsa+g6EnS?= =?us-ascii?Q?Q6+zi/mjATnjoiqa7rWoHpcB/nKAN+vD824xovK6rrk/Ywl3r1lD5yELmaZA?= =?us-ascii?Q?6QjcTjJNaqEldtKIt1c0R8707MGZa91bzauNdGrDgtTDN4GIGgs1MoQx1af6?= =?us-ascii?Q?1CdBJeHEY738TFGmner+vVWy6D7JXOD8yTAd/5S8a4tGGQ1qgwACM53j1Xoo?= =?us-ascii?Q?WPhJim5OT/Y8JzlcC4hnebSqnBy0mMgJdzELujb6I5TY+6GSQl65u1lzDGSr?= =?us-ascii?Q?sXfRRhUARb018MX+yo1hqj1cLtjSERPxohOcO+UU4B+LiQBTVvSKfaaPEYvo?= =?us-ascii?Q?Y1bmAu//CZVN5xh/IGl1UUiOojoXABPIJZsfzVYJUzEH6NnHXhHz/k8LByQ5?= =?us-ascii?Q?mjJD1Ew2WX589NGkhiOAnKuVAQBz2dnVjyDe5nHRQB5wdkD64raMgUQml7+V?= =?us-ascii?Q?cPgHYmKMSpi3fYadDb36HWt+8bPRTBGjt2bJWun9lZ0b/zle8a+jLH8Ll4MT?= =?us-ascii?Q?i0Wq5sU5z8bCbcAXPi6n9CCSUy+vGQBr72m5UwLbhTJ5d3Kx1F9NDZ5yuSnl?= =?us-ascii?Q?09dHVywyG8n8lNPLMqYKmCGZD3ByG5nW060D0yfpch2wZ2SgUgz/aIkOcNG7?= =?us-ascii?Q?Rlc74VJW+PH0QmMiQOSNgGdPEDh2akRnZenyXH2rl4acooToDnVnTmKGKFm2?= =?us-ascii?Q?E5ZUoVguz3AB2mZkmKEamHQENU8OeVgmSwfyH062+F0kB1lSzenFXKvij3II?= =?us-ascii?Q?attIlBtF5GEYhCPetjP8dp4YsNHwcSCMGg0AlhSwiar/L/IfPtpDo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z5Wdez7fDcgF+UnvVOBFL8Af0sVtZD7kPigsSX/Rp0X2R5BvBIx7yAXYsgjIMDzdGSZCCPwbRfhOk178rgZfMuUY5BtLdZN/8lbCQtnV/TqCQNb21RLGuiboy8GE/KCi+M=; 24:lvAXtSNebW6iUeQwad96E+6cHrKWAfZwT2A9BTxlStJm2lThQgjFJfheDjC3JxG2F4EG/5wHfxNl8Qm2MONEqjxzseJkayqi7OfHQgKLkOg=; 7:byJgL3eW3D6KLhvSzI7yqoQ7GE4uKTT294zUgeereL+ZFiSQPVMgiGdQQ4YsLxibPydUyB6sckZw0PSsA5GFYxqixGVKkv7HtJ76dxKrUTlh3Ohvdjvbvs4AQDuJrpzLBc8qnySrnLILyShoSpghhZdSGukYaUbWgruJYWmMAryJfTA/DU2MpEQscPJE/ZIhyOm9OvOEYigCZmI4S+P+L3QQyDNwzzA27igBtzDo+4UCYMUyI10WKfHg9TtWqbMx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2017 09:49:42.6478 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b0585371-b3d0-4ef4-2b0c-08d522a03564 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: BN3PR03MB2355 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171103_025005_397629_E737D6B8 X-CRM114-Status: GOOD ( 10.66 ) 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: Bao Xiaowei 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 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 --- v2: - no change 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 */