From 96151af7eed28d63fdaa1ac6de2d14a9c71f1d4a Mon Sep 17 00:00:00 2001
From: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Date: Wed, 30 Mar 2022 12:14:49 +0000
Subject: [PATCH 6/7] feat(plat/tc): update dts with trusty compatible string

Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: Ic6661df479e114bf3f464165c14df5fa02dc0139
Upstream-Status: Pending [Not submitted to upstream yet]
---
 fdts/tc.dts | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/fdts/tc.dts b/fdts/tc.dts
index af64504a4..dc86958bf 100644
--- a/fdts/tc.dts
+++ b/fdts/tc.dts
@@ -555,4 +555,30 @@
 		compatible = "arm,trace-buffer-extension";
 		interrupts = <1 2 4>;
 	};
+
+	trusty {
+		#size-cells = <0x02>;
+		#address-cells = <0x02>;
+		ranges = <0x00>;
+		compatible = "android,trusty-v1";
+
+		virtio {
+			compatible = "android,trusty-virtio-v1";
+		};
+
+		test {
+			compatible = "android,trusty-test-v1";
+		};
+
+		log {
+			compatible = "android,trusty-log-v1";
+		};
+
+		irq {
+			ipi-range = <0x08 0x0f 0x08>;
+			interrupt-ranges = <0x00 0x0f 0x00 0x10 0x1f 0x01 0x20 0x3f 0x02>;
+			interrupt-templates = <0x01 0x00 0x8001 0x01 0x01 0x04 0x8001 0x01 0x00 0x04>;
+			compatible = "android,trusty-irq-v1";
+		};
+	};
 };
-- 
2.30.2

