aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2019-05-03 16:35:25 +0530
committerJolly Shah <jolly.shah@xilinx.com>2020-01-15 11:04:05 -0800
commitd69bbd0e80d07d4c9008a0666e192491ddf52e43 (patch)
tree3559eee7d3730136e407492faa6c470da86d26c4
parent29af4789759714db41d10e3c80d0b00e14916d54 (diff)
downloadplatform_external_arm-trusted-firmware-d69bbd0e80d07d4c9008a0666e192491ddf52e43.tar.gz
platform_external_arm-trusted-firmware-d69bbd0e80d07d4c9008a0666e192491ddf52e43.tar.bz2
platform_external_arm-trusted-firmware-d69bbd0e80d07d4c9008a0666e192491ddf52e43.zip
xilinx: versal: Wire silicon default setup
Add new option for serial and default clock setup. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Jolly Shah <jolly.shah@xilinx.com> Change-Id: I0ca7ad51637cdaa6bb891f22c53595d20da7236a
-rw-r--r--plat/xilinx/versal/include/versal_def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plat/xilinx/versal/include/versal_def.h b/plat/xilinx/versal/include/versal_def.h
index a1479a10c..94bd321b8 100644
--- a/plat/xilinx/versal/include/versal_def.h
+++ b/plat/xilinx/versal/include/versal_def.h
@@ -19,6 +19,7 @@
/* List all supported platforms */
#define VERSAL_PLATFORM_ID_versal_virt 1
+#define VERSAL_PLATFORM_ID_silicon 4
#define VERSAL_PLATFORM_IS(con) (VERSAL_PLATFORM_ID_ ## con == VERSAL_PLATFORM)
@@ -85,6 +86,11 @@
# define VERSAL_UART_CLOCK 25000000
# define VERSAL_UART_BAUDRATE 115200
# define VERSAL_CPU_CLOCK 2720000
+#elif VERSAL_PLATFORM_IS(silicon)
+# define PLATFORM_NAME "Versal Silicon"
+# define VERSAL_UART_CLOCK 100000000
+# define VERSAL_UART_BAUDRATE 115200
+# define VERSAL_CPU_CLOCK 100000000
#endif
/* Access control register defines */