]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/armv8/zynqmp/clk.c
zynqmp: Add support for emulation platform - Veloce
[people/ms/u-boot.git] / arch / arm / cpu / armv8 / zynqmp / clk.c
index 0af619d92fdea7548e4bddf6e97703418882e042..9218586e94a3bf0a26c92af13900856a32144f00 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <asm/arch/clk.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 
@@ -16,6 +17,8 @@ unsigned long get_uart_clk(int dev_id)
        u32 ver = zynqmp_get_silicon_version();
 
        switch (ver) {
+       case ZYNQMP_CSU_VERSION_VELOCE:
+               return 48000;
        case ZYNQMP_CSU_VERSION_EP108:
                return 25000000;
        }