Kevin Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Chip specific defines for DM646x SoC |
| 3 | * |
| 4 | * Author: Kevin Hilman, Deep Root Systems, LLC |
| 5 | * |
| 6 | * 2007 (c) Deep Root Systems, LLC. This file is licensed under |
| 7 | * the terms of the GNU General Public License version 2. This program |
| 8 | * is licensed "as is" without any warranty of any kind, whether express |
| 9 | * or implied. |
| 10 | */ |
| 11 | #ifndef __ASM_ARCH_DM646X_H |
| 12 | #define __ASM_ARCH_DM646X_H |
| 13 | |
| 14 | #include <mach/hardware.h> |
Kevin Hilman | ac7b75b | 2009-05-07 06:19:40 -0700 | [diff] [blame] | 15 | #include <mach/emac.h> |
Chaithrika U S | 25acf55 | 2009-06-05 06:28:08 -0400 | [diff] [blame^] | 16 | #include <mach/asp.h> |
Kevin Hilman | ac7b75b | 2009-05-07 06:19:40 -0700 | [diff] [blame] | 17 | |
| 18 | #define DM646X_EMAC_BASE (0x01C80000) |
| 19 | #define DM646X_EMAC_CNTRL_OFFSET (0x0000) |
| 20 | #define DM646X_EMAC_CNTRL_MOD_OFFSET (0x1000) |
| 21 | #define DM646X_EMAC_CNTRL_RAM_OFFSET (0x2000) |
| 22 | #define DM646X_EMAC_MDIO_OFFSET (0x4000) |
| 23 | #define DM646X_EMAC_CNTRL_RAM_SIZE (0x2000) |
Kevin Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 24 | |
| 25 | void __init dm646x_init(void); |
Chaithrika U S | 25acf55 | 2009-06-05 06:28:08 -0400 | [diff] [blame^] | 26 | void __init dm646x_init_mcasp0(struct snd_platform_data *pdata); |
| 27 | void __init dm646x_init_mcasp1(struct snd_platform_data *pdata); |
Kevin Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 28 | |
| 29 | #endif /* __ASM_ARCH_DM646X_H */ |