forked from Minki/linux
1c92a554fc
This patch adds platform data and init function for IDE which could be called from board specific file to register IDE device. Note that for 594MHz device the transfer mode is limited to UDMA4 since ideclk rate is less than 100 MHz, which forces udma_mask in palm_bk3710.c to UDMA4, while for 729MHz device, it is UDMA5. Signed-off-by: Hemant Pedanekar <hemantp@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
33 lines
987 B
C
33 lines
987 B
C
/*
|
|
* Chip specific defines for DM646x SoC
|
|
*
|
|
* Author: Kevin Hilman, Deep Root Systems, LLC
|
|
*
|
|
* 2007 (c) Deep Root Systems, LLC. This file is licensed under
|
|
* the terms of the GNU General Public License version 2. This program
|
|
* is licensed "as is" without any warranty of any kind, whether express
|
|
* or implied.
|
|
*/
|
|
#ifndef __ASM_ARCH_DM646X_H
|
|
#define __ASM_ARCH_DM646X_H
|
|
|
|
#include <mach/hardware.h>
|
|
#include <mach/emac.h>
|
|
#include <mach/asp.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)
|
|
|
|
#define DM646X_ATA_REG_BASE (0x01C66000)
|
|
|
|
void __init dm646x_init(void);
|
|
void __init dm646x_init_ide(void);
|
|
void __init dm646x_init_mcasp0(struct snd_platform_data *pdata);
|
|
void __init dm646x_init_mcasp1(struct snd_platform_data *pdata);
|
|
|
|
#endif /* __ASM_ARCH_DM646X_H */
|