From patchwork Fri Sep 20 08:54:08 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: 1987810 X-Patchwork-Delegate: tudor.ambarus@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=BppZh+yc; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=mFh82EOy; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X95qm3Hfyz1y27 for ; Fri, 20 Sep 2024 18:57:24 +1000 (AEST) 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=+1oD3e/jmVF31lc0/wDiW2sDTVuR+U02FeihYZUfADw=; b=BppZh+ycTz++VycxTQaJREv0gI Ttaeato1ZPToJAmQCB8ypYVjfae/Sjp/pvIBJp8XTVYBEFqYITvf1Sx58oCzgJizt8LSONrNNCwU3 iLeq35npPOv3eX836hliPceSd+XR8tBkdA9KggdTZ5boBc+JEaRhHhJ4wwD9K4tk09qAPuvQRy6pt dTmillAoj2jAX+l1A2fS1PntZs8Bn5lNovE6hQxZfDCJ1sf44HAohW7HfxceSBaqFAoOZTC05+Nmb LVvGeyVZoOb2vn+ESX3uqkeIE/Ym4VY5Ol1EeIdHKBvmnVGocbItRACkbJQMPuVmyeD1YwKQbXGuU U9zKfH+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srZRy-0000000Br6n-3Mgu; Fri, 20 Sep 2024 08:57:14 +0000 Received: from mail-am6eur05on20609.outbound.protection.outlook.com ([2a01:111:f403:2612::609] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srZGs-0000000BoeZ-19Ep; Fri, 20 Sep 2024 08:45:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QzXAPg4iu4WuTyrS+YMXo/tQbmBugaqiDkeauwDLEEfJtTiUQACH0X8QiZ37C2yPLUyLfsHkl2pJE9HNyRzPxAOypVBcwW7fv/2Au2EVEX0+lAf6j9extfDsy5UaGqs762Ey537I6/qA03GCoZva21m4zWji25S7nh1DMyrbpiIgoAsCbTon+AoqYQiuxE5reDcVKgME/9Szo0RNJ04G4mGKRzTo5DdjuAlzGCUe7cEusYZiMpVQUo7HyH7GRxrXc3SgSNOYiGS0eahjvS3wHbHLsUOzc14bG3xzULyoo6BmYB/3LEiyOSnGBQyY8EG3WUjDY3S5zogZX08VD64Wag== 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=MboKSzgGk6AJ901e0vhMqshKxikNQu03vaA4EA+qlj0=; b=wTbCPZSDhBaRQLu5c33a64M8wr3kwdHZcvc3QHdFw9FEpyLfePrksdZ+O0aPmZ6hbCSJJv8J2YlGpA7yr9nhysAzjfzcRRZy9dDbkXr9aqVM70a+r9Y4eByMTO1Tx4VoTbxMEgC0a7sHWuf830l7X/8KTe5ZIK4YuZzMSEBIXZ60NOVuEpLcPbCDNlfnXfq90uogmkKtH0DjHFWLRYvVf8JjzOxj/bmOltcYuK4w6TBgGpET49Txrt3dBH2oWHdrpuTWOE5DVTimhpAg/J7zp0Eyn02+auLDBdXp2dO8fQlqLHPDDaEaTjWcQjU9uPCS8yrAIXhESS/TFdsNf39X4w== 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=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MboKSzgGk6AJ901e0vhMqshKxikNQu03vaA4EA+qlj0=; b=mFh82EOyQQ27/Sy58tW3G/EdjAN/Y2qaE4YwF5mUV4fiKOWGrKBJipbZNLBrwqqgUxbfdMb9mqUg9GHg/YGk1OrukapZNZgAbxrqWZpCmE/B91CGl3ZAEd5e5rgoOEoiXKIxTrvyBLCnxXagMwaRFA7GINqLF1dgTHorMZjZ9he9rVCvQ5sKRvH6aeEfNTdbxXnItlFuLRKepbnqV/k7M1PK+rTi1td8rRFkkdzu3dFHoc55JovT/HtFo6joBcs2F9TF5LEnb/6pdpNs0N6Rl2uR88rrBpdNISGNLy5H6QRBcAwXLOPLu41hb23ZScmu3YA/Fv4UW4Z11NQOEzrd5A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by VI0PR04MB10613.eurprd04.prod.outlook.com (2603:10a6:800:25f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.16; Fri, 20 Sep 2024 08:45:37 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%6]) with mapi id 15.20.7982.018; Fri, 20 Sep 2024 08:45:37 +0000 From: "Peng Fan (OSS)" Date: Fri, 20 Sep 2024 16:54:08 +0800 Subject: [PATCH 3/3] arm64: dts: imx93-11x11-evk: add overlays for flexspi flash Message-Id: <20240920-spi-v1-3-97f220c2e10c@nxp.com> References: <20240920-spi-v1-0-97f220c2e10c@nxp.com> In-Reply-To: <20240920-spi-v1-0-97f220c2e10c@nxp.com> To: Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Peng Fan X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726822454; l=4277; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=ZqvguUiQsUfx/RBcd1BVPDtrroCvCtLF7yJnubT2Mz4=; b=vH9oqOJk7x2eJzLiJyJ2hTQPTBn8JCu8JXJxPfarMUmkZeRexKph0F3qt5aM9v9tC0dPFxCZs 2J+pgi6GtG5BfpUp3UihUXxpHnaI0CD9gtuQrrcjVGdKF/1RzCm5kN9 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0035.apcprd02.prod.outlook.com (2603:1096:4:1f6::8) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|VI0PR04MB10613:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a0ab242-5c12-49be-342c-08dcd950996e X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|7416014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?CwwLVWlUcQ80+9uPqPhzXj/Q76YucaV?= =?utf-8?q?mqPt6ejmpS76n09jO3AUh/tFGKEOjo0gp7t231hvGewfYJTmSYUIjNMTq4Zt8KykU?= =?utf-8?q?O1f5iAJFw1lowL1OQc0L0pu1l6n4Nh8iRK0w9NlxGztVbHlShng5Je507+0OLjNqv?= =?utf-8?q?CQBOlmSJztSg2ICuXTLAIwUYRhd4UawxClBUJKhCJomO5uE1KYx4fOq/MHsRcWajK?= =?utf-8?q?ZPmPxs/1cP64J2i2qh6LqiujDZLhDGa6wqb+PuSB/7VuclASKYKNAMX0NzNPfWFhG?= =?utf-8?q?PtcT9jsy8UOfKoHe+mF12tfC1mgEcNeP/LdPlLdP1I++Q5fWdrOq6cJ5uz4Yc3zA5?= =?utf-8?q?Xc2NDY3Feck8pKf03keAPWUirOzTuBszdtvnEDtacc4mCQiwHpkbbPRGMBIdtGkkQ?= =?utf-8?q?Hwx4TV5IMJKkeuAFSiet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TZiSiXeovbqSar2+RQ1TWRB0DcfCeAIFs+vYJy2T?= =?utf-8?q?21efgzVK8EmZmBGxpMilNxbfwOi9tK51u2Oi1m7a4gPlf9QxUSIZCXk=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(7416014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?drkV5t7Ls70KixtJaTvjYw64JJcM?= =?utf-8?q?r9lJxkHtRkgit0mL7TgiMtJIqcnwOmS/YTFGHkAtiAIQx9LioRUV3fSPIIkthxYG6?= =?utf-8?q?7qSBj9gdb+nG+RBT8cf30H9AJMSmE6YwtPsYcwIERTx7KBiXXk9SVTc0iAycViAh2?= =?utf-8?q?gcyooygxQtCwWZwpcoEXiB+VZL/xvgT3zBbb7iY5NAcWErhIm4mrCIyLfyd/CIoeC?= =?utf-8?q?btkjzPtrFhSeLZ2zsa1WWgDWAJbYFEfRp51BoMMA8OXxr/5Q84TBbtZyghl9/InM2?= =?utf-8?q?mH6RvxTGWvl4DpO/k9g4LzvLDoZvT7NWfW3d45DgMedixt11yZVC3PeJOxH8/XLti?= =?utf-8?q?jOm2ApvgIiipN2H+DkYEgIObXvHiBKzUoSXxvkXhpXW4RYdwbMAUz18wXOTBsTw4C?= =?utf-8?q?y6BhuJInjs8isSz/A4XWFEfzPYn4FbWydzli8nI+u8uAR2fZ+TMlse/cGbxV3az2D?= =?utf-8?q?kNSjCyLiSMxjj7XEQF5o76gMHqzRRtujjTCOIzJViDNahBSts45H73jhBNWz2XoMF?= =?utf-8?q?DTtoTJOFsIi4AHYq6l6YzDxv7hlabFh/yW/DCQGqFbaRYuDvYQbVGb659gusX80L5?= =?utf-8?q?aF0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Fl9JNkZ7Y5WNs22Qr1vm3/aFDhx4NEx86ug6RxCoM08bNdtrHQBQdl8kO5sMfgu?= =?utf-8?q?B4EgrOC3LXTe?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a0ab242-5c12-49be-342c-08dcd950996e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 08:45:37.5540 (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: aJ3r1IC7brNChQs/76KleQiejcXTM5p7Lkfl1zCzI3lKmGNUgELGLD+NehKcuqoT7XYnekVfIJ5pTrFDGKXjXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10613 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240920_014546_365626_26D3535B X-CRM114-Status: GOOD ( 13.07 ) X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Peng Fan Add overlays for the flexspi flash connected using M.2 interface. The M.2 interface could be connected with M.2 flash card. The M.2 interface needs PCIE power to work properly, the flash card needs 1. [...] Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 ARC_VALID Message has a valid ARC signature -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 ARC_SIGNED Message has a ARC signature -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.0 FORGED_SPF_HELO No description available. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Peng Fan Add overlays for the flexspi flash connected using M.2 interface. The M.2 interface could be connected with M.2 flash card. The M.2 interface needs PCIE power to work properly, the flash card needs 1.8V voltage to work properly. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/Makefile | 3 ++ .../dts/freescale/imx93-11x11-evk-flexspi-m2.dtso | 59 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 10 ++++ 3 files changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 9d3df8b218a2..8f82aae85fe0 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -241,6 +241,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqp-mba8xx.dtb dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk.dtb +dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk-flexspi-m2.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-14x14-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-kontron-bl-osm-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-phyboard-segin.dtb @@ -249,6 +250,8 @@ 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 +imx93-11x11-evk-flexspi-m2-dtbs := imx93-11x11-evk.dtb imx93-11x11-evk-flexspi-m2.dtbo + 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 imx8mm-venice-gw72xx-0x-rs232-rts-dtbs := imx8mm-venice-gw72xx-0x.dtb imx8mm-venice-gw72xx-0x-rs232-rts.dtbo diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk-flexspi-m2.dtso b/arch/arm64/boot/dts/freescale/imx93-11x11-evk-flexspi-m2.dtso new file mode 100644 index 000000000000..f307789546a2 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk-flexspi-m2.dtso @@ -0,0 +1,59 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2024 NXP + */ + +#include +#include +#include "imx93-pinfunc.h" + +/dts-v1/; +/plugin/; + +&{/} { + reg_spinor_vcc: regulator-spinor { + compatible = "regulator-fixed"; + regulator-name = "SPINOR"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <®_m2_pwr>; + gpio = <&pcal6524 20 GPIO_ACTIVE_HIGH>; + startup-delay-us = <2000>; + enable-active-high; + }; +}; + +&usdhc3 { + status = "disabled"; +}; + +&flexspi1 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi1>; + status = "okay"; + + mt25qu512abb8e12: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + vcc-supply = <®_spinor_vcc>; + reset-gpios = <&pcal6524 12 GPIO_ACTIVE_LOW>; + spi-max-frequency = <133000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; +}; + +&iomuxc { + pinctrl_flexspi1: flexspi1grp { + fsl,pins = < + MX93_PAD_SD3_CLK__FLEXSPI1_A_SCLK 0x3fe + MX93_PAD_SD3_CMD__FLEXSPI1_A_SS0_B 0x3fe + MX93_PAD_SD3_DATA0__FLEXSPI1_A_DATA00 0x3fe + MX93_PAD_SD3_DATA1__FLEXSPI1_A_DATA01 0x3fe + MX93_PAD_SD3_DATA2__FLEXSPI1_A_DATA02 0x3fe + MX93_PAD_SD3_DATA3__FLEXSPI1_A_DATA03 0x3fe + >; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 8d036b3962e9..2eefa65fbfa8 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -78,6 +78,16 @@ reg_vref_1v8: regulator-adc-vref { regulator-max-microvolt = <1800000>; }; + reg_m2_pwr: regulator-m2-pwr { + compatible = "regulator-fixed"; + regulator-name = "M.2-power"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pcal6524 13 GPIO_ACTIVE_HIGH>; + startup-delay-us = <2000>; + enable-active-high; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default";