blob: 05854846242a9cff16473a2bfdf1fe6a78d24a94 [file] [log] [blame]
Kevin Hilmane38d92f2009-04-29 17:44:58 -07001/*
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 Hilmanac7b75b2009-05-07 06:19:40 -070015#include <mach/emac.h>
Chaithrika U S25acf552009-06-05 06:28:08 -040016#include <mach/asp.h>
Kevin Hilmanac7b75b2009-05-07 06:19:40 -070017
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 Hilmane38d92f2009-04-29 17:44:58 -070024
25void __init dm646x_init(void);
Chaithrika U S25acf552009-06-05 06:28:08 -040026void __init dm646x_init_mcasp0(struct snd_platform_data *pdata);
27void __init dm646x_init_mcasp1(struct snd_platform_data *pdata);
Kevin Hilmane38d92f2009-04-29 17:44:58 -070028
29#endif /* __ASM_ARCH_DM646X_H */