From patchwork Mon Feb 26 13:20:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13572098 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 20272C54E49 for ; Mon, 26 Feb 2024 13:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5mOBOJmLJiU599K6t/+I7qSD1+uFWfzK3vn0se/dxos=; b=LK+mD9lZ9fBTxrsK/K5eDlsVyW Vx4FPMWRw/NJPyXpEkrTvtLdWbsxE5Oc67g8tNoXXilpOhEX8uM0qeJr9PxRYKIQ3CSYHBX1MMEwz FmQl2S4bAbB1XjIk9tY8/E73fxylXpf76RSI4rgeNPu6uxxU7r3Vea39drmO5NarxqievFwCseHr3 SSC8O5uxIHseQAeovCMvvOwTimNx9jx2fDuMHR30aezC5NI91CCbv3eHlv5JBvGDktKP3Q2TRDjek xmZEbiZD+cvLn415YbhH/9mXxpqswDfiNqBJ6wwyF6RMJVRakRmvrLFjgTXUwchVggz+YIkaRuuv1 0zylrsCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1reamU-00000000lpP-39Md; Mon, 26 Feb 2024 13:12:30 +0000 Received: from mail-ve1eur01on0621.outbound.protection.outlook.com ([2a01:111:f400:fe1f::621] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1reamK-00000000lhp-06ip for linux-arm-kernel@lists.infradead.org; Mon, 26 Feb 2024 13:12:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jDYqXY4XuTwA7L3qx1oplRQVSP6Pv/H7JZMQudDzFrEqAMMO1rtjBQcv7jK/kKfgbIxv14D6a76naCTCh27JHr40XP9fC0ZsB9elyXCclOJgxItl4Nno2o8FEfrJcM3uM/HUKvdupNgDiX41VY9HuqCvMahCc8niJTTGsDlxH7TWgnC3ZfCSXawPJOjhfx6fNvzGDho5wBPyBbIpEYNQvqeDjKEdyZIdA5rpDvQ9KdTbWo3oKxDnWRdLHh64mxH7YDwyNhcHB6XQaqbV6j5IuftrmTl2eBYAlFcFKaXEb+PHZGZ4S5VhX0+9uSfKm/XeglvVbr5pLvQl9N+6dDyGJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=6v0eXBcfiu15vUxdy32/0jKYbUrRXl+9Vr5ZHg6q9Yg=; b=K4EKDPysgS+BJaJkB4pQ9tIzaMyDx7sZSg5+yEGmgP3LRlFYjt87lOUyc+tlCnaVw0Vu7p6tzwbzn5JOzgi8lW/5WfK8ZtonTbGwpjNB2p966llWsTPrfFPsDJU9lGEK9AtHQHxat12GAPSriLz1dE6LtFFGxjwzcGmsciwEOGKUotd1dgjZ3P/2a67cxfzN+PEKGn4Kg6/1xZlgE73eEG2hPWT5JoZVh1LPerch8mqJYqsg68rfrwyhZeqThz7+jIuOTWJysNxUqN/gBJSX4cKWHoX6+SILKByL0JmwG62hO1ZbuqvT2eSxc3TypEPXOA4yZ6AvRfPXOiM7bS53fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6v0eXBcfiu15vUxdy32/0jKYbUrRXl+9Vr5ZHg6q9Yg=; b=HlHk3LHCS5wNJX9A+G4rdeFZGEuSQHuqBh/Qqji2N3C9Q9IjRxQLM0N+FV3e92vc6tNpTA577FdlN0OOL64if7grlP2Fnd1O+F+/+DUh27+mUTgIh60qYe54XS7CZG3UtHZuFjMABqb72Ylkt0HiyfAwtHiPBvtxk2t6AvKg/hs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM7PR04MB6903.eurprd04.prod.outlook.com (2603:10a6:20b:10d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.34; Mon, 26 Feb 2024 13:12:13 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1232:ed97:118f:72fd]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::1232:ed97:118f:72fd%4]) with mapi id 15.20.7316.034; Mon, 26 Feb 2024 13:12:13 +0000 From: "Peng Fan (OSS)" Date: Mon, 26 Feb 2024 21:20:18 +0800 Subject: [PATCH v2 3/3] arm64: dts: freescale: add i.MX95 19x19 EVK minimal board dts Message-Id: <20240226-imx95-dts-v2-3-00e36637b07e@nxp.com> References: <20240226-imx95-dts-v2-0-00e36637b07e@nxp.com> In-Reply-To: <20240226-imx95-dts-v2-0-00e36637b07e@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708953624; l=3563; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=zNZu27gZRyyDdsvY8YsKvNZ3I3fm2ZdTSwV2zyxhD20=; b=/2WNVjbBBR1xqBCwVWlEZFwTzaT/J43hG4uXGcLo6WlZiOEowlYlq+tW2lPGCYWGcqT2eELDW l8yQC7BFTZhBjBi+OsE3/fOvfQQorji/WbPYey/iw87HFmpvTOOp+zF X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR01CA0040.apcprd01.prod.exchangelabs.com (2603:1096:4:193::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM7PR04MB6903:EE_ X-MS-Office365-Filtering-Correlation-Id: 72aa0d12-5b95-48e7-42e6-08dc36cc8c0c X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EQNaGTdBfIwHyas+Ppskl/4MyNY9mYfLNUEh0snjNX6GUenBXQV0AiSd2smmj6TU/f/xkMiG5Y68QX+7WRn7luc/NlkRCQGrRoxDTTmnovVnv39+fNZYFzBaOALiAMI3+FGVuxd58FMGKuA9u9QPXDujH7Yaxi29Yhr836205tTTMbIPXD7zipVoL/yPeG/hqexerV5ZSoZ6K7pKQwXgcivD1BtGvRxBoJEXBG4pnaKEU0Ju0rmIxh7aqx3WxVKoENMwUYjJuUHFMPxiUXMotAZOG+rAj84/TcgsS1njgYWkAslhe59K4yLF9TeJbcDua+LyK2FD27ft68Zx2krfP2K0vKaos0A7w50/CVaz3b10zW7PjVPqZm0ELfk8f+Sw83fM/P13BP7cDds/cGbGGu7fYvTBeGofcUujxgN99XxJruDXDK6wyJzqnx82b6mBakbAgNHjLYiuDTSSeFTY8LcfsUh33cs/ifltBkcyeWbqz5tp8QIQOSVLNMsWhIfrNVxnJPGXFoNtvb0/HbHpAzzssLylZOSFve9f/cmcFcuWki1JpbJC16/ibfv/vVbZc4YlCSvwTR/afFXTGXYY8HwCjQ+Ry/49yYZ0LoL1WR4byaJJPIVZOjOpMpaANePL3jrx5aRNO4fimePvMNOCsM0lJYgRknr6b+h0XmPP8KkpgLflLnZ1ghqRfIX9AV0VcRuv4ep/63rzQnfXA1hXwmGOBzWainjosG4bEvPVMBs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VowyF++Jkm0g4Tmr9HZd1flG1xXw?= =?utf-8?q?aoz6eQxCa6nntp24aCnlFoeWj25I7x16bIKs4omyM9CE/ql9pcUKrAnFD2yeDKHdj?= =?utf-8?q?xfl9AY8PNjN59e2mm53OFry4XidZEgIp5wMIQLTvBak5PqAeobimtxXU2K77iRDcb?= =?utf-8?q?12HBnEENHb/J5KIRa1Cae6MN/d2S8ZSu9K/cQdFjfTJNbH1CJ5QUdHpsZQOjfGJv9?= =?utf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8QfM6WjyCRO3RWG5PoR/hto5qnMYd/ueVmkm0mIzq6r27PuYJUhDQjNHObDyOh?= =?utf-8?q?NjCq97p30lDhLpJBo16bqndVVSIinb14mIBkOyvUvXwsGNrwkcXqXzmw+X8HaDwXt?= =?utf-8?q?E3kTb619FyT6x3a2NBAnykAWaL2oq2nev/wOb7vqq2F6TxTD0/lIeQqW3d+flxU9R?= =?utf-8?q?c1+Mya5Crtnkyl3HJKfcDDKBkZjO1ydNgHF1i+KuibGgIJVy4U0euRuYNrKyL6zRE?= =?utf-8?q?LPGECXdzuSD5k63V/d6DS9vkYmTIuaB7GDGlTpxCf89peUfoTbvdtqqErC0kF+Y4A?= =?utf-8?q?R7A2in/DxWWqB/UW7geCgBXao4884k25dZ/Bdt8KYO+S/U9J9AAcjMHisDzlOV+7D?= =?utf-8?q?xCPV27Gj/GK24NIS90moFB+U2KrlKfAoYzWkXPsYAig5RFFflhW02qHG2lzXCMgI/?= =?utf-8?q?8dOJqFikG7wn?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72aa0d12-5b95-48e7-42e6-08dc36cc8c0c X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2024 13:12:13.2289 (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: 5WbHmz1zaXqWueoLTkxwJb4IV2/9f1U6cJ5Njuz+tYkjlW57JlzWYzOl73y6Nsgu3NmoVcxaX/lCrCwmYTmlww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6903 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_051220_177131_02E0B708 X-CRM114-Status: GOOD ( 13.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 From: Peng Fan Add a minimal dts for i.MX95 19x19 EVK board: - lpuart1 as console - sdhc1/2 as storage As of now, because scmi pinctrl support not ready, so count on bootloader to set the pinctrl. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 115 ++++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 518149d295a1..c830ff88f5f8 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -209,6 +209,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxca.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxla.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-var-som-symphony.dtb +dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-evk.dtb imx8mm-venice-gw72xx-0x-imx219-dtbs := imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-imx219.dtbo imx8mm-venice-gw72xx-0x-rpidsi-dtbs := imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-rpidsi.dtbo diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts new file mode 100644 index 000000000000..ffef1cd9eb92 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -0,0 +1,115 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +/dts-v1/; + +#include "imx95.dtsi" + +/ { + model = "NXP i.MX95 19X19 board"; + compatible = "fsl,imx95-19x19-evk", "fsl,imx95"; + + aliases { + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + i2c0 = &lpi2c1; + i2c1 = &lpi2c2; + i2c2 = &lpi2c3; + i2c3 = &lpi2c4; + i2c4 = &lpi2c5; + i2c5 = &lpi2c6; + i2c6 = &lpi2c7; + i2c7 = &lpi2c8; + mmc0 = &usdhc1; + mmc1 = &usdhc2; + mmc2 = &usdhc3; + serial0 = &lpuart1; + serial1 = &lpuart2; + serial2 = &lpuart3; + serial3 = &lpuart4; + serial4 = &lpuart5; + serial5 = &lpuart6; + serial6 = &lpuart7; + serial7 = &lpuart8; + }; + + chosen { + stdout-path = &lpuart1; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0 0x80000000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + linux_cma: linux,cma { + compatible = "shared-dma-pool"; + alloc-ranges = <0 0x80000000 0 0x7F000000>; + size = <0 0x3c000000>; + linux,cma-default; + reusable; + }; + }; + + reg_1p8v: regulator-1p8v { + compatible = "regulator-fixed"; + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <1800000>; + regulator-name = "+V1.8_SW"; + }; + + reg_3p3v: regulator-3p3v { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3_SW"; + }; + + reg_vref_1v8: regulator-adc-vref { + compatible = "regulator-fixed"; + regulator-name = "vref_1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; +}; + +&displaymix_irqsteer { + status = "okay"; +}; + +&lpuart1 { + /* console */ + status = "okay"; +}; + +&mu7 { + status = "okay"; +}; + +&usdhc1 { + bus-width = <8>; + non-removable; + no-sdio; + no-sd; + status = "okay"; +}; + +&usdhc2 { + non-removable; + bus-width = <4>; + status = "okay"; +}; + +&wdog3 { + status = "okay"; +};