Evaluating SLB 9673 TPM2.0: How to Gain Access to GPIO

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
EnriqueH_SLHC
Level 2
Level 2
10 likes given 10 sign-ins First solution authored

Good Day All...

I am embedded system architect and I am evaluating the SLB9673.  

I was able to enable TMP2 recipe tools in our YOCTO build.  I also enabled all necessary flags in  our device tree.   I  created a image and it was able to start communicating with the chip. 

EnriqueH_SLHC_0-1670600894215.png

so getting the chip to communicate is not the issue. 

 

My current issue is how do I go to gain access to those 3 GPOI pins? does the TPM2 tools would be able get access to them?

EnriqueH_SLHC_2-1670601373551.png

 

0 Likes
1 Solution
Aries
Level 3
Level 3
10 sign-ins 10 replies posted 5 sign-ins

Hi,

 

Kernel booting message

Aries_0-1670999083948.png

 

Device node

Aries_1-1670999106451.png

 

 

 

Read TPM from i2c addr(0x2e), offset 0x48-0x4b, indeed: VID=0x15d1, DID=0x001c, RID=0x16

/ # i2cget -y 0 0x2e 0x48
0xd1
/ # i2cget -y 0 0x2e 0x49
0x15
/ # i2cget -y 0 0x2e 0x4a
0x1c
/ # i2cget -y 0 0x2e 0x4b
0x00
/ # i2cget -y 0 0x2e 0x4c
0x16

 

I2C-TPM Register Overview

TPM_I2C_VID_DID.png

 

View solution in original post

3 Replies
Sneha_P
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins First comment on blog

Hi @EnriqueH_SLHC,

The GPIO’s of the SLB 9673 are implemented as specified in the Databook, chapter “General purpose I/O (GPIO)” and complies with “TCG PC Client Platform TPM Profile (PTP) Specification, Family 2.0, Level 00, Rev. 01.05 v14”, section 4.5.4.1 General Purpose I/O (GPIO).

Aries
Level 3
Level 3
10 sign-ins 10 replies posted 5 sign-ins

Hi,

 

Kernel booting message

Aries_0-1670999083948.png

 

Device node

Aries_1-1670999106451.png

 

 

 

Read TPM from i2c addr(0x2e), offset 0x48-0x4b, indeed: VID=0x15d1, DID=0x001c, RID=0x16

/ # i2cget -y 0 0x2e 0x48
0xd1
/ # i2cget -y 0 0x2e 0x49
0x15
/ # i2cget -y 0 0x2e 0x4a
0x1c
/ # i2cget -y 0 0x2e 0x4b
0x00
/ # i2cget -y 0 0x2e 0x4c
0x16

 

I2C-TPM Register Overview

TPM_I2C_VID_DID.png

 

Sneha_P
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins First comment on blog

Please let us know if your query was resolved. We will lock the thread in 3 days. In case your problem is not resolved, please create a new thread and we will be happy to help.