From patchwork Fri May 17 18:09:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 1936585 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=Efu+6akE; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=r/ktXj73; 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 4Vgw516vPQz20dJ for ; Sat, 18 May 2024 04:11:17 +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=2ZC4V7Bc6k6dwffiUyICFpO4DHnlAiCJ+/hvCzQ9DBc=; b=Efu+6akED5urc6OgLGjkv2Hktj IliPuCmn4eS5GsNyD2Py2iNzllcwlXmplQjEcdn5PB1pmWyiFac4Cln2YInVc6/mQUL0ZLuwFCwVf 4IiuwxoTBqDXHnX98aaEO21H0BmTLla3zi3C9X+4cgskuey4AzTEftX/y1AgO6Uy+l6OtQqfQ0ybl +xpGlPSGDF+x3QYO5jfQQLS3qjcAdKHsKY/5Aic5H82m5NUyFqvvOEaEsUFCO1ESTgiN0abIXE0+Z 6NwyJe4un/ndGdB6kPtUa3bvqm4nVh/mgYQGXlgBo7Gg1MY7VYGeMXrjueLwXV2jjX665GKjg3/i0 IBc0idpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s822r-00000008fvs-06wj; Fri, 17 May 2024 18:11:05 +0000 Received: from mail-db8eur05on20613.outbound.protection.outlook.com ([2a01:111:f400:7e1a::613] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s822W-00000008fcY-1sQ5; Fri, 17 May 2024 18:10:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aQ0f/+IggWK0LXT4nopLmIdSz0hM0uX3dgcPxntlzEkW6dFVifNA/6ktHlVwo3C8/8TlvBFn7ekd4KlCAI2+76YXiWSXMHOE4ko/o6mefp/BMLu/fr6IMbmD2XBq37HTtlet32O+357Q4yDBtFD78LQkyigEP5axTYaDWB3PtTFy/yU9pJlI20pazqLLoGJ29MDhK5LSUiZREN2OWtR95rh0X0sPbp4OkBLugFtjayJwLx3fpszTLZS7zJLjOql94jFRxpW69CGd8ekFP17JoIefFRVbh7LmTts3syyfgRIbRoMC0Us/VwudEW/881XKjWR/MIWCyeUXetUlB4ZVsA== 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=frIX+JJp9RbZncA+FJ2gAHvej7lxIMqz+pvAH4izM2s=; b=ia/dSugJe8ttO9ZwK8pa3SH8Iy/C7yOKeM4se78kPXILFp+ARZeGUo+iPOva1U6LLIbpMKoDHw76A/rQ+jASuDdvr06R+WVX2OqSLz9kEgUR4PhdzqXupoc5OXzdmWs85xHV30au0mPmQxygd7s3/6JQdJ+doIFfh4ULwDWrF7QMJXv/0nlcxkqGRUtP2s3L3vPpl2lG+Bb7bCNHklESOzlKe33PQKC7O78WICqK3s63yyLUwGoS26AEvn3+QA8dv8kZrVNvBq5Ugm+myI7qU61FoUum+LYO/BXoRdQVNL/5HJbqYys/hanjR78j0FcldC8SVfcSu/Kb+9JukmTCyA== 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=frIX+JJp9RbZncA+FJ2gAHvej7lxIMqz+pvAH4izM2s=; b=r/ktXj73uy4y9Jvq+FYrqegg4qmctVKZyI5a9wcLcVJz8FFy5nPf2QgONH1BEe6ojSBl+/A6TptkLcgqOsxGq2/RUm2vEE8PM60t1bg83orOEpCr/ZkJToPnslSkNcwaB+aUhyUFaF4sOM4KmK4uHlrvtswWv9hShtqwAcuRW14= 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 AM9PR04MB8955.eurprd04.prod.outlook.com (2603:10a6:20b:40a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Fri, 17 May 2024 18:10:39 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7587.026; Fri, 17 May 2024 18:10:39 +0000 From: Frank Li Date: Fri, 17 May 2024 14:09:51 -0400 Subject: [PATCH 4/5] arm64: dts: imx8-ss-conn: add gpmi nand node Message-Id: <20240517-gpmi_nand-v1-4-73bb8d2cd441@nxp.com> References: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> In-Reply-To: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Han Xu , Vinod Koul , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Marek Vasut Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1715969417; l=3045; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=tEWFhDjhtUKAug5WAg7nPU6hg6Eu3mFZf5v7yoTqdyg=; b=AB60P0ig0zclmR0efXtybW2Ldf9p0om00y3oMQxbLE6UYFohVBbG5awXIvpM6efyzoVBtcNDC 8VIMCVUJ59rDW88q1b/EPq5KEgkm7tusdw0nocST1zwcJNyAhLNLHJP X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0068.namprd07.prod.outlook.com (2603:10b6:a03:60::45) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AM9PR04MB8955:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e3df053-d2c3-44ee-2321-08dc769ca8a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|376005|52116005|1800799015|366007|38350700005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?RMgzeCVDbCfJ+X/GZoI4dLf9DyAzNCM?= =?utf-8?q?isSRXcwR1Ayx4xJY0K+O2iv26H9ZGK/2kSW3TiQ1tWZj2JuEl7RDfiX1+FGc+d3iL?= =?utf-8?q?gqIkG5f7LWGIFhEqA1SE4+9OhggIEW6uE6FGdcVSPJXW3dj6cVZQ6BJdmGZxiEbtu?= =?utf-8?q?bA2/SU836V17HWNW2R5wMoNGglEnygbPqLDQuoA4pUbx2DQjcdtkcDMUxty09pBot?= =?utf-8?q?Lh7QWgyqGO7ZsQZGeIl0GpA2ZCYrFKiSc9wvHet2mZ4KZ4cmkBmQ7z5YBYkym1Vny?= =?utf-8?q?8uX6FXhbmqGfWULorAIbUnu914NNn1OEphKr8a7LfMiVoeaRlPj9PR3gcm3/4EKo6?= =?utf-8?q?wxvc+RxlkYj5Xwo1lh/z7VKqSOCsrtM8oL35Xddufx7zkTW7MMoTN82N2LJls5o7o?= =?utf-8?q?yJTG3pwzQ4M/Vjh5UYzG79q57YhF60yZyGFM7oltj6VamXbY5PjYZOHs9dso0nLrz?= =?utf-8?q?hm+C1XZLv3d1BtKsFk6FBkSLnx/4RsB0PKwZVeLGSERRBhUYVQSO9SxdrLWMbzczA?= =?utf-8?q?rlV/NuSSug//RbBmJF6CkZ5zjadMDR5wdoIMMKIPcN6QMapnwTobBDiLkQG8BPsOE?= =?utf-8?q?JUYRPu45rqiHNdrVwf/mCl+pdI2sUiqSWWCoKmVauhPN2DWzWbfALb+Zb4QHNh8FC?= =?utf-8?q?3EdG8HsED/p/VrCyq/IDmh2LNYspQT2fJyXLRewPK0XyiDtOAlNmRKoo/kymosY4m?= =?utf-8?q?JfTRP7lgWQlJZOI0XB8kDQ5/cIIL4X4W01AVj8/PZ3WPSDOGxLiaQDmZGKCxu1oRd?= =?utf-8?q?smduZdur8FI3QLfQ1ugs3eMO3u5l2h/MwcCPRBWcrlSsZGJHpormyymlnESaNfldP?= =?utf-8?q?/iZUBCn7NDJYsXKPkkU0c2/PNRz7MHwnIY58sHGXToa5noUKvx1onfG/OcY+LvACV?= =?utf-8?q?IE+L7gn3tqTqkMgj8z2fUsVvEgWsubhdy1+kO4qumZoQoWC7XTQfB8QHOq2Vn8lJk?= =?utf-8?q?VlWbb+rgWHh48gPKZ8fizqJT8Ld91ehJBAuavLvPROd7fDFpbnJKWeqmo8YnH+tF4?= =?utf-8?q?ChE3bMug9Hzp6pzrywzorQRfwMeSVeqWwzGWlMpdSPlvRMWmxa9AS61Tw9dejmOf9?= =?utf-8?q?sUAWICubGsEqR4PzLCEHWa9TAFKmgazxEJ/gFZeQ9QOd+UQJVZWObeGE0px05B/9B?= =?utf-8?q?pZyxOz6EbF/F9m6wTTjq/w6mQqQrGG5mkCRAn6+YTCIgkujOJ2QVxZ9b5H1/4E3Bf?= =?utf-8?q?TYfjkJZDhRoVzH1ITrRBjfizjJCgmu+66db7sphj83U6E5SGyb6mfyJT31YMbzRYR?= =?utf-8?q?qj83YHaf6++wdqqushayXClcSpa8uSx8+Ug=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(376005)(52116005)(1800799015)(366007)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QgGetlrHUCNOW0Mgg2DrtID7qASD?= =?utf-8?q?qRe+aA5PhnRXF3Q6glT8wj8xhp8Hxf00VLz5ZiqZKbGxn+JHxNkxVL1bKrBCI/qyb?= =?utf-8?q?BHcS9trn38kd3n8lc7ysA/o+/DSHWaJcN2dj3EFF331bWmobAA0XGrBm14N7m64Vh?= =?utf-8?q?GQnGqN+MScsQl5UoXN9RW9OiXShQBhpI6zOq740MzW3WrQs7A+ZdxMvlBFaA5mbof?= =?utf-8?q?6GtsoUR3oR39ClwIwHaJM2SRd6/ICA2qVzuP4IKG9C2+4P2mewNYyhChYswHU8b6o?= =?utf-8?q?oXka1KV05eRLKMjGEvEzTqWL0DLa06NoV9aI77QPYsxaxY51fHa46BpTpw+1rN04P?= =?utf-8?q?A2rVgUWDhorEiNf0aTtLQGAFZie8JDqrEy9SO+x3BcXOzZoNPfl0ggf7WgbbJXSVy?= =?utf-8?q?lXhBWSOSlfPzwdi4xukkEI+YJTVB0Qgdmti31wAxsIQSNOedA517NmOEbpHI0wHZE?= =?utf-8?q?w2/cYmycAHrePmgGpBB7schqYQ5J5TR/5hLJwk43AVKOFgqXDG5K+wjjROyebeYOQ?= =?utf-8?q?eY5BVqACFYcBGaxLNqmOZjqtF54VRNvjBcaEcbKwY5HKLGbRUScS+3no5PnhmDQ4j?= =?utf-8?q?2BNkOdvbUT9P5C1gEJq5jA+uRsuh73O3vVUAV2Dg1TVqEK3eqtUbs+nNG4GQ6Gq5c?= =?utf-8?q?wCv/zbtx5QTmbk4c2/OGNMr+9KmYl7TZqay1cqAXGMjm+0L6VajHxHuGdg3Tl6OTt?= =?utf-8?q?a4WMoI4k9TGtyQHWcuADcGcdwZEUsMHLRSy/fm33oNKpS58W1HTAUq0udHVVugACe?= =?utf-8?q?NTBULHDGbXfEsjcsXywWophQwa81UkZRna+18RdSRezR2Mo6wKWfwFGLo6/tV8Q2T?= =?utf-8?q?RbmcEpNyF81w8nNGsQbqvOevPzpYDjx6UtVE1EAMNZmtHoFgXXWDPeeUnMCyDQFu5?= =?utf-8?q?hUUq1rOIsSx20nU7GZhYagi3eD4HFKCD6Llgs0jfiX7WtolBimkpKfa7qStyUsXqe?= =?utf-8?q?H4IgB6P5J3XyiMmZiOHvfI3BL9YUBiuw86tB3vuPf9utKyj0jODaN7ZlavcOoZ8+8?= =?utf-8?q?eruP16IoKp/6qjUExMqi+Wm6r/p3F5ub0tHMkogiJ8XR/WNgty5gqIvYqtnv4aAX0?= =?utf-8?q?/8hC/RSGH4d/F2J5Amqc3lq99lDwbHqCOkVpxGFWO14CT7zP0FK+V9qPbKIBecGjF?= =?utf-8?q?6eMvJP2CrG55IAbaWQi5Eb6dnl+oq4gznrC9Dg2gU/GZRCJYYZ2WVgIV2wJQ6zyY2?= =?utf-8?q?KBScUuD3Jt9MddOeByu8BgFtJI5F/i5wDlYodBNRJDVo5a/2cBiuqm2Sx7Lva2d6Z?= =?utf-8?q?pGJH9Z/HtSOI5h5lRiAOynIGvo5EkW4RL/wNJd1ZbncX0PH9xQd/QNwrOUpMZLGsF?= =?utf-8?q?4/BLgCDkq4yQbsRX5D3nSelAYdAKVMpiIbcP1+iHBRwgTBCT564GWX4K9Q05+mNuK?= =?utf-8?q?0YNnBmxpedvP5p7XozeF2GXJtPDdaKGxNFbPJV5W8xIAI4Oan+6sZy4qvGN1khOKE?= =?utf-8?q?+nzziAZLBBTIio7CpC0nY7WDZEk4//9RXOQjdW7TwmC6ExZfMQrUOH64NQVXlNKBS?= =?utf-8?q?06regVGf9pb6?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e3df053-d2c3-44ee-2321-08dc769ca8a0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 18:10:39.6630 (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: 75A6uUJWw4/g8eAHo+eV5oRnIoXP/qco6ZtHwd7ikDr13Y8yW7io1aHCbfI8ZSpc9a/xDIkdV96N0e9IPmJ5gA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8955 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240517_111044_605978_74905E46 X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.8 (/) 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: Add gpmi nand support. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 69 +++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi index 4aaf5a0c1ed8a..a4a10ce03bfe0 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-con [...] Content analysis details: (0.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a01:111:f400:7e1a:0:0:0:613 listed in] [list.dnswl.org] 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.0 ARC_SIGNED Message has a ARC signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -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.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 Add gpmi nand support. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 69 +++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi index 4aaf5a0c1ed8a..a4a10ce03bfe0 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi @@ -28,6 +28,13 @@ conn_ipg_clk: clock-conn-ipg { clock-output-names = "conn_ipg_clk"; }; +conn_bch_clk: clock-conn-bch { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <400000000>; + clock-output-names = "conn_bch_clk"; +}; + conn_subsys: bus@5b000000 { compatible = "simple-bus"; #address-cells = <1>; @@ -302,4 +309,66 @@ usb3_lpcg: clock-controller@5b280000 { "usb3_aclk"; power-domains = <&pd IMX_SC_R_USB_2_PHY>; }; + + rawnand_0_lpcg: clock-controller@5b290000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5b290000 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_PER>, + <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_MST_BUS>, + <&conn_axi_clk>, + <&conn_axi_clk>; + clock-indices = , , + , ; + clock-output-names = "gpmi_bch", + "gpmi_io", + "gpmi_apb", + "gpmi_bch_apb"; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + rawnand_4_lpcg: clock-controller@5b290004 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5b290004 0x10000>; + #clock-cells = <1>; + clocks = <&conn_axi_clk>; + clock-indices = ; + clock-output-names = "apbhdma_hclk"; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + dma_apbh: dma-controller@5b810000 { + compatible = "fsl,imx8qxp-dma-apbh", "fsl,imx28-dma-apbh"; + reg = <0x5b810000 0x2000>; + interrupts = , + , + , + ; + #dma-cells = <1>; + dma-channels = <4>; + clocks = <&rawnand_4_lpcg IMX_LPCG_CLK_0>; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + gpmi: nand-controller@5b812000{ + compatible = "fsl,imx8qxp-gpmi-nand"; + reg = <0x5b812000 0x2000>, <0x5b814000 0x2000>; + reg-names = "gpmi-nand", "bch"; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + interrupt-names = "bch"; + clocks = <&rawnand_0_lpcg IMX_LPCG_CLK_1>, + <&rawnand_0_lpcg IMX_LPCG_CLK_4>, + <&rawnand_0_lpcg IMX_LPCG_CLK_0>, + <&rawnand_0_lpcg IMX_LPCG_CLK_5>; + clock-names = "gpmi_io", "gpmi_apb", + "gpmi_bch", "gpmi_bch_apb"; + dmas = <&dma_apbh 0>; + dma-names = "rx-tx"; + power-domains = <&pd IMX_SC_R_NAND>; + assigned-clocks = <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_MST_BUS>; + assigned-clock-rates = <50000000>; + status = "disabled"; + }; };