[PATCH v2 1/3] arm64: dts: imx8mm-tqma8mqml: restrict clock for SPI-NOR flash

Bough Chen haibo.chen at oss.nxp.com
Thu Oct 8 01:34:27 PDT 2026


On Wed, Oct 07, 2026 at 09:20:13AM +0200, Alexander Stein wrote:
> From: Markus Niebel <Markus.Niebel at ew.tq-group.com>
> 
> The FlexSPI controller uses quad SPI with internal clock recovery.
> The i.MX 8M Mini Applications Processor Datasheet for Industrial Products,
> Rev. 2, 11/2022 lists a maximum FlexSPI frequency of 66.666666 MHz for
> that mode.
> 
> Fixes: dfcd1b6f7620 ("arm64: dts: freescale: add initial device tree for TQMa8MQML with i.MX8MM")

There is already one patch to limit the clock rate based on SoCs, refer to:
https://patch.msgid.link/20260728-fspi-clock-v2-1-dbe786a4a6eb@nxp.com

I think the max frequency in the DTS flash node should describe only the
SPI NOR device limitation, not the host limitation.

Regards
Haibo Chen
> Signed-off-by: Markus Niebel <Markus.Niebel at ew.tq-group.com>
> Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
> ---
> Changes in v2:
> * Clarify which datasheet is referred to
> * Add Fixes tag
> 
>  arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi
> index 1b5ba3c47164f..48285bcbe9bbb 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi
> @@ -60,7 +60,7 @@ &flexspi {
>  	flash0: flash at 0 {
>  		compatible = "jedec,spi-nor";
>  		reg = <0>;
> -		spi-max-frequency = <84000000>;
> +		spi-max-frequency = <66666666>;
>  		spi-tx-bus-width = <1>;
>  		spi-rx-bus-width = <4>;
>  		vcc-supply = <&buck5_reg>;
> -- 
> 2.55.0
> 



More information about the linux-arm-kernel mailing list