arm64: dts: imx8mm-venice-gw7901: add TPM device
authorTim Harvey <tharvey@gateworks.com>
Wed, 20 Dec 2023 23:25:45 +0000 (15:25 -0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 3 Feb 2024 14:24:57 +0000 (22:24 +0800)
Add the TPM device found on the GW7901 revision D PCB.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts

index 169eb67c255cb45a0f7dc5d5f98b0260435a98af..5e2cbaf27e0fc8dd44351e9426fb9df56ee52354 100644 (file)
 &ecspi1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_spi1>;
-       cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
+       cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>,
+                  <&gpio4 24 GPIO_ACTIVE_LOW>;
        status = "okay";
 
        flash@0 {
                spi-max-frequency = <40000000>;
                status = "okay";
        };
+
+       tpm@1 {
+               compatible = "tcg,tpm_tis-spi";
+               reg = <0x1>;
+               spi-max-frequency = <36000000>;
+       };
 };
 
 &fec1 {
                        MX8MM_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI    0x82
                        MX8MM_IOMUXC_ECSPI1_MISO_ECSPI1_MISO    0x82
                        MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9       0x140
+                       MX8MM_IOMUXC_SAI2_TXFS_GPIO4_IO24       0x140
                >;
        };