Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

mx35_3stack.c File Reference


Detailed Description

This file contains the board specific initialization routines.

Definition in file mx35_3stack.c.

#include <linux/types.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/nodemask.h>
#include <linux/clk.h>
#include <linux/spi/spi.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/fsl_devices.h>
#include <linux/ata.h>
#include <linux/pmic_external.h>
#include <linux/mfd/mc9s08dz60/pmic.h>
#include <linux/regulator/consumer.h>
#include <linux/smsc911x.h>
#include <linux/i2c/tsc2007.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <asm/setup.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <mach/common.h>
#include <mach/memory.h>
#include <mach/gpio.h>
#include <mach/mmc.h>
#include "board-mx35_3stack.h"
#include "crm_regs.h"
#include "iomux.h"

Go to the source code of this file.

Defines

#define PLL_399MHZ   PLL_PCTL_REG(0, 1, 16, 8, 5)
#define PLL_532MHZ   PLL_PCTL_REG(1, 1, 12, 11, 1)
#define PLL_665MHZ   PLL_PCTL_REG(1, 1, 48, 13, 41)
#define PLL_PCTL_REG(brmo, pd, mfd, mfi, mfn)

Functions

static void adv7180_pwdn (int pwdn)
static void adv7180_reset (void)
static void bt_reset (void)
 EXPORT_SYMBOL (get_unifi_plat_data)
static void __init fixup_mxc_board (struct machine_desc *desc, struct tag *tags, char **cmdline, struct meminfo *mi)
struct cpu_wp * get_cpu_wp (int *wp)
struct mxc_unifi_platform_data * get_unifi_plat_data (void)
static void mx35_3stack_fixup_for_board_v1 (void)
static void __init mx35_3stack_timer_init (void)
static void __init mxc_board_init (void)
static void mxc_init_ak4647 (void)
static void mxc_init_bl (void)
static void mxc_init_bluetooth (void)
static void mxc_init_enet (void)
static void mxc_init_fb (void)
static int mxc_init_fec (void)
static void __init mxc_init_gps (void)
static void mxc_init_lcd (void)
static void mxc_init_mlb (void)
static void mxc_init_mmc (void)
static void mxc_init_nand_mtd (void)
static void mxc_init_nor_mtd (void)
static void __init mxc_init_pata (void)
static void mxc_init_sgtl5000 (void)
static void mxc_nop_release (struct device *dev)
static void mxc_unifi_enable (int en)
static void mxc_unifi_hardreset (int pin_level)
void si4702_clock_ctl (int flag)
static void si4702_gpio_get (void)
static void si4702_gpio_put (void)
void si4702_reset (void)
static void tsc2007_exit (void)
static int tsc2007_get_pendown_state (void)
static int tsc2007_init (void)

Variables

static struct i2c_board_info
mxc_i2c_board_info[] 
__initdata
static struct
mxc_tvin_platform_data 
adv7180_data
 boot_params = PHYS_OFFSET + 0x100
static struct
mxc_camera_platform_data 
camera_data
static struct cpu_wp cpu_wp_auto []
static struct cpu_wp cpu_wp_con []
 fixup = fixup_mxc_board
 init_irq = mxc_init_irq
 init_machine = mxc_board_init
 io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc
static struct mxc_lcd_platform_data lcd_data
static struct platform_device lcd_dev
 map_io = mx35_map_io
unsigned int mx35_3stack_board_io
static struct mxc_bt_platform_data mxc_bt_data
static struct platform_device mxc_bt_device
static struct sys_timer mxc_timer
 phys_io = AIPS1_BASE_ADDR
static struct mxc_fm_platform_data si4702_data
 timer = &mxc_timer
struct tsc2007_platform_data tsc2007_data
static struct
mxc_unifi_platform_data 
unifi_data


Generated by  Doxygen 1.6.0   Back to index