diff mbox series

[1/2] arm64: dts: rk3399-rock-pi-4b-u-boot: add optee node

Message ID 20220221161224.2919883-1-peter.griffin@linaro.org
State New
Headers show
Series [1/2] arm64: dts: rk3399-rock-pi-4b-u-boot: add optee node | expand

Commit Message

Peter Griffin Feb. 21, 2022, 4:12 p.m. UTC
Allow u-boot to probe optee so we can access secure os
from the bootloader.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Simon Glass Feb. 26, 2022, 6:37 p.m. UTC | #1
Hi Peter,

On Mon, 21 Feb 2022 at 09:13, Peter Griffin <peter.griffin@linaro.org> wrote:
>
> Allow u-boot to probe optee so we can access secure os
> from the bootloader.
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
>  arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>

Binman has a tee-os entry type now so please use that. Also please see
my series which converts rockchip 64-bit boards to binman.

Regards,
Simon
diff mbox series

Patch

diff --git a/arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi b/arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi
index 85ee5770ad..95ca99ecbc 100644
--- a/arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-rock-pi-4b-u-boot.dtsi
@@ -4,3 +4,13 @@ 
  */
 
 #include "rk3399-rock-pi-4-u-boot.dtsi"
+
+/ {
+	firmware {
+		optee {
+			compatible = "linaro,optee-tz";
+			method = "smc";
+		};
+	};
+
+};