From patchwork Wed Nov 20 09:49:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pengfei Li X-Patchwork-Id: 13880942 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB1D8D44171 for ; Wed, 20 Nov 2024 09:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=iJTZ4f5CucrzMYxviWYyhSMDlQZeDpr8A/JcdnbM1HA=; b=Qxd8YbcYsy2SYhPFURxn4fmRM2 yeTnnz4sjQTtKZgOkfo8MugzR3eKyY0bJAWw1u+0uo+e9Mda+3mEi/EFYDz/9gOQtHOMrbv9oxjLk hBvwupL4Nrti8DTGduDx+n3ZEddcOFi38fVn3wiko79SulP8IQ6QW9NZT+yFIZIw2lpDKXIiF2aby mSGwMuX+mUKp1ZI4bAY7Td7PBv+8Q9boha7loZLkNyS6vj4YYG1dHdfkoSNlCpS9rv6XalPa4g5Oe 5VTNRMiNels1a9xh/H5I1qDVHAsgYg70rZunXWT3boOmu8WwC3z1+JX0xn2ZkKzi7VO6JsmYPR6aG c/zZgb1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDhP6-0000000EyFM-2AZ2; Wed, 20 Nov 2024 09:53:44 +0000 Received: from mail-db8eur05on2062c.outbound.protection.outlook.com ([2a01:111:f403:2614::62c] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDhO8-0000000Ey4b-2sRO for linux-arm-kernel@lists.infradead.org; Wed, 20 Nov 2024 09:52:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bCPK0B0Qca+WjC5vJM98va88UiVqfaM50ImXAIzTE4p+21HTtZsTKMhQPIK6yT5U97VyGSCpnlqK8BFUu9LRhKJ1B+Ur9a1k1eKMPsEXAaYXlUeT1F/ymH+cOh5jvAkTnCMWwYwKmPz7Upb4KT49Iik7UHPTzCl/w2iAmyzhziF3WwHGTkbuRO322xEzNvruTo5klPhtvbceMgoSOIcqal6Y0dLPJtFo2Ol8Ok6MzBv+mSwFyXmSwA+OB1Ldxnn2e/5LxsS+dbT/6GHFYKah0MWIrcQwKHVtUs29xdcE9MyFpnPkdWDGXrG+tb2b2iVsfy/purlU9LmmM6eurXwX8A== 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=iJTZ4f5CucrzMYxviWYyhSMDlQZeDpr8A/JcdnbM1HA=; b=x2Er7CehqtIYYJL64yXiWVyNjuNxIyA5OgsIroawZz3yuTef3t1jsGnWUptoWqs+23pnSGA9gEmOnA/UDwzSLU1skrr8+IBAsiwOK0oJVCjgO6MD2MlYE2cYnZ1jgBSOrPJr/H858UoYPkkI5UTXPxWlTuKMYHelujBenwk21vddbAmYfWtjpgQPoyd6C5MJApDiF8X+MC2Q+XCA7VQLMdsOnfFRhD+tcw6uJpQIs72fI+LtaRBsllb9h+9wYp2LZqKwy7pDFsUE53WjkmaY32yU2TZWrS2IbntsQc32vtEeCdVZyiRnP8lNooSj8hwUes6nolYBjO+0AwH8Q/s3fA== 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=iJTZ4f5CucrzMYxviWYyhSMDlQZeDpr8A/JcdnbM1HA=; b=WQYNEcYWPE6dLySVbbPRT29lZnWnKbsJGeNl4cBv5HI5qA6GCsw9sc2wO/dPgb3YLnHOKqB7MSrZjRvUhAKNq3t2m10bNnwZFw9WkRUjGrEDllqaSHt7JF23WEBE+YzaXMWaSS60lY89zPDZBvYeutBkXvovOsjGhPTZYdQiXAuxJHfgtQZl6mBu/2ME9C9q45er01bE0rreENxzQhzUkU8PMR0gNBoLZvvNaI2Wabitq54Vtget5AXxymrdAAb+FwKvaGq5Y2LN/RF0CMMh6n4oxNmiAc8SKw4ad2zx9qjEj63xK65WSaF/X4y6cBIM8FkibJ/jjvnTOjC7ciFTlA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) by AM9PR04MB7522.eurprd04.prod.outlook.com (2603:10a6:20b:282::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.23; Wed, 20 Nov 2024 09:52:36 +0000 Received: from DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84]) by DB8PR04MB7065.eurprd04.prod.outlook.com ([fe80::8af7:8659:9d42:bd84%4]) with mapi id 15.20.8158.023; Wed, 20 Nov 2024 09:52:36 +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: joao.goncalves@toradex.com, marex@denx.de, hvilleneuve@dimonoff.com, hiago.franco@toradex.com, peng.fan@nxp.com, frieder.schrempf@kontron.de, alexander.stein@ew.tq-group.com, m.othacehe@gmail.com, mwalle@kernel.org, Max.Merchel@ew.tq-group.com, quic_bjorande@quicinc.com, geert+renesas@glider.be, dmitry.baryshkov@linaro.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, carlos.song@nxp.com Subject: [PATCH v3 0/4] Add i.MX91 platform support Date: Wed, 20 Nov 2024 17:49:41 +0800 Message-Id: <20241120094945.3032663-1-pengfei.li_1@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI1PR02CA0035.apcprd02.prod.outlook.com (2603:1096:4:1f6::8) To DB8PR04MB7065.eurprd04.prod.outlook.com (2603:10a6:10:127::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB7065:EE_|AM9PR04MB7522:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fcb3d2c-225b-43ea-dee3-08dd09491003 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|366016|7416014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: TFhAM7o/jhRBUUUtaZ4H9gG2qZFXoe3w9tSdpqE9la+chYHaa3/Uv0AOHm7xn0sL1vxo/5GAVpynwhMUfG3nd2Z57HhZ0oZ6vNgzJbJsCRMbE47YV7cs6lhL3yuGqtT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7apz6r0Or7SzqVLFLRK3lxZGYOOi01ylzG66uhQsvS3E5fl9bGNvYnGV6mO7em9pHBJoMmMr984UKWqQ653EJHIH0tDXFmSRLLjcm/sU+7whcGRSMua4+OLbM9fsWyi+dCSHXZERIKrdn8ZDW8rRRW8 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB7065.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(366016)(7416014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Yr1ISahXXPoL+5EL2dQI9ByEpMKGJucIu9wSc5rcVUzwNUKfkZT7FqTXdKVdAY/Is3RWWqEHYEa+ttkoM4kAxIlT1BCSgKsUS2vO20YQN3pzb5IURbEBqDC7n/91VbZ1fkYG9bhbHoQGFtpBrhoidl8bjbN65wme9LgmGh7eK8VlYV3RGgmcf3CH7lR5VbSdIR3jHd9g1jxjKvmYeu57jt9pXSJLP57k9ChumJpbMSfnFbqVkhedIpu0lTiTb9sVi3oGgWE7Tt/NTDWM/KLPCgT6VDgxRCUzrmAo+RhOluOkVTXm10SMfuUm4G++aPho7435I63wp85mipB9pyyyYR5mfKH5mNYboia6TC7QmvagUVh+GLAl/hBXUa2E59rwc15X5zppHuE/IR4fX1Dj7HJYGnPGw6+ueKNDky86DrjlgBcAbn9wCSVrUGg45zavf3S84W2KeQzAAGHZhS/pKev4D8rkGG+OeEgi9bzxofZhpBzAbKuNFfEtkEb5jpIwV6al4QhP5Z8GRLIYzsWgLv+xog89Hy+kKPgEa12SYU0Iq73oMwdDihBiBs2N8XP9nGz+PIF8tDRjpdjT5glKjPdi2dSRqcP9x4P3+InB4rNxUZbVeokjcBjuDjxAaIBZki/cICUX3YRVx/oBkHu8U+aNZtWnaz7aoBb1oV5hi060A5Zb1vH/hvqwDL8zpK59JzfrwUpcyj2CRM/E+3AnUkEv68tD02PbNpyXUvLG3yZYqtP7HZ3+nwFrlLqCUw7V1mziS5hy2jm4zKrffv92Tm8ZRft2sx4XpQ09I+B07g5w9Jf75FzJMGIoSjsOOqhQxZ8ACDIHlUkCc8TQQThVVPHK/mJAjR5L3n0Gt5Q6qVouBZ/DBzTf+vG5z4DCb7Yj/dHPBTyFb/9QW9ojIebc7TwDhSL7uBIXioinJY4WJsd18WzNp8CDGnQ8gcrtwc81eJd4+VRPzXtvexFG9xx+v2ZKGOsoUTJae4y4SnW9IjBeUyocSdELOca36rOOZ86r7vqpvUBgKKYKukQaJ2CYYPDz+q1vtsLUM8ck6sbxjbPf/GqDZgxJqwLuA9PaLCI6l+6lFdZf8D8F7AiU2XFUs8XsJnsH2947WbO89g+/8VnegOEjF9hM5HVlztguwc2hYaiNZbx/o24S2Vk+nNiA0IJaTk7VAplMP7mhXse5b8KiXGKdrUzQJTgklkVSyxb0tGhq41sNfHWoqPUG8Qp8SiKk7lpS23aprDS7vU0a0M6CcEKCa6BpyCTLe8gKz/c0E0yMsRFqO9AaSYU4nWaxLaPkKKVKTj5Kb0JxNtRZG58cIXChlKtavxIbwJfgAhVkrRCOzlSM0FT0pSubqi9K/yWgI07jmAIYJrqHOMUlPaXFGLH4NOMKzoMFH/BXNrpnantek1fKeiKBq3FdC06QX4DU0SPdp4oKYy31YUaTo3grII9C2YCK5d6veCqlxnOgv2akGMUk/zkQLNyFn6AAghwXCbBph2GBS/eU7RcXAsMcbevgRM0UqXxfNfpJTOpIcGyNlfRwI7gPYylUC+rOrfDmkIKtUQJrWoeezUB1mPYMCZn/uX4/sCcODPDaCOEL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5fcb3d2c-225b-43ea-dee3-08dd09491003 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB7065.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2024 09:52:36.6100 (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: gdIk15F/dnjpZIBjltF4XR8CeK3ihMnkDKTs/rHVcePG6JYmXFHl9974tKgvFV9YAxNjl4XvHK44OJPVnWAGpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7522 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241120_015244_729173_9181F201 X-CRM114-Status: GOOD ( 12.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 v3: - Add Conor's ack on patch #1 - format imx91-11x11-evk.dts with the dt-format tool - add lpi2c1 node - link to v2: https://lore.kernel.org/all/20241118051541.2621360-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 | 875 ++++++++++++++++++ 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, 1723 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