Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dm365.c File Reference
#include <linux/init.h>
#include <linux/clk.h>
#include <linux/serial_8250.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/spi/spi.h>
#include <asm/mach/map.h>
#include <mach/cputype.h>
#include <mach/edma.h>
#include <mach/psc.h>
#include <mach/mux.h>
#include <mach/irqs.h>
#include <mach/time.h>
#include <mach/serial.h>
#include <mach/common.h>
#include <linux/platform_data/keyscan-davinci.h>
#include <linux/platform_data/spi-davinci.h>
#include <mach/gpio-davinci.h>
#include "davinci.h"
#include "clock.h"
#include "mux.h"
#include "asp.h"

Go to the source code of this file.

Macros

#define DM365_REF_FREQ   24000000 /* 24 MHz on the DM365 EVM */
 
#define DM365_KEYSCAN_BASE   0x01c69400
 
#define DM365_RTC_BASE   0x01c69000
 
#define DAVINCI_DM365_VC_BASE   0x01d0c000
 
#define DAVINCI_DMA_VC_TX   2
 
#define DAVINCI_DMA_VC_RX   3
 
#define DM365_EMAC_BASE   0x01d07000
 
#define DM365_EMAC_MDIO_BASE   (DM365_EMAC_BASE + 0x4000)
 
#define DM365_EMAC_CNTRL_OFFSET   0x0000
 
#define DM365_EMAC_CNTRL_MOD_OFFSET   0x3000
 
#define DM365_EMAC_CNTRL_RAM_OFFSET   0x1000
 
#define DM365_EMAC_CNTRL_RAM_SIZE   0x2000
 
#define INTMUX   0x18
 
#define EVTMUX   0x1c
 
#define DM365_UART1_BASE   (IO_PHYS + 0x106000)
 

Functions

void __init dm365_init_spi0 (unsigned chipselect_mask, const struct spi_board_info *info, unsigned len)
 
void __init dm365_init_asp (struct snd_platform_data *pdata)
 
void __init dm365_init_vc (struct snd_platform_data *pdata)
 
void __init dm365_init_ks (struct davinci_ks_platform_data *pdata)
 
void __init dm365_init_rtc (void)
 
void __init dm365_init (void)
 
 postcore_initcall (dm365_init_devices)
 
void dm365_set_vpfe_config (struct vpfe_config *cfg)
 

Macro Definition Documentation

#define DAVINCI_DM365_VC_BASE   0x01d0c000

Definition at line 48 of file dm365.c.

#define DAVINCI_DMA_VC_RX   3

Definition at line 50 of file dm365.c.

#define DAVINCI_DMA_VC_TX   2

Definition at line 49 of file dm365.c.

#define DM365_EMAC_BASE   0x01d07000

Definition at line 52 of file dm365.c.

#define DM365_EMAC_CNTRL_MOD_OFFSET   0x3000

Definition at line 55 of file dm365.c.

#define DM365_EMAC_CNTRL_OFFSET   0x0000

Definition at line 54 of file dm365.c.

#define DM365_EMAC_CNTRL_RAM_OFFSET   0x1000

Definition at line 56 of file dm365.c.

#define DM365_EMAC_CNTRL_RAM_SIZE   0x2000

Definition at line 57 of file dm365.c.

#define DM365_EMAC_MDIO_BASE   (DM365_EMAC_BASE + 0x4000)

Definition at line 53 of file dm365.c.

#define DM365_KEYSCAN_BASE   0x01c69400

Definition at line 44 of file dm365.c.

#define DM365_REF_FREQ   24000000 /* 24 MHz on the DM365 EVM */

Definition at line 41 of file dm365.c.

#define DM365_RTC_BASE   0x01c69000

Definition at line 46 of file dm365.c.

#define DM365_UART1_BASE   (IO_PHYS + 0x106000)

Definition at line 1044 of file dm365.c.

#define EVTMUX   0x1c

Definition at line 486 of file dm365.c.

#define INTMUX   0x18

Definition at line 485 of file dm365.c.

Function Documentation

void __init dm365_init ( void  )

Definition at line 1138 of file dm365.c.

void __init dm365_init_asp ( struct snd_platform_data pdata)

Definition at line 1104 of file dm365.c.

void __init dm365_init_ks ( struct davinci_ks_platform_data pdata)

Definition at line 1126 of file dm365.c.

void __init dm365_init_rtc ( void  )

Definition at line 1132 of file dm365.c.

void __init dm365_init_spi0 ( unsigned  chipselect_mask,
const struct spi_board_info info,
unsigned  len 
)

Definition at line 678 of file dm365.c.

void __init dm365_init_vc ( struct snd_platform_data pdata)

Definition at line 1118 of file dm365.c.

void dm365_set_vpfe_config ( struct vpfe_config *  cfg)

Definition at line 1257 of file dm365.c.

postcore_initcall ( dm365_init_devices  )