summaryrefslogtreecommitdiff
path: root/include/asm-ppc/fsl_serdes.h
blob: 733f919cf88a6cbf87f855753e81b65759342b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __FSL_SERDES_H
#define __FSL_SERDES_H

#include <config.h>

#define FSL_SERDES_CLK_100		0
#define FSL_SERDES_CLK_125		1
#define FSL_SERDES_CLK_150		3
#define FSL_SERDES_PROTO_SATA		0
#define FSL_SERDES_PROTO_PEX		1
#define FSL_SERDES_PROTO_PEX_X2		2
#define FSL_SERDES_PROTO_SGMII		3
#define FSL_SERDES_VDD_1V		1

#ifdef CONFIG_FSL_SERDES
extern void fsl_setup_serdes(u32 offset, char proto, char rfcks, char vdd);
#else
static void fsl_setup_serdes(u32 offset, char proto, char rfcks, char vdd) {}
#endif /* CONFIG_FSL_SERDES */

#endif /* __FSL_SERDES_H */