From patchwork Tue Feb 28 09:17:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13154553 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 E59ACC64EC7 for ; Tue, 28 Feb 2023 09:18:58 +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: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=YKBh3YsrDF93ClO4a4ei39p75lkxKRJZs9m6D/8LkAw=; b=TeOuqXH0Lua5qO HkRsKCVO5mmggB2zS00lY+K46/qJYUZrsTgVzYPAuIp+geb7j/ik9VuT6+Ouif7o8gnShkHEnDKdg eon2JFvTqlEhvxZVVJ7iXrjC7MG9iyI7RPAw2uLs4avbm70vqgjkio+dcsf+vNTnnRKSNu/RXpQ2v 5lG0CdfffX43KPV1+yyIYxjOXpjvm33GqAhsENlWdy0ijfp6J/BmyUsSFcJCrMS/IGwj369Jvq/z2 /hHrF9n8I4OUUVcGfxf4xs3ErzWfV6twrqSABjdYAh0kbCKfvw0rZL001r2EmUE075vs4sG84hvGS lDAlCAghFUU5erwRXvsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWw7c-00CUdy-9Y; Tue, 28 Feb 2023 09:18:08 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWw7Z-00CUdA-4J for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2023 09:18:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1677575885; x=1709111885; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xtKwWIuJPNNrupQGEV8OtRgIoj1GKM8fafiElxRqYew=; b=U8P+fjy+T7Mxxefzmj4X/85+EGDIF+Ui5H6/LCrKYXRws6FII3ijowqY VKTppIRUZiskcvODfk89e8aiFkvH5WFTWPz/Q4fkxQiQS+2/wPDRVNcLW pXWFw04u0Q/4XJeQeZo0gupApLqOSK3WatCHo70/6zkwLsIJL+OGoHVwm Ej/N3NDT2CYKHuj5gdQDTHLCpklFRn4s4MgRF1ccp8br3VDz2M+hOMlbQ Pp9c1TrNFAICJo7Xva+I8r0UwiVZob5zT/958jeEOZjkBa61wSIKaGYGQ /KucPdb3uvHM5cBa5LTNd9m0Koi9zwsEPEQqZk7S/AdDwdS/25CASh3VX Q==; X-IronPort-AV: E=Sophos;i="5.98,221,1673910000"; d="scan'208";a="29359346" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 28 Feb 2023 10:18:02 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 28 Feb 2023 10:18:03 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 28 Feb 2023 10:18:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1677575883; x=1709111883; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xtKwWIuJPNNrupQGEV8OtRgIoj1GKM8fafiElxRqYew=; b=dtrm6x61E82bG7dAKNWv0GXWS+HW2duN93KcGAmrbM+0CzdK4NwTndHy 7OqNYthKfGoIuhEnV43L1f5zfMEkFQ0MKlPcpxS7w4zOiN/843KXpwuvs AiSVc30MelYvJXFri7MzPH6s7kPuxS+wpgc2mRgtiVjZsYoVAEV+bqH43 VUGw1jUYV3UqUVCE8mimXcVtPfHtyN8aMIFwEx1nhQXnOiajblNifCVkR C8VR6oWJ9+6CIMrO7POMSq20gHakVplKpbCbxLaP6tO8KsNQo40DKqzkt HE1PiSgUzkiA46Rvn+iKTif1odiwxsB2N3BPlpm6+hWFamdwnQGYnpgi6 w==; X-IronPort-AV: E=Sophos;i="5.98,221,1673910000"; d="scan'208";a="29359345" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 28 Feb 2023 10:18:02 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 983CD280056; Tue, 28 Feb 2023 10:18:02 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/1] arm64: dts: imx93: Add FlexSPI support Date: Tue, 28 Feb 2023 10:17:57 +0100 Message-Id: <20230228091757.381583-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_011805_572729_97DFAEF1 X-CRM114-Status: GOOD ( 11.36 ) 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 Add FlexSPI node for i.MX93. Signed-off-by: Alexander Stein --- Changes in v2: * Move 'compatible' and 'reg*' properties to top location arch/arm64/boot/dts/freescale/imx93.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 64901ae10b2c..dccbcedf0206 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -458,6 +458,21 @@ flexcan2: can@425b0000 { status = "disabled"; }; + flexspi1: spi@425e0000 { + compatible = "nxp,imx8mm-fspi"; + reg = <0x425e0000 0x10000>, <0x28000000 0x10000000>; + reg-names = "fspi_base", "fspi_mmap"; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clocks = <&clk IMX93_CLK_FLEXSPI1_GATE>, + <&clk IMX93_CLK_FLEXSPI1_GATE>; + clock-names = "fspi_en", "fspi"; + assigned-clocks = <&clk IMX93_CLK_FLEXSPI1>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>; + status = "disabled"; + }; + lpuart7: serial@42690000 { compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart"; reg = <0x42690000 0x1000>;