forked from Xilinx/u-boot-xlnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The ti816x SoC revision of the ethernet IP block is handled by the "davinci_emac" driver, rather than the "cpsw" driver as done by later members of the family. Enable the relevant plumbing. Signed-off-by: Sriramakrishnan <[email protected]> Signed-off-by: Vitaly Wool <[email protected]> Signed-off-by: Tom Rini <[email protected]>
- Loading branch information
Showing
7 changed files
with
122 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright (C) 2010 Texas Instruments | ||
* | ||
* Based on: | ||
* | ||
* ---------------------------------------------------------------------------- | ||
* | ||
* dm644x_emac.h | ||
* | ||
* TI DaVinci (DM644X) EMAC peripheral driver header for DV-EVM | ||
* | ||
* Copyright (C) 2005 Texas Instruments. | ||
* | ||
* ---------------------------------------------------------------------------- | ||
* | ||
* SPDX-License-Identifier: GPL-2.0+ | ||
* | ||
*/ | ||
|
||
#ifndef _EMAC_DEFS_H_ | ||
#define _EMAC_DEFS_H_ | ||
|
||
#ifdef CONFIG_TI816X | ||
#define EMAC_BASE_ADDR (0x4A100000) | ||
#define EMAC_WRAPPER_BASE_ADDR (0x4A100900) | ||
#define EMAC_WRAPPER_RAM_ADDR (0x4A102000) | ||
#define EMAC_MDIO_BASE_ADDR (0x4A100800) | ||
#define EMAC_MDIO_BUS_FREQ (250000000UL) | ||
#define EMAC_MDIO_CLOCK_FREQ (2000000UL) | ||
|
||
typedef volatile unsigned int dv_reg; | ||
typedef volatile unsigned int *dv_reg_p; | ||
|
||
#define DAVINCI_EMAC_VERSION2 | ||
#define DAVINCI_EMAC_GIG_ENABLE | ||
#endif | ||
|
||
#endif /* _EMAC_DEFS_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters