]> git.ipfire.org Git - thirdparty/linux.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)
committerShawn Guo <shawnguo@kernel.org>
Thu, 19 Jun 2025 07:49:09 +0000 (15:49 +0800)
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>
arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts

index 6daa2313f879008abcbcb4c382dbd41e9282ec79..568d24265ddf8ea528346252615a1d5064e63a42 100644 (file)
        tpm@0 {
                compatible = "atmel,attpm20p", "tcg,tpm_tis-spi";
                reg = <0x0>;
-               spi-max-frequency = <36000000>;
+               spi-max-frequency = <25000000>;
        };
 };