From mboxrd@z Thu Jan 1 00:00:00 1970 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 539D1C5478C for ; Tue, 27 Feb 2024 07:42:41 +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:References:In-Reply-To: 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: List-Owner; bh=a+2Ntlnxluh5nEPGhZKlcqvSgMYthdT7+YzbVzW95oM=; b=NvMvYeCDtVp/1c V3q8zdtdsyWoJQtvo1do2J/swN6CTNmBf8wzFbhowOX6rW5lQggkQmW0LWjbWPbkAX7bVC91Cz0RB Xz0o8FjwuVcXQbe3CSyBSPhg7qtx7/apG2Pl//7nhz1sAjB4EdH2sutyJbWOtpNQ0VGp4oVZAoziF P2T1v7Fjnbd+2i39PjPfAMrUhodGziCb310gVLGuexq9GJLowpuFVTnyiryX2WgOR6t52uSK6K+dv bBi8M9KquGkRrBktxKeN3MGKbJbywVpbakKYql09+HRQZhKlk3k7cTRjXgY5Ah4qwAy47X1Jv6V6r okXSNFwn7dMH+wdhu36g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1res6d-00000004ArA-1pZe; Tue, 27 Feb 2024 07:42:27 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1res6a-00000004Ao8-1Cqc for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 07:42:26 +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=1709019744; x=1740555744; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=r7JmSYlxsh14XOEmR0NelO63VSvY9OUGMgbj0LvjGzc=; b=WlqDL++dTJV6qW4UXto7aL6293QNoSBdWosVEptzuKGJRkfA+Y0+gvd5 aNrY5V67ygxCQJ3W0y5cSUGIIOienBW1PMI3r46EVPa15Ut9ciA2nZX3j CpVAkTPY9bHcVpjPFNC/2VN0qj6FxkridONLasIXqcjBHUQ56rnIePIMe afOLqEpscyhanAdogWWBC7He00AsbBl6tYRfzaSSr1IopDS1gX6m53HRl TwcuJWeW6B36v8DjPEzouWxHA2RQAdgotL8xH32RSCfHYIH+x6PoUkDI9 dr1OwzIxbxON7n0ZGqlqCNF3zUSLPAeWtvWMGUlPVXzSSFAfoThrd9XFR Q==; X-IronPort-AV: E=Sophos;i="6.06,187,1705359600"; d="scan'208";a="35608425" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 27 Feb 2024 08:42:15 +0100 Received: from steina-w.localnet (steina-w.tq-net.de [10.123.53.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 28495280075; Tue, 27 Feb 2024 08:42:15 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list Cc: Frank Li Subject: Re: [PATCH 3/3] arm64: dts: imx8qm-mek: add flexspi0 support Date: Tue, 27 Feb 2024 08:42:15 +0100 Message-ID: <12393206.O9o76ZdvQC@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20240226203358.275986-3-Frank.Li@nxp.com> References: <20240226203358.275986-1-Frank.Li@nxp.com> <20240226203358.275986-3-Frank.Li@nxp.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_234224_795175_3E34FB5E X-CRM114-Status: GOOD ( 13.68 ) 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: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Am Montag, 26. Februar 2024, 21:33:57 CET schrieb Frank Li: > Add flexspi0 support for imx8qm-mek board. > = > Signed-off-by: Frank Li > --- > arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 38 ++++++++++++++++++++ > 1 file changed, 38 insertions(+) > = > diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/bo= ot/dts/freescale/imx8qm-mek.dts > index 800dcb67642b1..7077e394e855b 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts > +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts > @@ -101,6 +101,23 @@ spidev0: spi@0 { > }; > }; > = > +&flexspi0 { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pinctrl_flexspi0>; > + nxp,fspi-dll-slvdly =3D <4>; > + status =3D "okay"; > + > + flash0: mt35xu512aba@0 { > + reg =3D <0>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; Using '#address-cells' and '#size-cells' in mtd (and thus spi-nor ) is deprecated, please refer to Documentation/devicetree/bindings/mtd/mtd.ya= ml. You need to add a partitions subnode instead: > partitions { > compatible =3D "fixed-partitions"; > #address-cells =3D <1>; > #size-cells =3D <1>; > }; Best regards, Alexander > + compatible =3D "jedec,spi-nor"; > + spi-max-frequency =3D <133000000>; > + spi-tx-bus-width =3D <8>; > + spi-rx-bus-width =3D <8>; > + }; > +}; > + > &fec1 { > pinctrl-names =3D "default"; > pinctrl-0 =3D <&pinctrl_fec1>; > @@ -199,6 +216,27 @@ IMX8QM_SPI2_CS0_LSIO_GPIO3_IO10 0x21 > >; > }; > = > + pinctrl_flexspi0: flexspi0grp { > + fsl,pins =3D < > + IMX8QM_QSPI0A_DATA0_LSIO_QSPI0A_DATA0 0x06000021 > + IMX8QM_QSPI0A_DATA1_LSIO_QSPI0A_DATA1 0x06000021 > + IMX8QM_QSPI0A_DATA2_LSIO_QSPI0A_DATA2 0x06000021 > + IMX8QM_QSPI0A_DATA3_LSIO_QSPI0A_DATA3 0x06000021 > + IMX8QM_QSPI0A_DQS_LSIO_QSPI0A_DQS 0x06000021 > + IMX8QM_QSPI0A_SS0_B_LSIO_QSPI0A_SS0_B 0x06000021 > + IMX8QM_QSPI0A_SS1_B_LSIO_QSPI0A_SS1_B 0x06000021 > + IMX8QM_QSPI0A_SCLK_LSIO_QSPI0A_SCLK 0x06000021 > + IMX8QM_QSPI0B_SCLK_LSIO_QSPI0B_SCLK 0x06000021 > + IMX8QM_QSPI0B_DATA0_LSIO_QSPI0B_DATA0 0x06000021 > + IMX8QM_QSPI0B_DATA1_LSIO_QSPI0B_DATA1 0x06000021 > + IMX8QM_QSPI0B_DATA2_LSIO_QSPI0B_DATA2 0x06000021 > + IMX8QM_QSPI0B_DATA3_LSIO_QSPI0B_DATA3 0x06000021 > + IMX8QM_QSPI0B_DQS_LSIO_QSPI0B_DQS 0x06000021 > + IMX8QM_QSPI0B_SS0_B_LSIO_QSPI0B_SS0_B 0x06000021 > + IMX8QM_QSPI0B_SS1_B_LSIO_QSPI0B_SS1_B 0x06000021 > + >; > + }; > + > pinctrl_lpuart0: lpuart0grp { > fsl,pins =3D < > IMX8QM_UART0_RX_DMA_UART0_RX 0x06000020 > = -- = TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel