Skip to contentSkip to conversation

arm64: dts: marvell: add optee FW definitions

PATCH In review [email protected] 2 participants 2 messages Nov 9, 2022 – Nov 28, 2022 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [PATCH] arch/arm64/boot/dts/marvell: add optee FW definitions

#1 lore raw

PATCH 1/1 arm64: dts: marvell: add optee FW definitions

From: Konstantin Porotchkin <[email protected]>

Add reserved memory and ARM firmware definitions for optee memory region in Marvell Armada SoCs to avoid protected memory access.

Cc Andrew Lunn <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
---
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi  | 5 +++++
 arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 5 +++++
 2 files changed, 10 insertions(+)
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +5 -0
index df152c72276b..e300145ad1a6 100644
@@ -35,6 +35,11 @@ psci-area@4000000 {
 			reg = <0 0x4000000 0 0x200000>;
 			no-map;
 		};
+
+		tee@4400000 {
+			reg = <0 0x4400000 0 0x1000000>;
+			no-map;
+		};
 	};
 
 	cpus {
arch/arm64/boot/dts/marvell/armada-ap80x.dtsi +5 -0
index a06a0a889c43..4e6d29ad32eb 100644
@@ -41,6 +41,11 @@ psci-area@4000000 {
 			reg = <0x0 0x4000000 0x0 0x200000>;
 			no-map;
 		};
+
+		tee@4400000 {
+			reg = <0 0x4400000 0 0x1000000>;
+			no-map;
+		};
 	};
 
 	AP_NAME {
Signature · 1 line
2.25.1
maintainer
#2 lore raw
Quoted 6 lines · <[email protected]> writes:

From: Konstantin Porotchkin <[email protected]>

Add reserved memory and ARM firmware definitions for optee memory region in Marvell Armada SoCs to avoid protected memory access.

Applied on mvebu/dt64

Thanks,

Gregory

Quoted 44 lines
Cc Andrew Lunn <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
---
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi  | 5 +++++
 arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 5 +++++
 2 files changed, 10 insertions(+)
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +5 -0
index df152c72276b..e300145ad1a6 100644
@@ -35,6 +35,11 @@ psci-area@4000000 {
 			reg = <0 0x4000000 0 0x200000>;
 			no-map;
 		};
+
+		tee@4400000 {
+			reg = <0 0x4400000 0 0x1000000>;
+			no-map;
+		};
 	};
 
 	cpus {
arch/arm64/boot/dts/marvell/armada-ap80x.dtsi +5 -0
index a06a0a889c43..4e6d29ad32eb 100644
@@ -41,6 +41,11 @@ psci-area@4000000 {
 			reg = <0x0 0x4000000 0x0 0x200000>;
 			no-map;
 		};
+
+		tee@4400000 {
+			reg = <0 0x4400000 0 0x1000000>;
+			no-map;
+		};
 	};
 
 	AP_NAME {
Signature · 1 line
2.25.1
Signature · 3 lines
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com