Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1766833rbb; Mon, 26 Feb 2024 23:42:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWrTCsI2DIm5H2+RJoSXeHDYZ5o9tgjkIiPsNUIBXXtR8tbsnpeNhwVmaon2eXseXv+NgW1MZYYlgp/ca97TSU72Q1Mg4vSR5JdtLs6tQ== X-Google-Smtp-Source: AGHT+IH5TNOCT07jPQmg3a8Wb12rGEtihkn57tly2xvY2lJm7CFqPNEJ0sVci+pHrpWbaWXEYkdx X-Received: by 2002:a05:6358:b3c8:b0:17b:583c:c4b7 with SMTP id pb8-20020a056358b3c800b0017b583cc4b7mr13010156rwc.3.1709019768791; Mon, 26 Feb 2024 23:42:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709019768; cv=pass; d=google.com; s=arc-20160816; b=qXVcR/TUvm1C6aNxwR1T0dWScpsSSldiQxRZafqOgeaiMfeIc1gPDkJFuXe1WMhUkB 2oKs7YbZEiIMEalGW9sU4kNRkrJz184Uk4vzO9fjpY6ZwEAQKrmNvZzaABIzx3ySZJ9o XwIiBX3FF8rtOg6BMsaalsWxRtFGoluAo12E2jQqCSk8yZIprtSwDEWTZgEvN3bXXsnE ikKSPfdcFbQYorDQC7sV8jlTzpuIAAaTxHQsDVjfJtwlNf08HUYnisEzLg6FPl+wu5qL WdO4bqtaOyz8aLhL18QiVI64an5+R6lAFSycB9Ls+UpDdgDw4bw6EE3xbTOY2NaVpQmi gp2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to :organization:message-id:date:subject:cc:to:from:dkim-signature; bh=r7JmSYlxsh14XOEmR0NelO63VSvY9OUGMgbj0LvjGzc=; fh=uO6JdRheGznFGnQPiyI7ivxssg26GnYS6B939HFlTYA=; b=pSc9GAcr2/KNqUD3Ox2ER3cC+KwJCbX1A82X0g+IqrVT665Zah/mLcg/XWYyW2YdhM 4JpdhrcuyiLnnBpM1e4Jnx60BrJZgQ54nTIWZCGlbm9iOZ2cvs9b86AjQQWtLdJiMz8V g409Av1+56m0q4w318PplPEFsRvW/2xlzjZBpYRrDIMfbUTQCvGut6IMEwqV7cHVulUe BsilMULJjsFJOeHKNnKbo3elwOqkwR3/gciJ/FEyCthTJZPUzpeMHSJ8Iqpy5ll6fEHm ca3i/vQ98F8izESL80BIAEHXEBL20H+V2pjSRuQQIYS42/L2X/UJsu6l/sGrLGuVa5Gu YZfA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=qSbAZTdu; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-82815-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82815-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b16-20020a631b10000000b005dc7f60c1desi5025022pgb.759.2024.02.26.23.42.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 23:42:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82815-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=qSbAZTdu; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-82815-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82815-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A7824283CF3 for ; Tue, 27 Feb 2024 07:42:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F18B54F95; Tue, 27 Feb 2024 07:42:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="qSbAZTdu" Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 C676A54BC8; Tue, 27 Feb 2024 07:42:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709019741; cv=none; b=S8U9VGrEm+w0sYBIpbF4LF89mn//A6FuCi/g0HD4m/py1UrncTdl8ffd4I4dzUjtgoZj9hBlWlUO1/ZrCO2DKij8nza7q4RIJTqZgUNvLOg0m/BmwIV62vd10zbPjzLXgPJF5atIC/z/0kvYZNF+bxnnx7juV+g6njJLilaTbIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709019741; c=relaxed/simple; bh=HCCpPHfruMmNeDtopT91uaAx5seHuRXfQsl6Lt75Otw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MdDzo1dxltsPh/P7pnl23madvsoPMU2TWQ16bn9RvP9wXHg5Wsey65UZuSftAdAC0UCePbDkl+r5CZ612Hqn7VZAZuP7kG0fd5yYpCfD1cQtzS7q9jggcOwQ4j84rwpxzOoTA35e+rL0Z0eu8ENVdi2tyrqzeMgJMcxFLKJVnqw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=qSbAZTdu; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1709019738; x=1740555738; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=r7JmSYlxsh14XOEmR0NelO63VSvY9OUGMgbj0LvjGzc=; b=qSbAZTdupncGrlP7Z2kl2rr5zpC7wnPbIGNadsdCX6WQflZjtTKtWsGK +EoUM2f4jInTxOhkqIpQr3r6QDnjL2fJUrehToEAMcEiF7mp9gf0RpKTJ 3FmyAe2xi29C7tSYcZEH3M54KvueipPjH4ema8phmTvOQXN7csdXLyk4D 9vOEFU5XvnCmRd71Vr0R+rX+O3L3bVyDQmM+2Nru2X4CnJQQtwqPqL/mi G1JyacwbI0evswrgIlxUjCgABsaqOpGZLj3NES93VeVQA3z4DhIg9a1hx BXnWtsDKT2vBs6QyQw3kinTGseQakaCQRiBIUZhMr/WVPa5bE/yOExu8l w==; 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi, Am Montag, 26. Februar 2024, 21:33:57 CET schrieb Frank Li: > Add flexspi0 support for imx8qm-mek board. >=20 > Signed-off-by: Frank Li > --- > arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 38 ++++++++++++++++++++ > 1 file changed, 38 insertions(+) >=20 > 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 { > }; > }; > =20 > +&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 > >; > }; > =20 > + 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 >=20 =2D-=20 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/