]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx8mm-var-som-symphony: Add TPM2 support
authorStefano Radaelli <stefano.r@variscite.com>
Thu, 19 Mar 2026 18:40:29 +0000 (19:40 +0100)
committerFrank Li <Frank.Li@nxp.com>
Fri, 27 Mar 2026 13:52:38 +0000 (09:52 -0400)
Add support for the TPM2 device on the VAR-SOM Symphony carrier board.

The ST33K TPM2 is connected over I2C, and A PCA6408 GPIO expander is
used to control the reset signal required to release the TPM from reset.

Add the PCA6408 GPIO expander and the ST33K TPM2 device node.

Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dts

index 6da29845985f6b0e94134f357fb7476d2cd81f83..6112e4392c5957d8b3a9c79af0c084ecbb091f28 100644 (file)
 };
 
 &i2c3 {
+       pca6408: gpio@21 {
+               compatible = "nxp,pcal6408";
+               reg = <0x21>;
+               gpio-controller;
+               #gpio-cells = <2>;
+       };
+
+       st33ktpm2xi2c: tpm@2e {
+               compatible = "st,st33ktpm2xi2c", "tcg,tpm-tis-i2c";
+               reg = <0x2e>;
+               label = "tpm";
+               reset-gpios = <&pca6408 4 GPIO_ACTIVE_LOW>;
+       };
+
        /* Capacitive touch controller */
        ft5x06_ts: touchscreen@38 {
                compatible = "edt,edt-ft5406";