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