1 /*******************************************************************************
2  * Copyright 2019-2021 Microchip FPGA Embedded Systems Solutions.
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  * @file hw_mss_clks.h
7  * @author Microchip-FPGA Embedded Systems Solutions
8  *
9  *
10  * Note 1: This file should not be edited. If you need to modify a parameter
11  * without going through regenerating using the MSS Configurator Libero flow
12  * or editing the associated xml file
13  * the following method is recommended:
14 
15  * 1. edit the following file
16  * boards/your_board/platform_config/mpfs_hal_config/mss_sw_config.h
17 
18  * 2. define the value you want to override there.
19  * (Note: There is a commented example in the platform directory)
20 
21  * Note 2: The definition in mss_sw_config.h takes precedence, as
22  * mss_sw_config.h is included prior to the generated header files located in
23  * boards/your_board/fpga_design_config
24  *
25  */
26 
27 #ifndef HW_MSS_CLKS_H_
28 #define HW_MSS_CLKS_H_
29 
30 
31 #ifdef __cplusplus
32 extern  "C" {
33 #endif
34 
35 #if !defined (LIBERO_SETTING_MSS_EXT_SGMII_REF_CLK)
36 /*Ref Clock rate in MHz */
37 #define LIBERO_SETTING_MSS_EXT_SGMII_REF_CLK    125000000
38     /* MSS_EXT_SGMII_REF_CLK             [0:32]  RW value= 125000000 */
39 #endif
40 #if !defined (LIBERO_SETTING_MSS_COREPLEX_CPU_CLK)
41 /*CPU Clock rate in MHz */
42 #define LIBERO_SETTING_MSS_COREPLEX_CPU_CLK    600000000
43     /* MSS_COREPLEX_CPU_CLK              [0:32]  RW value= 600000000 */
44 #endif
45 #if !defined (LIBERO_SETTING_MSS_SYSTEM_CLK)
46 /*System Clock rate in MHz static power. */
47 #define LIBERO_SETTING_MSS_SYSTEM_CLK    600000000
48     /* MSS_SYSTEM_CLK                    [0:32]  RW value= 600000000 */
49 #endif
50 #if !defined (LIBERO_SETTING_MSS_RTC_TOGGLE_CLK)
51 /*RTC toggle Clock rate in MHz static power. */
52 #define LIBERO_SETTING_MSS_RTC_TOGGLE_CLK    1000000
53     /* MSS_RTC_TOGGLE_CLK                [0:32]  RW value= 1000000 */
54 #endif
55 #if !defined (LIBERO_SETTING_MSS_AXI_CLK)
56 /*AXI Clock rate in MHz static power. */
57 #define LIBERO_SETTING_MSS_AXI_CLK    300000000
58     /* MSS_AXI_CLK                       [0:32]  RW value= 300000000 */
59 #endif
60 #if !defined (LIBERO_SETTING_MSS_APB_AHB_CLK)
61 /*AXI Clock rate in MHz static power. */
62 #define LIBERO_SETTING_MSS_APB_AHB_CLK    150000000
63     /* MSS_APB_AHB_CLK                   [0:32]  RW value= 150000000 */
64 #endif
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 
71 #endif /* #ifdef HW_MSS_CLKS_H_ */
72 
73