ARM: dts: aspeed: p10: Add TPM device
authorEddie James <eajames@linux.ibm.com>
Wed, 8 Dec 2021 19:17:57 +0000 (13:17 -0600)
committerJoel Stanley <joel@jms.id.au>
Tue, 21 Dec 2021 05:00:31 +0000 (15:30 +1030)
Add the Nuvoton NPCT75X, a TIS I2C TPM.

Modified Eddie's change to include the general compatible string, and
combine the rainier and everest patches.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20211208191758.20517-8-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

index 3e9edc893f558de265f6137d50f5de16fda94adc..22c06ff7a7ed2a9e1df4de7cfee33052244d9a83 100644 (file)
 
 &i2c12 {
        status = "okay";
+
+       tpm@2e {
+               compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
+               reg = <0x2e>;
+       };
 };
 
 &i2c13 {
index cb7d86a2862cfb6929a732b16d8e926a9ca4b036..c47974219832833632ee4a6ff4bb8034192ca57d 100644 (file)
 &i2c12 {
        status = "okay";
 
+       tpm@2e {
+               compatible = "nuvoton,npct75x";
+               reg = <0x2e>;
+       };
+
        eeprom@50 {
                compatible = "atmel,24c64";
                reg = <0x50>;