diff mbox series

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

Message ID 20220221160841.2919633-1-peter.griffin@linaro.org
State Superseded
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:08 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

Kever Yang March 14, 2022, 8:09 a.m. UTC | #1
Hi Peter,

Peter Griffin <peter.griffin@linaro.org> 于2022年2月22日周二 00:10写道:
>
> Allow u-boot to probe optee so we can access secure os
> from the bootloader.
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>  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
>
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";
+		};
+	};
+
+};