]> git.sur5r.net Git - u-boot/blob - arch/arm/include/asm/arch-am33xx/emac_defs.h
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / include / asm / arch-am33xx / emac_defs.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2010 Texas Instruments
4  *
5  * Based on:
6  *
7  * ----------------------------------------------------------------------------
8  *
9  * dm644x_emac.h
10  *
11  * TI DaVinci (DM644X) EMAC peripheral driver header for DV-EVM
12  *
13  * Copyright (C) 2005 Texas Instruments.
14  *
15  * ----------------------------------------------------------------------------
16  *
17  */
18
19 #ifndef _EMAC_DEFS_H_
20 #define _EMAC_DEFS_H_
21
22 #ifdef CONFIG_TI816X
23 #define EMAC_BASE_ADDR                  (0x4A100000)
24 #define EMAC_WRAPPER_BASE_ADDR          (0x4A100900)
25 #define EMAC_WRAPPER_RAM_ADDR           (0x4A102000)
26 #define EMAC_MDIO_BASE_ADDR             (0x4A100800)
27 #define EMAC_MDIO_BUS_FREQ              (250000000UL)
28 #define EMAC_MDIO_CLOCK_FREQ            (2000000UL)
29
30 typedef volatile unsigned int   dv_reg;
31 typedef volatile unsigned int   *dv_reg_p;
32
33 #define DAVINCI_EMAC_VERSION2
34 #define DAVINCI_EMAC_GIG_ENABLE
35 #endif
36
37 #endif  /* _EMAC_DEFS_H_ */