xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/phy/phy-cadence.h (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * This header provides constants for Cadence SERDES.
4  */
5 
6 #ifndef _DT_BINDINGS_CADENCE_SERDES_H
7 #define _DT_BINDINGS_CADENCE_SERDES_H
8 
9 #define CDNS_SERDES_NO_SSC		0
10 #define CDNS_SERDES_EXTERNAL_SSC	1
11 #define CDNS_SERDES_INTERNAL_SSC	2
12 
13 /* Torrent */
14 #define CDNS_TORRENT_REFCLK_DRIVER      0
15 #define CDNS_TORRENT_DERIVED_REFCLK	1
16 #define CDNS_TORRENT_RECEIVED_REFCLK	2
17 
18 /* Sierra */
19 #define CDNS_SIERRA_PLL_CMNLC		0
20 #define CDNS_SIERRA_PLL_CMNLC1		1
21 #define CDNS_SIERRA_DERIVED_REFCLK	2
22 
23 #endif /* _DT_BINDINGS_CADENCE_SERDES_H */
24