fix(versal2): correct SLCR base for timer interrupt
TSP suspend/resume tests were failing because the timer interrupt did
not occur after registration, due to an incorrect SLCR (System Level
Control Registers) base address mapping.
Updated the SLCR base address to align with the AMD Versal Gen 2
register mapping and configured the TTC (Triple Timer Counter) base
to TTC0.
Change-Id: I64e3bbed20e440a8fd6f26295ee72ef421392360
Signed-off-by: Saivardhan Thatikonda <saivardhan.thatikonda@amd.com>
diff --git a/plat/amd/versal2/include/platform_def.h b/plat/amd/versal2/include/platform_def.h
index 89a8cde..206f292 100644
--- a/plat/amd/versal2/include/platform_def.h
+++ b/plat/amd/versal2/include/platform_def.h
@@ -66,13 +66,13 @@
#define GIC_BASE GICD_REG_BASE
#define GIC_SIZE U(0x01000000)
-#define TTC_BASE U(0xF1E70000)
+#define TTC_BASE U(0xF1E60000)
#define TTC_SIZE U(0x00010000)
#define SYS_CNT_BASE1 TTC_BASE
#define SYS_CNT_SIZE TTC_SIZE
-#define LPD_IOU_SLCR U(0xEB410000)
+#define LPD_IOU_SLCR U(0xF1A20000)
#define LPD_IOU_SLCR_SIZE U(0x00010000)
/* ARM PL011 UART */