Skip to contentSkip to conversation

arm64: dts: rockchip: remove px30 default optee node

PATCH In review Heiko Stuebner 1 participant 2 messages Oct 23, 2019 – Oct 27, 2019

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: remove px30 default optee node

Having a default optee node in a soc devicetree is not really good. For one there is no guarantee that any tee got loaded and there's even the possibility that a completely different TEE got loaded.

OP-Tee however will insert relevant nodes to the devicetree (firmware +reserved memory sections) during its own startup, so there really is no need to provide a default node.

---
 arch/arm64/boot/dts/rockchip/px30.dtsi | 7 -------
 1 file changed, 7 deletions(-)
arch/arm64/boot/dts/rockchip/px30.dtsi +0 -7
index 767f3ce6e9f7..5ab281bb40a4 100644
@@ -161,13 +161,6 @@
 		status = "disabled";
 	};
 
-	firmware {
-		optee {
-			compatible = "linaro,optee-tz";
-			method = "smc";
-		};
-	};
-
 	gmac_clkin: external-gmac-clock {
 		compatible = "fixed-clock";
 		clock-frequency = <50000000>;
Signature · 1 line
2.23.0
author maintainer
#1 lore raw

Am Donnerstag, 24. Oktober 2019, 00:44:09 CET schrieb Heiko Stuebner:

Quoted 9 lines

Having a default optee node in a soc devicetree is not really good. For one there is no guarantee that any tee got loaded and there's even the possibility that a completely different TEE got loaded.

OP-Tee however will insert relevant nodes to the devicetree (firmware +reserved memory sections) during its own startup, so there really is no need to provide a default node.

applied for 5.5