1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2018 Marvell International Ltd.
5 * https://spdx.org/licenses
10 /** System PLL reference clock */
11 #define PLL_REF_CLK 50000000 /* 50 MHz */
12 #define NS_PER_REF_CLK_TICK (1000000000 / PLL_REF_CLK)
15 * Returns the I/O clock speed in Hz
17 u64 octeontx_get_io_clock(void);
20 * Returns the core clock speed in Hz
22 u64 octeontx_get_core_clock(void);
24 #endif /* __CLOCK_H__ */