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

Peter Griffin peter.griffin at linaro.org
Mon Feb 21 17:12:23 CET 2022


Allow u-boot to probe optee so we can access secure os
from the bootloader.

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

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";
+		};
+	};
+
+};
-- 
2.25.1



More information about the U-Boot mailing list