arm64: dts: ti: verdin-am62: mallow: add TPM device
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Fri, 26 Jan 2024 16:51:36 +0000 (17:51 +0100)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 5 Feb 2024 14:49:13 +0000 (20:19 +0530)
Add TPM device to Mallow device tree file, the device is connected to
the SoC with SPI1/CS1, the same SPI interface is also available on an
extension header together with an additional CS0 signal.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20240126165136.28543-1-francesco@dolcini.it
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi

index 17b93534f6588b48b8008855aa420d8dbedf6b05..77b1beb638ad7bf400c0b7df836d0ea032e0f60f 100644 (file)
                    <&pinctrl_qspi1_cs2_gpio>;
        cs-gpios = <0>, <&main_gpio0 12 GPIO_ACTIVE_LOW>;
        status = "okay";
+
+       tpm@1 {
+               compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
+               reg = <1>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_qspi1_dqs_gpio>;
+               interrupt-parent = <&main_gpio1>;
+               interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
+               spi-max-frequency = <18500000>;
+       };
 };
 
 /* Verdin UART_3 */