diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2013-08-15 02:08:05 -0400 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2013-09-12 22:42:38 -0400 |
commit | 1d899fd652fac98bcbad1f1573f5a6a0224ea2dd (patch) | |
tree | 76ebbde8f4759df5db210a0ecc086b29d5de6bad /arch/blackfin/mach-bf609/include/mach | |
parent | e57860929c7d9833275597e5f02810c262a8b6e0 (diff) |
blackfin: Add STMMAC platform data to enable dwmac1000 driver on BF60x.
- Enable GMAC
- Set propler DMA PBL
- Disable DMA store and forward mode
- Select PTP input clock from MII
clock.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf609/include/mach')
-rw-r--r-- | arch/blackfin/mach-bf609/include/mach/defBF60x_base.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf609/include/mach/defBF60x_base.h b/arch/blackfin/mach-bf609/include/mach/defBF60x_base.h index f1a6afae1a71..35caa7bc192c 100644 --- a/arch/blackfin/mach-bf609/include/mach/defBF60x_base.h +++ b/arch/blackfin/mach-bf609/include/mach/defBF60x_base.h | |||
@@ -839,6 +839,16 @@ | |||
839 | #define PORTG_LOCK 0xFFC03344 /* PORTG Port x GPIO Lock Register */ | 839 | #define PORTG_LOCK 0xFFC03344 /* PORTG Port x GPIO Lock Register */ |
840 | #define PORTG_REVID 0xFFC0337C /* PORTG Port x GPIO Revision ID */ | 840 | #define PORTG_REVID 0xFFC0337C /* PORTG Port x GPIO Revision ID */ |
841 | 841 | ||
842 | /* ================================================== | ||
843 | Pads Controller Registers | ||
844 | ================================================== */ | ||
845 | |||
846 | /* ========================= | ||
847 | PADS0 | ||
848 | ========================= */ | ||
849 | #define PADS0_EMAC_PTP_CLKSEL 0xFFC03404 /* PADS0 Clock Selection for EMAC and PTP */ | ||
850 | #define PADS0_TWI_VSEL 0xFFC03408 /* PADS0 TWI Voltage Selection */ | ||
851 | #define PADS0_PORTS_HYST 0xFFC03440 /* PADS0 Hysteresis Enable Register */ | ||
842 | 852 | ||
843 | /* ========================= | 853 | /* ========================= |
844 | PINT Registers | 854 | PINT Registers |