From aed8040f4aca31a35b9fe9fe3c1f3e3867ea2188 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Tue, 15 Nov 2022 10:01:12 +0100 Subject: [PATCH] arm64: dt: rockpi4: add OP-TEE nodes **not for mainline** Add optee node as well as reserved memory to the Rockpi4 DT. Signed-off-by: Jerome Forissier --- .../boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi index 65a35d8f600e5c..d849bd93fa7572 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -167,6 +167,24 @@ regulator-min-microvolt = <800000>; regulator-max-microvolt = <1400000>; }; + + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + optee@30000000 { + reg = <0x0 0x30000000 0x0 0x2400000>; + no-map; + }; + }; }; &cpu_l0 {