xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/phy/phy-ti.h (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1*2eb4d8dcSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*2eb4d8dcSEmmanuel Vadot /*
3*2eb4d8dcSEmmanuel Vadot  * This header provides constants for TI SERDES.
4*2eb4d8dcSEmmanuel Vadot  */
5*2eb4d8dcSEmmanuel Vadot 
6*2eb4d8dcSEmmanuel Vadot #ifndef _DT_BINDINGS_TI_SERDES
7*2eb4d8dcSEmmanuel Vadot #define _DT_BINDINGS_TI_SERDES
8*2eb4d8dcSEmmanuel Vadot 
9*2eb4d8dcSEmmanuel Vadot /* Clock index for output clocks from WIZ */
10*2eb4d8dcSEmmanuel Vadot 
11*2eb4d8dcSEmmanuel Vadot /* MUX Clocks */
12*2eb4d8dcSEmmanuel Vadot #define TI_WIZ_PLL0_REFCLK	0
13*2eb4d8dcSEmmanuel Vadot #define TI_WIZ_PLL1_REFCLK	1
14*2eb4d8dcSEmmanuel Vadot #define TI_WIZ_REFCLK_DIG	2
15*2eb4d8dcSEmmanuel Vadot 
16*2eb4d8dcSEmmanuel Vadot /* Reserve index here for future additions */
17*2eb4d8dcSEmmanuel Vadot 
18*2eb4d8dcSEmmanuel Vadot /* MISC Clocks */
19*2eb4d8dcSEmmanuel Vadot #define TI_WIZ_PHY_EN_REFCLK	16
20*2eb4d8dcSEmmanuel Vadot 
21*2eb4d8dcSEmmanuel Vadot #endif /* _DT_BINDINGS_TI_SERDES */
22