Logo Search packages:      
Sourcecode: linux version File versions

mx51_babbage.c File Reference


Detailed Description

This file contains the board specific initialization routines.

Definition in file mx51_babbage.c.

#include <linux/types.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/nodemask.h>
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/fsl_devices.h>
#include <linux/spi/spi.h>
#include <linux/i2c.h>
#include <linux/ata.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/spi/flash.h>
#include <linux/regulator/consumer.h>
#include <linux/pmic_external.h>
#include <linux/pmic_status.h>
#include <linux/ipu.h>
#include <linux/mxcfb.h>
#include <mach/common.h>
#include <mach/hardware.h>
#include <mach/spba.h>
#include <asm/irq.h>
#include <asm/setup.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include <asm/mach/keypad.h>
#include <mach/memory.h>
#include <mach/gpio.h>
#include <mach/mmc.h>
#include "board-mx51_babbage.h"
#include "iomux.h"
#include "crm_regs.h"

Go to the source code of this file.

Defines

#define PWGT1SPIEN   (1<<15)
#define PWGT2SPIEN   (1<<16)
#define USEROFFSPI   (1<<3)

Functions

static void dvi_reset (void)
static void __init fixup_mxc_board (struct machine_desc *desc, struct tag *tags, char **cmdline, struct meminfo *mi)
struct cpu_wp * mx51_babbage_get_cpu_wp (int *wp)
void __init mx51_babbage_io_init (void)
static void __init mx51_babbage_timer_init (void)
static void __init mxc_board_init (void)
static void mxc_init_bl (void)
static void mxc_init_fb (void)
static void mxc_init_gpio_button (void)
static void mxc_init_mmc (void)
static void mxc_init_sgtl5000 (void)
static void mxc_nop_release (struct device *dev)
static void mxc_power_off (void)
static void si4702_clock_ctl (int flag)
static void si4702_gpio_get (void)
static void si4702_gpio_put (void)
static void si4702_reset (void)
static void vga_reset (void)

Variables

static struct spi_board_info
mxc_spi_board_info[] 
__initdata
 boot_params = PHYS_OFFSET + 0x100
static struct cpu_wp cpu_wp_auto []
static struct mxc_lcd_platform_data dvi_data
 fixup = fixup_mxc_board
struct cpu_wp *(* get_cpu_wp )(int *wp)
 init_irq = mxc_init_irq
 init_machine = mxc_board_init
 io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc
 map_io = mxc_map_io
static struct sys_timer mxc_timer
static struct platform_device mxcbl_device
 phys_io = AIPS1_BASE_ADDR
static struct mxc_fm_platform_data si4702_data
 timer = &mxc_timer
static struct mxc_lcd_platform_data vga_data


Generated by  Doxygen 1.6.0   Back to index