ARM: dts: aspeed: everest: Add reserved memory for TPM event log
authorEddie James <eajames@linux.ibm.com>
Wed, 22 Feb 2023 01:50:56 +0000 (19:50 -0600)
committerJoel Stanley <joel@jms.id.au>
Fri, 10 Mar 2023 02:10:59 +0000 (12:40 +1030)
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
Everest BMC devicetree.

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

index c3b0cd6..c6f8f20 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) */
        tpm@2e {
                compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
                reg = <0x2e>;
+               memory-region = <&event_log>;
        };
 };