From patchwork Mon Nov 18 05:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13878086 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2088.outbound.protection.outlook.com [40.107.105.88]) (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 6622A13A863 for ; Mon, 18 Nov 2024 05:19:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731907165; cv=fail; b=DpK70N7PnUGYCmRrxmjRu9vQKCwUiHWM9AhJAMjFA2MqUcZYnoYDEUxkq6yzS/JEwED/ov+6UaYP7Vq7+3ZxS7DuTfCrMxGQsUjHv7BfHA1edT8lNr4tes1+N62l7namCllOmce4koPLfpxTNYHpn8yfTBeCeySatH+c+lflZis= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731907165; c=relaxed/simple; bh=yAe/64ZV6lGI7WEty13Vxe12JpNAMymEOnquFBTennM=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=mWhjQ2nHpTw1bILQxirffaMlrDhFlGC18iuRrqAfJ+4WB4QdrXm7vmFePRnotUI2nNc5FNDdHZtDjzBkDD7HD41hwujupT0K6IgLIlKm/ZtoC+dElkn/wjf08d3BNmGT+PkR6Pa3Eo0M7HJI+dF185EGxNmPNNeMLvzGyHXY+sU= 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=DG9O8skx; arc=fail smtp.client-ip=40.107.105.88 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="DG9O8skx" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ggbusprMn3HTiRq4T9n1079OGvy7u7O5Cw+yoA5vAyCbElU2D/RmQICD+z+PHUsxwO3EiB9etMJBSoSmQp33AKJ0Jy6revF357BEsP/wBoBuU5Jju1/Eq1RVyT9zSa1U6ZoWhwlcWsdJqr0TfWIN/lStQe402/4+NgDQ2+EaygU7xLveDtXwukdh6Ur2zqEgz23Aj5wC0QZl/oHAVjz7ZvmF6+JQNUcWWiWdiCRmv22786+GsNS8VYHyZozDCt8Stn4lthq1E0odn2onXx1MxCYPF66vzAyf5X8YNNSGF9+YuAgz4AmoJWRQvlDSCC7dP9b+eoxfUbU5hOXfnwGwIQ== 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=vEwTvyWGvX271jza1v21caqYIlFSAYV0ATkPMxEnHVE=; b=hsRnxW+9uFdM+lFFRo5i04AIUTPNFrv402pq9hBUBQqz+LUDyqcXz1GFo5mmiRt6LN1AEqDV889nWJS2ukLnUJF/VYX/bPJ2WqLnWM34VrM9dZrd9Qkhl9gUeL7ttbr60h7xbQpaD7QvGuMoGQ6eMJzRtP/sxItsms01Ddvj11EJcWpr6eIEV5IOBZVKCY050M2r2Pml4hNdxMWCa3KTdb+nQ2TmuSa0nqCkzhiijhNfkU7efMlE0QYdsiG77QCtQLvA3J6fOECkDwINqc9MelyzRAOePiJSqAnF6vgWA1BokW5gAMu+F3H/GtyJOW33r421pfgXCz92ucydP3ht9A== 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=vEwTvyWGvX271jza1v21caqYIlFSAYV0ATkPMxEnHVE=; b=DG9O8skxIpBerUm7DJIPuv9GpDadn/Tv+OQugdYFUlnOja6UYMczgRaSS5gjhNxMVUJWtZE9p2jre5ZaHaZikFrflG1jKVpnWTNKLHfAwUiPwZjdJNiNRK+chWleUkPogA0eZA5ViQcI+Zh7sNiHeXk84CL3KHWof9D0M59GG4Ab39lfMVrY+JoydhJf8zN0BDJb3hHGdOWYNZaYoQ1B7jb2SbYeCcb1IqLJmlCPqA/cycvDu7zMvlDqHrIK2Gq5oNkm9SAgILFrDBRtsQ/nsilSoEvkBDNEcKzvej9QIwVfs4MfVTxxYQncSOgy9/lFTxvyiIZIcdvo1vgS0IL4QQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB7058.eurprd04.prod.outlook.com (2603:10a6:208:195::24) by AM9PR04MB7508.eurprd04.prod.outlook.com (2603:10a6:20b:283::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.23; Mon, 18 Nov 2024 05:19:19 +0000 Received: from AM0PR04MB7058.eurprd04.prod.outlook.com ([fe80::d7ed:56bd:30e4:4ed5]) by AM0PR04MB7058.eurprd04.prod.outlook.com ([fe80::d7ed:56bd:30e4:4ed5%3]) with mapi id 15.20.8158.023; Mon, 18 Nov 2024 05:19:19 +0000 From: Pengfei Li To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, catalin.marinas@arm.com, will@kernel.org, kernel@pengutronix.de, festevam@gmail.com Cc: francesco.dolcini@toradex.com, joao.goncalves@toradex.com, marex@denx.de, hvilleneuve@dimonoff.com, peng.fan@nxp.com, hiago.franco@toradex.com, frieder.schrempf@kontron.de, alexander.stein@ew.tq-group.com, mwalle@kernel.org, m.othacehe@gmail.com, Max.Merchel@ew.tq-group.com, tharvey@gateworks.com, quic_bjorande@quicinc.com, geert+renesas@glider.be, dmitry.baryshkov@linaro.org, konradybcio@kernel.org, neil.armstrong@linaro.org, arnd@arndb.de, nfraprado@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, ping.bai@nxp.com, ye.li@nxp.com, aisheng.dong@nxp.com, frank.li@nxp.com Subject: [PATCH v2 0/4] Add i.MX91 platform support Date: Mon, 18 Nov 2024 13:15:37 +0800 Message-Id: <20241118051541.2621360-1-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) To AM0PR04MB7058.eurprd04.prod.outlook.com (2603:10a6:208:195::24) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB7058:EE_|AM9PR04MB7508:EE_ X-MS-Office365-Filtering-Correlation-Id: e8ff7d80-9e4f-48d9-a6c8-08dd07908da1 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: jeLWcSGLhES6fmuUCeuJBSCJ+gP1tQb5ePd1IFa89b3mtxmWFBgzFtmzhp9g+0b5pjsO6VePjJm6USuppfAUWPk4x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x4HYtohiNhPdwi+TvkQEIykfTlNhqVXqeA1TrDJO5k15jwMkD79K7rHEl8xZIGNl6A+AeRgl2k3R6ofYr4Vfl95EjgIcABovaZhaTW8BdsJSsHCAkvCtST/3/AjCyJJizJXVLfz0tRQtB5VjhVdvIZblNJg8SJAnUJjapRdzkpbCIWEOPa6kNgLLufM8b865Prthno00ZjpN2rTAOg4Fu7tPGeuip/sCKATeD2a8Etid X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB7058.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pKVbyOd18MR6qPb7EVPPrPLUmDDzHanxZgNtA8E9mT2h6NvH+gXkT34ORxh98o8hNUFh3TY1IU8NpFw3ArtybkOWNrTNMxwOeuBaSgCzrDU0K0b1mwLPJaS0fcyxG9MK2e1Q/asDKCg/eR04mJVzP38mecUK3tBoLcuE5mUlt7njieVCCiaz9f8+WbNgk1p6C1iHXATpNUu7LR4F2MW/IY3ISC6odi4R8RZvtW2w4p34/Z73197mJZc13VsVS4M2OWs9Gp1su98D9tWOS2BDmQYJs6gEWJAHCUimQQFw4J0992EGvyevIW+l2Iv1vxtKqtcVRDM+T+gZeRnpBYdf/6hx8wZxZ/+BBuAXmRdI1ktYu6DjUQd9CYgi0DfMNSaMoaVNO72V6gYU+71O5zZ2paeiWrz8/TPzUM8mxLict+eXO3YzT1yztsDsZl/PHNV5vXRelA5IG7uYGafDEoqcZAwI3IDv47JZwgEewzzNXuA8WWpm32Dg+IJw5ouwQCQEe9FkZkpYe/bNvFAX/fQWFsADyG3PtBlzlAah3g6cZGwtY3Bi8EWV8OxXYTqCKtcYhgVDGev1nbFq9O4eH9kZ3V0LHvfHzJOYXw61j9rH1+DRVObxt8687iez/Nu4tWGJwdeJVfgdgfiJ5feZwN4pLSprtXDsIkfkhQ8KZrphlSBzuf6mJGV7e9Tc7o4J6Uw9ACzPDLkarCeUJskIDYprFF2TY2WJa8+rlO55okNjSipKPZxEM71gjLTMcDkmVy1Km4GcGew2sh1twEUCxGY8hdqqDiSfJ/VmCicT1qfoJ2DM1/6/C4OykpZqsYSHXwGOprhokUgUqhAp8uI173nSz6d9xSsk/mxkBhEu1x4ASLU+WXqAV7fw0A4MnaGanOUS79sfUbS6rWxSGhvl9U77cCnsGO9B67OzK1069XHUauyLfPe7x6PlszLbPwQ35nj87t45dVhV59ZZNK4lZbixrVpyL1XrQmdyChwK3zvFC432eR8lBbNulZmwAg6hInaKlqcWX/MYpqBK3kycuYoM3VHXP+aI5HTHmmkOjAA2GrsFrzzok/jWysEjiDrhkF5zgHoyyC0dfXDg1PoZmV7HTxbwV5OQZYH/hrExpX2aZSzGFe1OxO6EH8qHpaEPXRn5T86zrioQZ52RY6RmWh2UfWkyFP8LXfkPBfw2YaGOPXZvtDIGt9UfsFM2069HxkPQdXpsmgg2AAjyX6sIbL884RuKehwi4uXWge9fLsmyrlIp1/eCW9uv+GwneqIklthOTtvsMUTQCM3YY0UVMekSualWxQIRhZUICKco76GBbqf8T54jJh7HXeK60NOS8aVc5I77xrTWAdPQV7IqNPf8/f8ZzfoPlpy3erJy0/tL9EtafZdZ1zuHKHYzOi1Ppy+TNMKqKDB7StK2JNlg4TA/ElceDPhXdP+kSm5VPZoEJ8udm1fiFgxSoyBeaby6JhcY+IXPJ2xmI/X5ICdFJojExOztGHZtPYM1QIitcZogI7vPaMBv0kCp/pC/3scdTgGIf6rx+CF0Z9enqo/T/x9ntcGm8Vrpe0U9rqmjLFFFYtEw/eS6Ily3sZprs07qcSuh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8ff7d80-9e4f-48d9-a6c8-08dd07908da1 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB7058.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2024 05:19:19.1794 (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: MyfwoED+VpFxioroylVQK3SMsZCkVZRQO7eszq+mALwDDtQJ8LPMYaXZKgcBzc2Q3z5fGya1edNaipWI8FLt1Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7508 The design of the i.MX91 platform is very similar to i.MX93. The mainly difference between i.MX91 and i.MX93 is as follows: - i.MX91 removed some clocks and modified the names of some clocks. - i.MX91 only has one A core - i.MX91 has different pinmux Therefore, i.MX91 can reuse i.MX93 dtsi. --- Change for v2: - change ddr node pmu comaptible - remove mu1 and mu2 - change iomux node compatible and enable 91 pinctrl - refine commit message for patch #2 - change hex to lowercase in pinfunc.h - ordering nodes with the dt-format tool - link to v1: https://lore.kernel.org/all/20241108022703.1877171-1-pengfei.li_1@nxp.com/ Pengfei Li (4): dt-bindings: arm: fsl: Add i.MX91 11x11 evk board arm64: dts: freescale: Add i.MX91 dtsi support arm64: dts: freescale: Add i.MX91 11x11 EVK basic support arm64: defconfig: enable i.MX91 pinctrl .../devicetree/bindings/arm/fsl.yaml | 6 + arch/arm64/boot/dts/freescale/Makefile | 1 + .../boot/dts/freescale/imx91-11x11-evk.dts | 812 ++++++++++++++++++ arch/arm64/boot/dts/freescale/imx91-pinfunc.h | 770 +++++++++++++++++ arch/arm64/boot/dts/freescale/imx91.dtsi | 70 ++ arch/arm64/configs/defconfig | 1 + 6 files changed, 1660 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts create mode 100644 arch/arm64/boot/dts/freescale/imx91-pinfunc.h create mode 100644 arch/arm64/boot/dts/freescale/imx91.dtsi