upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
638 B
26 lines
638 B
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2010 Freescale Semiconductor, Inc.
|
|
*/
|
|
|
|
#ifndef __FSL_MPC83XX_SERDES_H
|
|
#define __FSL_MPC83XX_SERDES_H
|
|
|
|
#ifndef CONFIG_MPC83XX_SERDES
|
|
|
|
#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 /* !CONFIG_MPC83XX_SERDES */
|
|
|
|
#endif /* __FSL_MPC83XX_SERDES_H */
|
|
|