]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx8mp: Set SPI NOR to max 40 MHz on Data Modul i.MX8M Plus eDM SBC
authorMarek Vasut <marex@denx.de>
Sat, 17 Feb 2024 21:33:30 +0000 (22:33 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:16:50 +0000 (18:16 -0400)
[ Upstream commit 13ab6f174a6b577bd7d09124b47ec8ace2682e42 ]

The SPI NOR bus routing on this board cannot go above 50 MHz,
set the clock frequency to maximum of 40 MHz to be within a
safe margin. Remove the comment as well.

Fixes: 562d222f23f0 ("arm64: dts: imx8mp: Add support for Data Modul i.MX8M Plus eDM SBC")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts

index 5828c9d7821de1eab50967972cf406f8f6359da5..b5ce7b14b5434bba1142f8c40e7ec82f56e7535b 100644 (file)
        flash@0 {       /* W25Q128JVEI */
                compatible = "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <100000000>;        /* Up to 133 MHz */
+               spi-max-frequency = <40000000>;
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <1>;
        };