From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
"open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<imx@lists.linux.dev>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@lists.infradead.org>,
open list <linux-kernel@vger.kernel.org>
Cc: Frank Li <Frank.Li@nxp.com>
Subject: Re: [PATCH 3/3] arm64: dts: imx8qm-mek: add flexspi0 support
Date: Tue, 27 Feb 2024 08:42:15 +0100 [thread overview]
Message-ID: <12393206.O9o76ZdvQC@steina-w> (raw)
In-Reply-To: <20240226203358.275986-3-Frank.Li@nxp.com>
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 <Frank.Li@nxp.com>
> ---
> 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/boot/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 = "default";
> + pinctrl-0 = <&pinctrl_flexspi0>;
> + nxp,fspi-dll-slvdly = <4>;
> + status = "okay";
> +
> + flash0: mt35xu512aba@0 {
> + reg = <0>;
> + #address-cells = <1>;
> + #size-cells = <1>;
Using '#address-cells' and '#size-cells' in mtd (and thus spi-nor )
is deprecated, please refer to Documentation/devicetree/bindings/mtd/mtd.yaml.
You need to add a partitions subnode instead:
> partitions {
> compatible = "fixed-partitions";
> #address-cells = <1>;
> #size-cells = <1>;
> };
Best regards,
Alexander
> + compatible = "jedec,spi-nor";
> + spi-max-frequency = <133000000>;
> + spi-tx-bus-width = <8>;
> + spi-rx-bus-width = <8>;
> + };
> +};
> +
> &fec1 {
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_fec1>;
> @@ -199,6 +216,27 @@ IMX8QM_SPI2_CS0_LSIO_GPIO3_IO10 0x21
> >;
> };
>
> + pinctrl_flexspi0: flexspi0grp {
> + fsl,pins = <
> + 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 = <
> IMX8QM_UART0_RX_DMA_UART0_RX 0x06000020
>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger 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
next prev parent reply other threads:[~2024-02-27 7:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 20:33 [PATCH 1/3] arm64: dts: imx8qm-mek: add adc0 support Frank Li
2024-02-26 20:33 ` [PATCH 2/3] arm64: dts: imx8qm-mek: add lpspi2 support Frank Li
2024-02-26 20:33 ` [PATCH 3/3] arm64: dts: imx8qm-mek: add flexspi0 support Frank Li
2024-02-26 20:38 ` Fabio Estevam
2024-02-27 7:42 ` Alexander Stein [this message]
2024-02-27 13:44 ` [PATCH 1/3] arm64: dts: imx8qm-mek: add adc0 support Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12393206.O9o76ZdvQC@steina-w \
--to=alexander.stein@ew.tq-group.com \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox