From patchwork Mon Aug 26 21:38:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13778514 X-Patchwork-Delegate: kw@linux.com Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011043.outbound.protection.outlook.com [52.101.65.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 052D219D07A; Mon, 26 Aug 2024 21:39:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724708377; cv=fail; b=PBODODBBXJ5yRZAsTq37MbX8MxX9Kw+g5PXKnfC4+eRt83j9UG9eEJkVtWTR/UaESCZquc+vunme90s0KqH3kZl0d1JgONey4u3zke8vEYclEu+IxXPFrMkQFz+QoKh3Azo+qZEs+zzP+oahQC8dYLCQv7UGKxprRfUViiKqG1U= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724708377; c=relaxed/simple; bh=PIVUh4mo86LjWwqpLBE5dlM+D4iaxoH2rYfkuU3+e6Y=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=BxyX09evVTzim8pP08h/STjBCUBjWHRIcZDKx48w234Ugwl2pTpDpKlcqDd8yCudM595r/CC8ZZEuX+QNaMRr5rq/3UMS5PZo7/Toh/mf8Xk9jTkX2r55aDU7cVDJa+6FU+XDWcZM70NaDuI1yE6lH9nIQ+IbQ6BKGr9gn+Erf8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=ZtYmeEDy; arc=fail smtp.client-ip=52.101.65.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="ZtYmeEDy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=a/NllxeVLtwQXxrGlZp+3ZYy0bMU6c6wdyFKEeGMMmyMlxkjZcHAgMsy/tgUBAV1YyqQX1khMxdcpjKRfCxMgMfRDGNROlNe+kDZyhfQmDMITuv4D8ihDgcVqLxgIJG1njEhYJl2GYG74KKJZztuVZYSX3jGyWa9Wn6q2VsybBKzCV9D719fkPPXj3pQfyIVWU1tSriD8a0OkfPDEET6YYf3JmdTGF7wxykjwBFl2J3Ynfmm1O0HJyH0598x4MVydl+JvdOtlEaIMzzUlxBvq2QfSsuAAjJKldSfCKdDY/ylwmpRltnH61cSfGRgsLfmTO1RmpjSq8wEfBZ5tcPyCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8E/LX3Bby8r0XxqOJWZ05/ynY6HsOtJnt5emu6j9PJo=; b=uSKlyFTgMfcjZBGT7pmPj7lgh99vrzxKcKteUe8fRjJIcTy6LMyoZ2HGluTFN/fRxzjhzfaLE3mBDI9fsybyrcpZwzzlSHLZ0uWgqcl7+O5ZxOCuctZGk5xAajMOBS/O1ElvIwU8WzlWogG+cKfVvXSNZratWlidKT9RU1SOaYJstM6UzxJCX+lXQo8W988zRzf0CsA+kadqXIOGX8gxirNNghNWm6nORpPtDLtscA6gkEI7braazUnqk1Eku3n+iVsi5mtKBb+CZ1OpCKh47NLOpAlNHMKMO8RKkegtVzD/z5IL3XsgRXnMzjsEPMl4uUt5ZywhfDt8Icsq2/jBfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8E/LX3Bby8r0XxqOJWZ05/ynY6HsOtJnt5emu6j9PJo=; b=ZtYmeEDy1shd/1+0ok0LeT2SOlu8sH+Cmq0BkFGD44ReGHcKAwsigj/p6qZY6wz1CHh5dwtzJ6Dq/p+6jFlUgiM/IycHSwME5aBAgMxuuRd7+VmzGUAx007Bwu2oLyEBaW+ZTTv2682OJN3WqPh0pQnCNRIXhBFD6CuX7FxQ3xkkne3bh5QhdKLaqjLtGxTO1vVA3a0BLT/Ylop67r29Y9pXC+lIlkU7EwAZLsTNLiziLC+GGNKihAT7HWUTE5db6OKOgPWaj/WJHkFxbO+5UGncia2dW5eGel4RxRi6KPmaMbQ61NCG0KOJMtmcjLOGkoHRmG3p5Kfc0LXb9N03Hw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS1PR04MB9360.eurprd04.prod.outlook.com (2603:10a6:20b:4da::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug 2024 21:39:32 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7875.019; Mon, 26 Aug 2024 21:39:32 +0000 From: Frank Li Date: Mon, 26 Aug 2024 17:38:34 -0400 Subject: [PATCH 3/3] arm64: dts: fsl-lx2160a: include rev2 chip's dts Message-Id: <20240826-2160r2-v1-3-106340d538d6@nxp.com> References: <20240826-2160r2-v1-0-106340d538d6@nxp.com> In-Reply-To: <20240826-2160r2-v1-0-106340d538d6@nxp.com> To: Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Olof Johansson Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1724708357; l=1919; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=PIVUh4mo86LjWwqpLBE5dlM+D4iaxoH2rYfkuU3+e6Y=; b=Cv6IN6+jodgEi5H33xdVSawQU51EF5TD0tePewc14ahE8v7ExZiaGkJGOG0iVmZe89wQMbpsF jyIZxaj/IU3BymkVAXgMQvQJZPB3Hc0Rnqt8YHLF7ZdPklyQ1rV0EC6 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0014.namprd04.prod.outlook.com (2603:10b6:a03:217::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS1PR04MB9360:EE_ X-MS-Office365-Filtering-Correlation-Id: 1884c5e3-57dd-476c-070e-08dcc6179259 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?phFF98kMQXTkDg87SYbvN4zp+zrsptZ?= =?utf-8?q?tWCvuf8934UxospUN0rD3xTTZuYNWTkp2G6K6aiqE3EhUTiskNXgjx7+o4YlEYFwy?= =?utf-8?q?zNNcrO0UdRxNJHqZT01Psv/Kh9OE7hoFKk3gdNx/X2Sfs6YS3JOO3xBXKA9KbrwOu?= =?utf-8?q?l3qN4gN2UU0roq3P3nwrBL7TruVjDowK/XMzD2AqOOuxBiGeriUDkf1b2cannGOJI?= =?utf-8?q?wxWrApDCgFRsDD2WISL7lb9Pbae/Z211PWOUQc+c021R9vyAgOD4yO1sOuD/UD3VQ?= =?utf-8?q?TQ14/ISxjgTE+ujxDgPJd45wVMI+3/lisl73NwI8ypIBOsKbAdl9o4cEAQL4sL2Zv?= =?utf-8?q?6ZtSkqweyHvbScL6aPrxrgM8gKyslXTbsKdFLF4r5SahwkBHcKwWY396ngfWKlfOi?= =?utf-8?q?oqRPJ8TCbpu4dHVuzzNT6i5uKffOtQseLaeSNssjeVcnNULxzb9SqANObwzHYuqoK?= =?utf-8?q?wfOEqCpsYpoczui1IfIdThIyDF0NMdX3OM5qxGRWceTgqmOwvUggES5yRDiRfquN8?= =?utf-8?q?QwaK33IODRnTpX2s8uyezoSHTqXNgp27O2Kqc6Mx7MbyjiKuI7tixh+q1QPfbHXMw?= =?utf-8?q?fDu3HcZy4B9VTAPZE7WWf1WnPE2RU4vRKLEMPNPgxIEVvLI2J2GjSWoLievu5qZ5o?= =?utf-8?q?ZNw5sGiHZuUsgyMikUX8gN2l1rG1EVQd0m1BHMzeIzSxj3IJ/jFsMPjPAVspGmU6E?= =?utf-8?q?Wh+VcoMUebNofsirRGOeKB2WcwMYz/7l4QevVeZ7b3/oN905OfWYEt4zVxyraM6RL?= =?utf-8?q?bOoqW/8E7E1wJnwGKsIEdwufa/Qlqm551gc+SoRamYd7Og4etn3U14kOj/woHiSt0?= =?utf-8?q?lcf0oOJ79oGdmjmRnga2OQRbjukBPtWvWbnmmBBnPeSeRl9cx+XMe30L+Av7Za2tF?= =?utf-8?q?S3VgiDWJgvk/C4D2nPap1HhGhsVcxQjTLd6UTM9owB36xnPybnsSVndjMddPBwB5q?= =?utf-8?q?d28wQoIN7xf0pmJE6YKdZaMykA70n5cKvVl3rtPFsBYiq7vOPEh8UIvlW3q71hM7n?= =?utf-8?q?dYEAU+ToweYRYEFCkMPHvfpr5DDTGGkWU6aE5Zh4DV/Br2qc32clRZn6hzZ9Tyn2G?= =?utf-8?q?TXXh0w0jtIip7tBcLLd04DAfWPB+snmQUC6MqQrALIMkEr/lTKnGJHkQtBHY6a5fo?= =?utf-8?q?AjmbpOGbyHRX1xH7WFKaAvHzXyyKZdszWk8mugoX3BFm7tCwC/NzAAIG2oOyfywEU?= =?utf-8?q?MoBgpV2SGNvZWJleVc8VQLccfHbXYZu45JPvtB7OlqiJkRxCxmhygnrOtA9oB3Lvz?= =?utf-8?q?4J0rHbJUTiaIJHnbv20uzqq0KpPD6EnIi18JUkO7T4Ry1/gt8JgxAoHDLXRKipQ31?= =?utf-8?q?LR6mzbQxO8TF2/j0Mqfwri/rH1q8mr6Mkw=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?hPiFUE+6oFHfu8pgcLffOd4TQLPm?= =?utf-8?q?G0tz1Ao04JaW1G8HdcoK3TI+kQ7+ipsAEh66IeYO4FK8Omda37nWzivH48J2g1PvK?= =?utf-8?q?fK5rSAE7jmz47QpWuVYGusKhmz+LWKLjeM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tKZ4Sk0YcdUtpbnLrW?= =?utf-8?q?KSHmNGJ65oBVJsRE/njQxV5f714cgZykvRh/HhWU2WBnwXCltlKN6dqyxJQY9LD5b?= =?utf-8?q?vfX/9M9IPTtyaJnaYMKmXOl6s6obllLhaj5qewGJEo0TG2zqdaXzdg8zppY78OjCE?= =?utf-8?q?2ZNJhD8qkjy3uwzHjabO7ErxXICk9BCs0HooiZzge/Z8VhzDiCX1Zo8Q5tFRiToS2?= =?utf-8?q?vFm16YnHJQ58+InimHERp0zwcAG8Lxhm+5ynrwmYHVI984S0pnwGM8yaYt8W3Av6N?= =?utf-8?q?Cm0xAZ9nuR70EJ59bTXqI91uNNM82cxBOvoxa3gI7A6vYFsZv12D7WfbMooEfAOj+?= =?utf-8?q?iK8nMIrZfNgkoqY6LbOhrYZKLADknnSl6PpPUisVA2Df3naPm5wkcbkFRw6wcKXGF?= =?utf-8?q?7fv2xPpuxg7h5AjvKwRfVvSoVvyczwgeRWM4lhNjTgYklUt+yyY43wrouXU0ueI+B?= =?utf-8?q?17boUaB+f+WCTSYlOaXERugZpzRGTlPoHUPQ3qQIfQlY5a4NHVqiAgMY5ZhdQIFOq?= =?utf-8?q?tOfyRNxO9T/h?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1884c5e3-57dd-476c-070e-08dcc6179259 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 21:39:32.2432 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: dkcj7HGB+D/j4WMTunNoXVluDyZPhfuBHYLSJT25df+wCEp3vjTlUPgKjCw87n342eBR9SEYre3eXMv7XWgAcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9360 The mass production lx2160 rev2 use designware PCIe Controller. Old Rev1 which use mobivel PCIe controller was not supported. Although uboot fixup can change compatible string fsl,lx2160a-pcie to fsl,ls2088a-pcie since 2019, it is quite confused and should correctly reflect hardware status in dtb. Change freescale's board to use rev2's dtsi firstly. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-lx2162a-qds.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts index 4d721197d837e..71d0d6745e44a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts @@ -6,7 +6,7 @@ /dts-v1/; -#include "fsl-lx2160a.dtsi" +#include "fsl-lx2160a-rev2.dtsi" / { model = "NXP Layerscape LX2160AQDS"; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts index 0c44b3cbef773..2373e1c371e8c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -6,7 +6,7 @@ /dts-v1/; -#include "fsl-lx2160a.dtsi" +#include "fsl-lx2160a-rev2.dtsi" / { model = "NXP Layerscape LX2160ARDB"; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2162a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2162a-qds.dts index 9f5ff1ffe7d5e..7a595fddc0273 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2162a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2162a-qds.dts @@ -6,7 +6,7 @@ /dts-v1/; -#include "fsl-lx2160a.dtsi" +#include "fsl-lx2160a-rev2.dtsi" / { model = "NXP Layerscape LX2162AQDS";