| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 | /* * linux/arch/arm/mach-omap2/board-3430sdp.c * * Copyright (C) 2007 Texas Instruments * * Modified from mach-omap2/board-generic.c * * Initial code: Syed Mohammed Khasim * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#include <linux/kernel.h>#include <linux/init.h>#include <linux/platform_device.h>#include <linux/delay.h>#include <linux/input.h>#include <linux/input/matrix_keypad.h>#include <linux/spi/spi.h>#include <linux/i2c/twl.h>#include <linux/regulator/machine.h>#include <linux/io.h>#include <linux/gpio.h>#include <linux/mmc/host.h>#include <linux/platform_data/spi-omap2-mcspi.h>#include <asm/mach-types.h>#include <asm/mach/arch.h>#include <asm/mach/map.h>#include "common.h"#include <linux/omap-dma.h>#include <video/omapdss.h>#include <video/omap-panel-tfp410.h>#include "gpmc.h"#include "gpmc-smc91x.h"#include "soc.h"#include "board-flash.h"#include "mux.h"#include "sdram-qimonda-hyb18m512160af-6.h"#include "hsmmc.h"#include "pm.h"#include "control.h"#include "common-board-devices.h"#define CONFIG_DISABLE_HFCLK 1#define SDP3430_TS_GPIO_IRQ_SDPV1	3#define SDP3430_TS_GPIO_IRQ_SDPV2	2#define ENABLE_VAUX3_DEDICATED	0x03#define ENABLE_VAUX3_DEV_GRP	0x20#define TWL4030_MSECURE_GPIO 22static uint32_t board_keymap[] = {	KEY(0, 0, KEY_LEFT),	KEY(0, 1, KEY_RIGHT),	KEY(0, 2, KEY_A),	KEY(0, 3, KEY_B),	KEY(0, 4, KEY_C),	KEY(1, 0, KEY_DOWN),	KEY(1, 1, KEY_UP),	KEY(1, 2, KEY_E),
 |