]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx8mp-venice-gw74xx: fix TPM SPI frequency
authorTim Harvey <tharvey@gateworks.com>
Wed, 4 Jun 2025 22:56:30 +0000 (15:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2025 06:53:13 +0000 (08:53 +0200)
commit 0bdaca0922175478ddeadf8e515faa5269f6fae6 upstream.

The IMX8MPDS Table 37 [1] shows that the max SPI master read frequency
depends on the pins the interface is muxed behind with ECSPI2
muxed behind ECSPI2 supporting up to 25MHz.

Adjust the spi-max-frequency based on these findings.

[1] https://www.nxp.com/webapp/Download?colCode=IMX8MPIEC

Fixes: 531936b218d8 ("arm64: dts: imx8mp-venice-gw74xx: update to revB PCB")
Cc: stable@vger.kernel.org
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts

index faa370a5885ff48375d4a57ae2321c972ee52d71..34619f085623b53ba654d82ae6d1acebc3871a1e 100644 (file)
                #address-cells = <0x1>;
                #size-cells = <0x1>;
                reg = <0x0>;
-               spi-max-frequency = <36000000>;
+               spi-max-frequency = <25000000>;
        };
 };