mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
23 lines
570 B
C
23 lines
570 B
C
/*
|
|
* Copyright 2010 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __FSL_MPC83XX_SERDES_H
|
|
#define __FSL_MPC83XX_SERDES_H
|
|
|
|
#include <config.h>
|
|
|
|
#define FSL_SERDES_CLK_100 (0 << 28)
|
|
#define FSL_SERDES_CLK_125 (1 << 28)
|
|
#define FSL_SERDES_CLK_150 (3 << 28)
|
|
#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
|
|
|
|
extern void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd);
|
|
|
|
#endif /* __FSL_MPC83XX_SERDES_H */
|