xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/phy/phy-cadence.h (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
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 
9*e67e8565SEmmanuel Vadot #define CDNS_SERDES_NO_SSC		0
10*e67e8565SEmmanuel Vadot #define CDNS_SERDES_EXTERNAL_SSC	1
11*e67e8565SEmmanuel Vadot #define CDNS_SERDES_INTERNAL_SSC	2
122eb4d8dcSEmmanuel Vadot 
13*e67e8565SEmmanuel Vadot /* Torrent */
142eb4d8dcSEmmanuel Vadot #define CDNS_TORRENT_REFCLK_DRIVER      0
158cc087a1SEmmanuel Vadot #define CDNS_TORRENT_DERIVED_REFCLK	1
168cc087a1SEmmanuel 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
21*e67e8565SEmmanuel Vadot #define CDNS_SIERRA_DERIVED_REFCLK	2
222eb4d8dcSEmmanuel Vadot 
232eb4d8dcSEmmanuel Vadot #endif /* _DT_BINDINGS_CADENCE_SERDES_H */
24