xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunOP-TEE Device Tree Bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunOP-TEE is a piece of software using hardware features to provide a Trusted
4*4882a593SmuzhiyunExecution Environment. The security can be provided with ARM TrustZone, but
5*4882a593Smuzhiyunalso by virtualization or a separate chip.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunWe're using "linaro" as the first part of the compatible property for
8*4882a593Smuzhiyunthe reference implementation maintained by Linaro.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun* OP-TEE based on ARM TrustZone required properties:
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun- compatible     : should contain "linaro,optee-tz"
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun- method         : The method of calling the OP-TEE Trusted OS. Permitted
15*4882a593Smuzhiyun                   values are:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun                   "smc" : SMC #0, with the register assignments specified
18*4882a593Smuzhiyun		           in drivers/tee/optee/optee_smc.h
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun                   "hvc" : HVC #0, with the register assignments specified
21*4882a593Smuzhiyun		           in drivers/tee/optee/optee_smc.h
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunExample:
26*4882a593Smuzhiyun	firmware {
27*4882a593Smuzhiyun		optee {
28*4882a593Smuzhiyun			compatible = "linaro,optee-tz";
29*4882a593Smuzhiyun			method = "smc";
30*4882a593Smuzhiyun		};
31*4882a593Smuzhiyun	};
32