Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8bfafb1 authored by Jens Wiklander's avatar Jens Wiklander
Browse files

dt/bindings: add bindings for optee



Introduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE
implementation.

Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent c1ae3cfa
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
OP-TEE Device Tree Bindings

OP-TEE is a piece of software using hardware features to provide a Trusted
Execution Environment. The security can be provided with ARM TrustZone, but
also by virtualization or a separate chip.

We're using "linaro" as the first part of the compatible property for
the reference implementation maintained by Linaro.

* OP-TEE based on ARM TrustZone required properties:

- compatible     : should contain "linaro,optee-tz"

- method         : The method of calling the OP-TEE Trusted OS. Permitted
                   values are:

                   "smc" : SMC #0, with the register assignments specified
		           in drivers/tee/optee/optee_smc.h

                   "hvc" : HVC #0, with the register assignments specified
		           in drivers/tee/optee/optee_smc.h



Example:
	firmware {
		optee {
			compatible = "linaro,optee-tz";
			method = "smc";
		};
	};
+1 −0
Original line number Diff line number Diff line
@@ -168,6 +168,7 @@ lego LEGO Systems A/S
lenovo	Lenovo Group Ltd.
lg	LG Corporation
licheepi	Lichee Pi
linaro	Linaro Limited
linux	Linux-specific binding
lltc	Linear Technology Corporation
lsi	LSI Corp. (LSI Logic)