blob: feb1e02cdbd8de19a9804577a42e9ef175b91759 [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
Hemant Pedanekar1c92a552009-07-09 19:43:20 +053025#define DM646X_ATA_REG_BASE (0x01C66000)
26
Kevin Hilmane38d92f2009-04-29 17:44:58 -070027void __init dm646x_init(void);
Hemant Pedanekar1c92a552009-07-09 19:43:20 +053028void __init dm646x_init_ide(void);
Chaithrika U S25acf552009-06-05 06:28:08 -040029void __init dm646x_init_mcasp0(struct snd_platform_data *pdata);
30void __init dm646x_init_mcasp1(struct snd_platform_data *pdata);
Kevin Hilmane38d92f2009-04-29 17:44:58 -070031
32#endif /* __ASM_ARCH_DM646X_H */