From patchwork Thu Jun 27 21:59:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13715075 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2083.outbound.protection.outlook.com [40.107.241.83]) (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 10EAD1A2C31 for ; Thu, 27 Jun 2024 22:00:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525632; cv=fail; b=g0Yyb6BNfRR1f8Zchr80XnXMz8oJL/e8Rmp0fJn4WEym2li3Mi1Y6JIwlb9bJyt0xwg4P672iS6Q3causbaN/E8APcv6mYs51hz2VIHLjhFUSAVWojb5zpjvViyD+oJmz7DhRYGM6qZdkbyc9mpvnJTYcuVhpOt9HkyEt9ENXOQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719525632; c=relaxed/simple; bh=4MHVNdNLwMLZaGZZPpkfsHMLfOrLWkQuSB9MA4L8qgo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=LHeQ1FKkWRyRW+/gwiR1f7sOGK8sLbcu+/KODTem3IS0qysVwEMk9rX1eBq0/f3RYrvWk80mXF0Z5kMl4USLXkDw330xZG2ehuZjJZ4d2mdLMqMr5QuEIMvBaOxEZ69jP894E/D33NzunC00MJncfqMqAucrHv1W/JOrP81VdGo= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=ovUIvPba; arc=fail smtp.client-ip=40.107.241.83 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ovUIvPba" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XrAfuuI6uexodNqImfVYLVYumYZ2I31zBo/JayPJ0o3erlBH0cVpKrbp5BH5P+T852xlEgy+/Mhj4m/7FEHmI56mChKZ9mrT/pFCl0cEa+XopK5oqYJXn6ni29jm/PudzpaxomN4HOusgQEbg/jSN+/y6sXPV3fArXnGBwT8i08oGA4+7roLDCC24i/9eS+76zc845K3pdUMPMP5VaBZ0i0vzJ/1BZf+Fo0tcWIF6rQxYyYJ1PHl9uaJYoMJ1UCS2ENhk6tc7DMDqHNHSMQgIp2gib7pVBA9tZGJi3+nRXnHt431EBfz3PHSBPthpe6oHUQOVZsGe3PH4fipNNJ1Ag== 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=PDZ9/a5ZeOg3QCENW2r9U9bY+E8knzLnMkrJXXCSfQ8=; b=JzOsS4fd/hf1CFHfYN+G9AM7Rnv0+FVcHfoxhLG7ltKhlkfIWDln5vFdUaL5me6wHgGYl3MSntY+ChRBGJ06Jw45V8B5PoG8q34OcZc61XvFTdRQQYU+B8ZoHTdLuFvYCG1nypOLubnc1lhlnp0gp4nTp9hlUO4tfmJCE/XjvBv6Gz+8dX/mzzj7L+nlK9fkM3Moo0iPbkQx0TFwKiwLkV/DyNEViGpl8pvE1xghzztvQY8ydxpuHo4g8/qLXU8ds0yty4kncEKjw8p8uDVfcDUPz885xeo56vVquRDt9THkKGHEUpBzbETh/gW9iUlvfB1wZG7tIC53jKmp78dsPA== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PDZ9/a5ZeOg3QCENW2r9U9bY+E8knzLnMkrJXXCSfQ8=; b=ovUIvPbaPUxYfFS3EmrAgrOaBSKM7zRXmyoI4OC000Ro/DA9PWWHno+DSf5yMUiTleaWVUBtgRyqQd6itXSvwU6flw45cnawbLYhdaaPGb1eY8c2aJ5vIXJnqyegTjDo7yCjZH807VCfdMT9rpBzxH6lhHilh71H2cTVQsjnC+o= 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 PR3PR04MB7259.eurprd04.prod.outlook.com (2603:10a6:102:8a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.32; Thu, 27 Jun 2024 22:00:24 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7698.025; Thu, 27 Jun 2024 22:00:24 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 5/7] arm64: dts: imx95-19x19-evk: add flexspi and child node Date: Thu, 27 Jun 2024 17:59:59 -0400 Message-Id: <20240627220001.692875-5-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240627220001.692875-1-Frank.Li@nxp.com> References: <20240627220001.692875-1-Frank.Li@nxp.com> X-ClientProxiedBy: CH0PR03CA0286.namprd03.prod.outlook.com (2603:10b6:610:e6::21) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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: PAXPR04MB9642:EE_|PR3PR04MB7259:EE_ X-MS-Office365-Filtering-Correlation-Id: 4781132c-e9bb-4737-efbc-08dc96f48c07 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|376014|7416014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: p+aFGVl8TRp0MYeUFx/VFUJwPSeRJ6A2oaI1cPVc5FXi9IC/H2r3nbqKlQgmqRnTp64qYGkWjua9emYMoKQ545mh/SYs26aGbGvkeGMP0GuqaUh2EC+Lg4urWDuNd4BwLW3HepHuGkSgSgbKiiQEM2L05GM9BTvVLs5EcrGCTxDqAZWnNUBswz5rAo6PVJpI8mjNNgJOns1C1YfmTrb5QK+8s4xPt2GxGBqinvgyTfQxnSuSVpqpnOAjdWrt+jH/dXtO1tgbYXWCrb3oQsyUI3BZmczBby7zONfH1mQmMmL996qPOJsaF1ugsIO+wS6Nh2NbeFoJv04hWsrGjBPLJOp73g5PLQfkzlmPJOkUWLUl71eEGMv0GDcXFQ178DhtHmbSsfwckQ7gICwUkRGO3K3AVEG5azARHfO9Whm2eEHz8CBJ4pvyhmSM6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.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(366016)(376014)(7416014)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Dtw3KU/BE2iW2DfpErgasDlr9dLVdTC/iUQaCF6/iDwoTECsnczykip884ffYV0NyMWZ+1jNRmyxlMg4YlDJ9o83JNXEPhPMMV0sIZwXtB+2PIqoMMdp4cdpOq+j57ibFK7sRCLtLKVQZp0eP/cvCe7BfLLp3fyXWgGr0Us9/++XTFKRHmtliivoMfitFO+52Dca10ZnkgUwgQd6DLEvNi+vudV8lphVAK2CwIKCpDhd+V4pj3S8GHhQn0bf4eYccCTy+CwK1L9NdDcXQ5+FUuPXwcrlgWgRAZcYhP784iYYt0EmOvGqc+0Ez8eUt+VaOWwnMxCQxMO4clpsOIAlR5SscSYmmAmKQlPKXfj0sb1aK5fS+EW9eFmXHevnMGlIvLt5z2zKt8tn6sHXpLTjx0gLJM7G6/+8+j6ngjGd7zbW+buQ8apR7XBdJHwPUvxeXTnYFnxDkB62pnSlY63xab3T7RsD/2927c44rYFtBp0SzhgKZ90czUxOaI3ncwiwWNaOnzKbImFeourPRNQE4SbIuPUqQFd1ARPgm6yLPFowy7qny1X0UxPEH7y5Gg3AcIprvsaHasqhhCpeygIRSQ2a9OB7lG5P+4k8BDzAvi2O4zPAFMAbwQWRwRHiEcMr39nEkm/cuXmOlYLJRmNmeJpKCmX588Mr/1d/Vsfllep1GCJn5qT37iaRZC9cyA5vXzNku5g/TuBvtzkjnUYXs70DCix38tBzurm8tgiomE0I+EwmGYKuYDVGU37IhQCakxiWBV5l5QPBRo3uyDoLIDt+NQSO934cTd7hn0ob1elG4j19JiRwEVBopDHLWnkF++OaDsWHa+KkcXo23WGfP9Tjgz0rRGYWroWAm+9QZ644MLeALphGerpH3LZo2wq6Ars3CB9icrNP+s2W5wyofGzyL9GOH9LM/xWHiwTaLDulw5gF9LW/HKk8x47ln73su0vNdRDaNBHAA8Zdru5xSv4DqzkBcdH7Ew60M4eE2SfHaVn/vKi3fVRamjvFyHXLNTqCpGsTpjXa7eHwuQ6N6ITVTHjqKQ3tc6/IwUkOngjOxmmseBoShOjXy8S17o/O3y0cfaILdceRDju/gV7bxkMQ80G4GqePDe88zvuSXYirK3L0pndCSQ2S/XS7JIt0h5/HeRW+6xvRVsG4ARMVM2VYUMrojT+XJ12WhCRueCGcLkWqCJqnKe3QSNqBcsHAHZFHUDC6p4CTKbLIKBGAmb0wscowH3muEv+hXaParEA2DKz/gM0n4gV1vplAE3uLcXcJ5WweqZa8EWSUD49JEf+j/xvFR7ER0tn9sLVKt2c4rlvEvXGavX7SeRkEhGSEiSIvwB9kD9YwBGxwh8QEXcv48P2QqsR8gl0lctbHUoY2YEQg6Z0gvaga797ZiC7t1jeSASuqcKLxt891gLBqfaAamblzekeakjYRxv45YE/rZFKdJrGTO5i7Kye8Klfj2g2CvELwU4U07sNP3/g9RD7orzKtd8EsKQ5z3ovEwTDLnnSVUD0ZZSKTVrl/5ncHqbj0BwCgBZxwXiOweWJpIJY/GWEKRJ+j/8butbnYT8k= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4781132c-e9bb-4737-efbc-08dc96f48c07 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2024 22:00:24.6544 (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: /dzCvSTLgkfxVR0O+K/fr+sVCFUg/V3Z74Lt3rNan2Ow2J6S7AeSoyfQaNtuUUY8K5hIN3HNDiEXgIgJabIFzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7259 Add flexspi and child flash node. Signed-off-by: Frank Li --- .../boot/dts/freescale/imx95-19x19-evk.dts | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index 660e623f4f964..ed8921d6217b8 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -163,6 +163,22 @@ sound-wm8962 { }; }; +&flexspi1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi1>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <200000000>; + spi-tx-bus-width = <8>; + spi-rx-bus-width = <8>; + }; +}; + &lpi2c4 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -336,6 +352,23 @@ &wdog3 { }; &scmi_iomuxc { + pinctrl_flexspi1: flexspi1grp { + fsl,pins = < + IMX95_PAD_XSPI1_SS0_B__FLEXSPI1_A_SS0_B 0x3fe + IMX95_PAD_XSPI1_SS1_B__GPIO5_IO_BIT11 0x3fe + IMX95_PAD_XSPI1_SCLK__FLEXSPI1_A_SCLK 0x3fe + IMX95_PAD_XSPI1_DQS__FLEXSPI1_A_DQS 0x3fe + IMX95_PAD_XSPI1_DATA0__FLEXSPI1_A_DATA_BIT0 0x3fe + IMX95_PAD_XSPI1_DATA1__FLEXSPI1_A_DATA_BIT1 0x3fe + IMX95_PAD_XSPI1_DATA2__FLEXSPI1_A_DATA_BIT2 0x3fe + IMX95_PAD_XSPI1_DATA3__FLEXSPI1_A_DATA_BIT3 0x3fe + IMX95_PAD_XSPI1_DATA4__FLEXSPI1_A_DATA_BIT4 0x3fe + IMX95_PAD_XSPI1_DATA5__FLEXSPI1_A_DATA_BIT5 0x3fe + IMX95_PAD_XSPI1_DATA6__FLEXSPI1_A_DATA_BIT6 0x3fe + IMX95_PAD_XSPI1_DATA7__FLEXSPI1_A_DATA_BIT7 0x3fe + >; + }; + pinctrl_hp: hpgrp { fsl,pins = < IMX95_PAD_GPIO_IO11__GPIO2_IO_BIT11 0x31e