Jens Wiklander | 468d83c | 2018-09-25 16:40:10 +0200 | [diff] [blame] | 1 | OP-TEE Device Tree Bindings |
| 2 | |
| 3 | OP-TEE is a piece of software using hardware features to provide a Trusted |
| 4 | Execution Environment. The security can be provided with ARM TrustZone, but |
| 5 | also by virtualization or a separate chip. |
| 6 | |
| 7 | We're using "linaro" as the first part of the compatible property for |
| 8 | the reference implementation maintained by Linaro. |
| 9 | |
| 10 | * OP-TEE based on ARM TrustZone required properties: |
| 11 | |
| 12 | - compatible : should contain "linaro,optee-tz" |
| 13 | |
| 14 | - method : The method of calling the OP-TEE Trusted OS. Permitted |
| 15 | values are: |
| 16 | |
| 17 | "smc" : SMC #0, with the register assignments specified |
| 18 | in drivers/tee/optee/optee_smc.h |
| 19 | |
| 20 | "hvc" : HVC #0, with the register assignments specified |
| 21 | in drivers/tee/optee/optee_smc.h |
| 22 | |
| 23 | |
Jens Wiklander | 468d83c | 2018-09-25 16:40:10 +0200 | [diff] [blame] | 24 | Example: |
| 25 | firmware { |
| 26 | optee { |
| 27 | compatible = "linaro,optee-tz"; |
| 28 | method = "smc"; |
| 29 | }; |
| 30 | }; |