dts: optee: Add fTPM nodes

This patch adds several fTPM device tree nodes. These nodes are to pass
4 things from MB2 to OP-TEE:
- fTPM Seed
- Silicon identity public key
- MB2 event log signature
- TOS event log signature

Bug 3960022
Bug 200771475

This patch is a squash of 2 rel-36 patches listed below.

Change-Id: I37199bd901c43224fd820ae0f4c41597739625f1
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978522
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3103570
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3116741
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Tested-by: Mark Zhang <markz@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Mark Zhang
2023-06-04 18:43:38 +08:00
committed by mobile promotions
parent 1adbf25ff3
commit e5c2fd4172

View File

@@ -74,6 +74,53 @@
}; };
}; };
/*
* The fTPM node is created to pass fTPM information from MB2 to OP-TEE.
* The reg attribute indicates the address and the size of the component,
* which will be filled by MB2 at runtime. All addresses are inside TZDRAM.
* The status of the nodes below will always be set to disabled and the
* secure-status will be set to okay by MB2 at runtime.
*/
ftpm {
compatible = "nvidia,ftpm-contents";
status = "disabled";
secure-status = "disabled";
#address-cells = <2>;
#size-cells = <2>;
/* This is the ftpm seed. */
ftpm-seed@0 {
compatible = "nvidia,ftpm-seed";
reg = <0 0 0 0>;
status = "disabled";
secure-status = "disabled";
};
/* This is the Silicon ID public key. */
silicon-id-pubkey@0 {
compatible = "nvidia,ftpm-silicon-id-pubkey";
reg = <0 0 0 0>;
status = "disabled";
secure-status = "disabled";
};
/* This is the signature of the MB2 measurement. */
mb2-event-log-sig@0 {
compatible = "nvidia,ftpm-mb2-event-log-sig";
reg = <0 0 0 0>;
status = "disabled";
secure-status = "disabled";
};
/* This is the signature of the TOS image measurement. */
tos-event-log-sig@0 {
compatible = "nvidia,ftpm-tos-event-log-sig";
reg = <0 0 0 0>;
status = "disabled";
secure-status = "disabled";
};
};
/* MB2 will fill the address and size of EKB blob. */ /* MB2 will fill the address and size of EKB blob. */
ekb-blob@0 { ekb-blob@0 {
compatible = "jetson-ekb-blob"; compatible = "jetson-ekb-blob";