HI, I’m trying to enable TPM on Jetson AGX orin
But I keep getting this error message
[ 19.573822] spi-tegra114 3210000.spi: Adding to iommu group 1
[ 19.614724] spi-tegra114 3230000.spi: Adding to iommu group 1
[ 20.073997] tpm_tis_spi: probe of spi0.0 failed with error -110
we are using JETSON LINUX Version 36.4.3 JetPack 6.2
Here is my dtb file
We have done the loop back test for MOSI ,and check the CS0 & CLK signal to TPM module
But still getting -110 error from tpm driver.
I think maybe the pinmux setting is wrong ,here is the pinmux setting using jetson-io
hdr40-pin18 {
nvidia,pins = “soc_gpio21_ph0”;
nvidia,function = “gp”;
nvidia,tristate = <0x00>;
nvidia,enable-input = <0x00>;
};
hdr40-pin19 {
nvidia,pins = "spi1_mosi_pz5";
nvidia,function = "spi1";
nvidia,tristate = <0x00>;
nvidia,enable-input = <0x01>;
};
hdr40-pin21 {
nvidia,pins = "spi1_miso_pz4";
nvidia,function = "spi1";
nvidia,tristate = <0x00>;
nvidia,enable-input = <0x01>;
};
hdr40-pin23 {
nvidia,pins = "spi1_sck_pz3";
nvidia,function = "spi1";
nvidia,tristate = <0x00>;
nvidia,enable-input = <0x01>;
};
hdr40-pin24 {
nvidia,pins = "spi1_cs0_pz6";
nvidia,function = "spi1";
nvidia,tristate = <0x00>;
nvidia,enable-input = <0x01>;
};
hdr40-pin26 {
nvidia,pins = "spi1_cs1_pz7";
nvidia,function = "spi1";
nvidia,tristate = <0x00>;
nvidia,enable-input = <0x01>;
};
the spi setting is fine , we are try to use pin18(GPIO) as RESET gpio, but the setting seems not working
I check from
gpioinfo
line 43: “PH.00” unused input active-high
sudo cat /sys/kernel/debug/pinctrl/2430000.pinmux/pinmux-pins
pin 43 (SOC_GPIO21_PH0): 2430000.pinmux (GPIO UNCLAIMED) (HOG) function gp group soc_gpio21_ph0
Can you give me some guide
Best Regards,
Kevin Tseng