| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 | /* * linux/arch/arm/mach-omap2/board-omap3evm.c * * Copyright (C) 2008 Texas Instruments * * Modified from mach-omap2/board-3430sdp.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/err.h>#include <linux/clk.h>#include <linux/gpio.h>#include <linux/input.h>#include <linux/input/matrix_keypad.h>#include <linux/leds.h>#include <linux/interrupt.h>#include <linux/mtd/mtd.h>#include <linux/mtd/partitions.h>#include <linux/mtd/nand.h>#include <linux/spi/spi.h>#include <linux/spi/ads7846.h>#include <linux/i2c/twl.h>#include <linux/usb/otg.h>#include <linux/usb/musb.h>#include <linux/usb/nop-usb-xceiv.h>#include <linux/smsc911x.h>#include <linux/wl12xx.h>#include <linux/regulator/fixed.h>#include <linux/regulator/machine.h>#include <linux/mmc/host.h>#include <linux/export.h>#include <asm/mach-types.h>#include <asm/mach/arch.h>#include <asm/mach/map.h>#include <linux/platform_data/mtd-nand-omap2.h>#include "common.h"#include <linux/platform_data/spi-omap2-mcspi.h>#include <video/omapdss.h>#include <video/omap-panel-tfp410.h>#include "soc.h"#include "mux.h"#include "sdram-micron-mt46h32m32lf-6.h"#include "hsmmc.h"#include "common-board-devices.h"#include "board-flash.h"#define	NAND_CS			0#define OMAP3_EVM_TS_GPIO	175#define OMAP3_EVM_EHCI_VBUS	22#define OMAP3_EVM_EHCI_SELECT	61#define OMAP3EVM_ETHR_START	0x2c000000#define OMAP3EVM_ETHR_SIZE	1024#define OMAP3EVM_ETHR_ID_REV	0x50#define OMAP3EVM_ETHR_GPIO_IRQ	176#define OMAP3EVM_SMSC911X_CS	5/* * Eth Reset signal *	64 = Generation 1 (<=RevD) *	7 = Generation 2 (>=RevE) */#define OMAP3EVM_GEN1_ETHR_GPIO_RST	64
 |