From aec1f47efe6f6d2d4de86476ac583b28daca20fc Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Sat, 11 May 2024 10:48:30 +0800 Subject: [PATCH] arm64: dts: rockchip: Add OP-TEE firmware node for rk3576-linux.dtsi Add a new firmware node for OP-TEE to the rk3576-linux.dtsi file. OP-TEE is a trusted execution environment that provides secure execution of trusted applications. The firmware node includes the following properties: - compatible: Set to "linaro,optee-tz" to identify the node as an OP-TEE firmware node. - method: Set to "smc" to specify that the OP-TEE firmware is accessed using the ARM Secure Monitor Call (SMC) instruction. This change allows the kernel to properly initialize and use the OP-TEE firmware on the RK3576 platform, enabling secure execution of trusted applications and providing additional security features. Change-Id: Id8c2fcfcb9176c90afe82d12ee9392e20c8446d1 Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3576-linux.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3576-linux.dtsi b/arch/arm64/boot/dts/rockchip/rk3576-linux.dtsi index 52e10d385147..01d0246d2300 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-linux.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3576-linux.dtsi @@ -22,6 +22,13 @@ status = "okay"; }; + firmware { + optee: optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>;