davinci: EMAC platform support
Add SoC and platform-specific data and init for DaVinci EMAC network driver. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
@@ -12,7 +12,16 @@
|
||||
#define __ASM_ARCH_DM646X_H
|
||||
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/emac.h>
|
||||
|
||||
#define DM646X_EMAC_BASE (0x01C80000)
|
||||
#define DM646X_EMAC_CNTRL_OFFSET (0x0000)
|
||||
#define DM646X_EMAC_CNTRL_MOD_OFFSET (0x1000)
|
||||
#define DM646X_EMAC_CNTRL_RAM_OFFSET (0x2000)
|
||||
#define DM646X_EMAC_MDIO_OFFSET (0x4000)
|
||||
#define DM646X_EMAC_CNTRL_RAM_SIZE (0x2000)
|
||||
|
||||
void __init dm646x_init(void);
|
||||
void dm646x_init_emac(struct emac_platform_data *pdata);
|
||||
|
||||
#endif /* __ASM_ARCH_DM646X_H */
|
||||
|
Reference in New Issue
Block a user