18c2ecf20Sopenharmony_ciOP-TEE Device Tree Bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciOP-TEE is a piece of software using hardware features to provide a Trusted 48c2ecf20Sopenharmony_ciExecution Environment. The security can be provided with ARM TrustZone, but 58c2ecf20Sopenharmony_cialso by virtualization or a separate chip. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciWe're using "linaro" as the first part of the compatible property for 88c2ecf20Sopenharmony_cithe reference implementation maintained by Linaro. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci* OP-TEE based on ARM TrustZone required properties: 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci- compatible : should contain "linaro,optee-tz" 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci- method : The method of calling the OP-TEE Trusted OS. Permitted 158c2ecf20Sopenharmony_ci values are: 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci "smc" : SMC #0, with the register assignments specified 188c2ecf20Sopenharmony_ci in drivers/tee/optee/optee_smc.h 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci "hvc" : HVC #0, with the register assignments specified 218c2ecf20Sopenharmony_ci in drivers/tee/optee/optee_smc.h 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciExample: 268c2ecf20Sopenharmony_ci firmware { 278c2ecf20Sopenharmony_ci optee { 288c2ecf20Sopenharmony_ci compatible = "linaro,optee-tz"; 298c2ecf20Sopenharmony_ci method = "smc"; 308c2ecf20Sopenharmony_ci }; 318c2ecf20Sopenharmony_ci }; 32