2 * Copyright 2010 Freescale Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
61 QSGMII_FM1_A, /* A indicates MACs 1-4 */
62 QSGMII_FM1_B, /* B indicates MACs 5,6,9,10 */
72 SGMII_SW1_DTSEC1, /* SW indicates on L2 switch */
78 QSGMII_SW1_A, /* SW indicates on L2 swtich */
89 int is_serdes_configured(enum srds_prtcl device);
90 void fsl_serdes_init(void);
91 const char *serdes_clock_to_string(u32 clock);
93 #ifdef CONFIG_FSL_CORENET
94 #ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2
95 int serdes_get_first_lane(u32 sd, enum srds_prtcl device);
96 enum srds_prtcl serdes_get_prtcl(int serdes, int cfg, int lane);
98 int serdes_get_first_lane(enum srds_prtcl device);
100 #ifdef CONFIG_SYS_P4080_ERRATUM_SERDES9
101 void serdes_reset_rx(enum srds_prtcl device);
105 #endif /* __FSL_SERDES_H */