ARM: dts: aspeed: bonnell: Add reserved memory for TPM event log
authorEddie James <eajames@linux.ibm.com>
Fri, 16 Jun 2023 14:26:10 +0000 (09:26 -0500)
committerJoel Stanley <joel@jms.id.au>
Fri, 22 Sep 2023 05:38:23 +0000 (15:08 +0930)
Trusted boot support requires the platform event log passed up
from the bootloader. In U-Boot, this can now be accomplished with
a reserved memory region, so add a region for this purpose to the
Bonnell BMC devicetree.

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

index d47ce4edc67c354a5bf34944c72bf20f56a8d2af..cad1b9aac97b368225c4a516d48c0d447e4763e9 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               event_log: tcg_event_log@b3d00000 {
+                       no-map;
+                       reg = <0xb3d00000 0x100000>;
+               };
+
                ramoops@b3e00000 {
                        compatible = "ramoops";
                        reg = <0xb3e00000 0x200000>; /* 16 * (4 * 0x8000) */
        status = "okay";
 
        tpm@2e {
-               compatible = "nuvoton,npct75x";
+               compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
                reg = <0x2e>;
+               memory-region = <&event_log>;
        };
 
        eeprom@50 {