Path: blob/master/arch/arm/mach-davinci/include/mach/dm365.h
17646 views
/*1* Copyright (C) 2009 Texas Instruments Incorporated2*3* This program is free software; you can redistribute it and/or4* modify it under the terms of the GNU General Public License as5* published by the Free Software Foundation version 2.6*7* This program is distributed "as is" WITHOUT ANY WARRANTY of any8* kind, whether express or implied; without even the implied warranty9* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the10* GNU General Public License for more details.11*/12#ifndef __ASM_ARCH_DM365_H13#define __ASM_ARCH_DM665_H1415#include <linux/platform_device.h>16#include <linux/davinci_emac.h>17#include <mach/hardware.h>18#include <mach/asp.h>19#include <mach/keyscan.h>20#include <media/davinci/vpfe_capture.h>2122#define DM365_EMAC_BASE (0x01D07000)23#define DM365_EMAC_MDIO_BASE (DM365_EMAC_BASE + 0x4000)24#define DM365_EMAC_CNTRL_OFFSET (0x0000)25#define DM365_EMAC_CNTRL_MOD_OFFSET (0x3000)26#define DM365_EMAC_CNTRL_RAM_OFFSET (0x1000)27#define DM365_EMAC_CNTRL_RAM_SIZE (0x2000)2829/* Base of key scan register bank */30#define DM365_KEYSCAN_BASE (0x01C69400)3132#define DM365_RTC_BASE (0x01C69000)3334#define DAVINCI_DM365_VC_BASE (0x01D0C000)35#define DAVINCI_DMA_VC_TX 236#define DAVINCI_DMA_VC_RX 33738#define DM365_ASYNC_EMIF_CONTROL_BASE 0x01D1000039#define DM365_ASYNC_EMIF_DATA_CE0_BASE 0x0200000040#define DM365_ASYNC_EMIF_DATA_CE1_BASE 0x040000004142void __init dm365_init(void);43void __init dm365_init_asp(struct snd_platform_data *pdata);44void __init dm365_init_vc(struct snd_platform_data *pdata);45void __init dm365_init_ks(struct davinci_ks_platform_data *pdata);46void __init dm365_init_rtc(void);47void dm365_init_spi0(unsigned chipselect_mask,48struct spi_board_info *info, unsigned len);4950void dm365_set_vpfe_config(struct vpfe_config *cfg);51#endif /* __ASM_ARCH_DM365_H */525354