xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/phy/phy-cadence.h (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
12eb4d8dcSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
22eb4d8dcSEmmanuel Vadot /*
32eb4d8dcSEmmanuel Vadot  * This header provides constants for Cadence SERDES.
42eb4d8dcSEmmanuel Vadot  */
52eb4d8dcSEmmanuel Vadot 
62eb4d8dcSEmmanuel Vadot #ifndef _DT_BINDINGS_CADENCE_SERDES_H
72eb4d8dcSEmmanuel Vadot #define _DT_BINDINGS_CADENCE_SERDES_H
82eb4d8dcSEmmanuel Vadot 
92eb4d8dcSEmmanuel Vadot /* Torrent */
102eb4d8dcSEmmanuel Vadot #define TORRENT_SERDES_NO_SSC		0
112eb4d8dcSEmmanuel Vadot #define TORRENT_SERDES_EXTERNAL_SSC	1
122eb4d8dcSEmmanuel Vadot #define TORRENT_SERDES_INTERNAL_SSC	2
132eb4d8dcSEmmanuel Vadot 
142eb4d8dcSEmmanuel Vadot #define CDNS_TORRENT_REFCLK_DRIVER      0
15*8cc087a1SEmmanuel Vadot #define CDNS_TORRENT_DERIVED_REFCLK	1
16*8cc087a1SEmmanuel Vadot #define CDNS_TORRENT_RECEIVED_REFCLK	2
172eb4d8dcSEmmanuel Vadot 
182eb4d8dcSEmmanuel Vadot /* Sierra */
192eb4d8dcSEmmanuel Vadot #define CDNS_SIERRA_PLL_CMNLC		0
202eb4d8dcSEmmanuel Vadot #define CDNS_SIERRA_PLL_CMNLC1		1
212eb4d8dcSEmmanuel Vadot 
222eb4d8dcSEmmanuel Vadot #endif /* _DT_BINDINGS_CADENCE_SERDES_H */
23