Jens Wiklander | 53b6aac | 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 | |
| 24 | |
| 25 | Example: |
| 26 | firmware { |
| 27 | optee { |
| 28 | compatible = "linaro,optee-tz"; |
| 29 | method = "smc"; |
| 30 | }; |
| 31 | }; |