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