Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
board-dm646x-evm.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/leds.h>
#include <linux/gpio.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/i2c/at24.h>
#include <linux/i2c/pcf857x.h>
#include <media/tvp514x.h>
#include <media/adv7343.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <linux/clk.h>
#include <linux/export.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/common.h>
#include <mach/serial.h>
#include <linux/platform_data/i2c-davinci.h>
#include <linux/platform_data/mtd-davinci.h>
#include <mach/clock.h>
#include <mach/cdce949.h>
#include <linux/platform_data/mtd-davinci-aemif.h>
#include "davinci.h"
#include "clock.h"

Go to the source code of this file.

Macros

#define NAND_BLOCK_SIZE   SZ_128K
 
#define HAS_ATA   0
 
#define DM646X_EVM_ATA_RST   BIT(0)
 
#define DM646X_EVM_ATA_PWD   BIT(1)
 
#define VCH2CLK_MASK   (BIT_MASK(10) | BIT_MASK(9) | BIT_MASK(8))
 
#define VCH2CLK_SYSCLK8   (BIT(9))
 
#define VCH2CLK_AUXCLK   (BIT(9) | BIT(8))
 
#define VCH3CLK_MASK   (BIT_MASK(14) | BIT_MASK(13) | BIT_MASK(12))
 
#define VCH3CLK_SYSCLK8   (BIT(13))
 
#define VCH3CLK_AUXCLK   (BIT(14) | BIT(13))
 
#define VIDCH2CLK   (BIT(10))
 
#define VIDCH3CLK   (BIT(11))
 
#define VIDCH1CLK   (BIT(4))
 
#define TVP7002_INPUT   (BIT(4))
 
#define TVP5147_INPUT   (~BIT(4))
 
#define VPIF_INPUT_ONE_CHANNEL   (BIT(5))
 
#define VPIF_INPUT_TWO_CHANNEL   (~BIT(5))
 
#define TVP5147_CH0   "tvp514x-0"
 
#define TVP5147_CH1   "tvp514x-1"
 
#define TVP514X_STD_ALL   (V4L2_STD_NTSC | V4L2_STD_PAL)
 
#define CDCE949_XIN_RATE   27000000
 
#define DM6467T_EVM_REF_FREQ   33000000
 
#define DM646X_EVM_PHY_ID   "davinci_mdio-0:01"
 

Variables

 atag_offset = 0x100
 
 map_io = davinci_map_io
 
 init_irq = davinci_irq_init
 
 timer = &davinci_timer
 
 init_machine = evm_init
 
 init_late = davinci_init_late
 
 dma_zone_size = SZ_128M
 
 restart = davinci_restart
 

Macro Definition Documentation

#define CDCE949_XIN_RATE   27000000

Definition at line 720 of file board-dm646x-evm.c.

#define DM6467T_EVM_REF_FREQ   33000000

Definition at line 745 of file board-dm646x-evm.c.

#define DM646X_EVM_ATA_PWD   BIT(1)

Definition at line 129 of file board-dm646x-evm.c.

#define DM646X_EVM_ATA_RST   BIT(0)

Definition at line 128 of file board-dm646x-evm.c.

#define DM646X_EVM_PHY_ID   "davinci_mdio-0:01"

Definition at line 761 of file board-dm646x-evm.c.

#define HAS_ATA   0

Definition at line 124 of file board-dm646x-evm.c.

#define NAND_BLOCK_SIZE   SZ_128K

Definition at line 51 of file board-dm646x-evm.c.

#define TVP5147_CH0   "tvp514x-0"

Definition at line 428 of file board-dm646x-evm.c.

#define TVP5147_CH1   "tvp514x-1"

Definition at line 429 of file board-dm646x-evm.c.

#define TVP5147_INPUT   (~BIT(4))

Definition at line 425 of file board-dm646x-evm.c.

#define TVP514X_STD_ALL   (V4L2_STD_NTSC | V4L2_STD_PAL)

Definition at line 627 of file board-dm646x-evm.c.

#define TVP7002_INPUT   (BIT(4))

Definition at line 424 of file board-dm646x-evm.c.

#define VCH2CLK_AUXCLK   (BIT(9) | BIT(8))

Definition at line 416 of file board-dm646x-evm.c.

#define VCH2CLK_MASK   (BIT_MASK(10) | BIT_MASK(9) | BIT_MASK(8))

Definition at line 414 of file board-dm646x-evm.c.

#define VCH2CLK_SYSCLK8   (BIT(9))

Definition at line 415 of file board-dm646x-evm.c.

#define VCH3CLK_AUXCLK   (BIT(14) | BIT(13))

Definition at line 419 of file board-dm646x-evm.c.

#define VCH3CLK_MASK   (BIT_MASK(14) | BIT_MASK(13) | BIT_MASK(12))

Definition at line 417 of file board-dm646x-evm.c.

#define VCH3CLK_SYSCLK8   (BIT(13))

Definition at line 418 of file board-dm646x-evm.c.

#define VIDCH1CLK   (BIT(4))

Definition at line 423 of file board-dm646x-evm.c.

#define VIDCH2CLK   (BIT(10))

Definition at line 421 of file board-dm646x-evm.c.

#define VIDCH3CLK   (BIT(11))

Definition at line 422 of file board-dm646x-evm.c.

#define VPIF_INPUT_ONE_CHANNEL   (BIT(5))

Definition at line 426 of file board-dm646x-evm.c.

#define VPIF_INPUT_TWO_CHANNEL   (~BIT(5))

Definition at line 427 of file board-dm646x-evm.c.

Variable Documentation

MACHINE_END atag_offset = 0x100

Definition at line 818 of file board-dm646x-evm.c.

MACHINE_END dma_zone_size = SZ_128M

Definition at line 824 of file board-dm646x-evm.c.

Definition at line 820 of file board-dm646x-evm.c.

Definition at line 823 of file board-dm646x-evm.c.

MACHINE_END init_machine = evm_init

Definition at line 822 of file board-dm646x-evm.c.

MACHINE_END map_io = davinci_map_io

Definition at line 819 of file board-dm646x-evm.c.

Definition at line 825 of file board-dm646x-evm.c.

Definition at line 821 of file board-dm646x-evm.c.