[HONISTER,8/8] arm-bsp/optee-os: add MHU device regions in the SP manifest

Message ID 20211209192300.29211-9-abdellatif.elkhlifi@arm.com
State New
Headers show
Series backport "Corstone1000: MHU driver patchset" | expand

Commit Message

Abdellatif El Khlifi Dec. 9, 2021, 7:23 p.m. UTC
From: Vishnu Banavath <vishnu.banavath@arm.com>

Declaring the MHU device regions nodes.

Change-Id: Idc9faf570b8b97193f69ed32fa71a4a3ca359409
Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
---
 .../corstone1000/sp_manifest_combined_se.dts    | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-arm-bsp/recipes-security/optee/files/optee-os/corstone1000/sp_manifest_combined_se.dts b/meta-arm-bsp/recipes-security/optee/files/optee-os/corstone1000/sp_manifest_combined_se.dts
index c11a8e6..0be1c81 100644
--- a/meta-arm-bsp/recipes-security/optee/files/optee-os/corstone1000/sp_manifest_combined_se.dts
+++ b/meta-arm-bsp/recipes-security/optee/files/optee-os/corstone1000/sp_manifest_combined_se.dts
@@ -17,6 +17,21 @@ 
         execution-state = <0>; /* AArch64 */
         xlat-granule = <0>; /* 4KiB */
         messaging-method = <0>; /* Direct messaging only */
+	device-regions {
+		compatible = "arm,ffa-manifest-device-regions";
+		mhu-sender {
+			/* Armv8 A Foundation Platform values */
+			base-address = <0x00000000 0x1b820000>;
+			pages-count = <16>;
+			attributes = <0x3>; /* read-write */
+		};
+		mhu-receiver {
+			/* Armv8 A Foundation Platform values */
+			base-address = <0x00000000 0x1b830000>;
+			pages-count = <16>;
+			attributes = <0x3>; /* read-write */
+		};
+	};
     };
     smm-gateway{
         compatible = "arm,ffa-manifest-1.0";
@@ -38,4 +53,4 @@ 
               };
 		};
     };
-};
\ No newline at end of file
+};