aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-devkit8000.c
diff options
context:
space:
mode:
authorThomas Weber <weber@corscience.de>2010-03-24 08:52:15 -0400
committerTony Lindgren <tony@atomide.com>2010-04-23 18:37:24 -0400
commitcf25eb950d0d8ada0db33c1d99d61bce620c128f (patch)
treef83a1a533c600157e9e49f52c32d7aca2cfb5962 /arch/arm/mach-omap2/board-devkit8000.c
parentfaec32e5bfe699e40adcf30df82ec1db8fe8e43b (diff)
omap: Devkit8000: Remove unused pins
Old code from original patch contains beagle board pins that are not available on the Devkit8000. Signed-off-by: Thomas Weber <weber@corscience.de> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-devkit8000.c')
-rw-r--r--arch/arm/mach-omap2/board-devkit8000.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 0b4abd47a804..47e3af2166d4 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -268,20 +268,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
268 devkit8000_vmmc1_supply.dev = mmc[0].dev; 268 devkit8000_vmmc1_supply.dev = mmc[0].dev;
269 devkit8000_vsim_supply.dev = mmc[0].dev; 269 devkit8000_vsim_supply.dev = mmc[0].dev;
270 270
271 /* REVISIT: need ehci-omap hooks for external VBUS
272 * power switch and overcurrent detect
273 */
274
275 gpio_request(gpio + 1, "EHCI_nOC");
276 gpio_direction_input(gpio + 1);
277
278 /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
279 gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");
280 gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1);
281
282 /* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
283 gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
284
285 return 0; 271 return 0;
286} 272}
287 273
@@ -664,12 +650,6 @@ static void __init devkit8000_init(void)
664 650
665 devkit8000_ads7846_init(); 651 devkit8000_ads7846_init();
666 652
667 omap_mux_init_gpio(170, OMAP_PIN_INPUT);
668
669 gpio_request(170, "DVI_nPD");
670 /* REVISIT leave DVI powered down until it's needed ... */
671 gpio_direction_output(170, true);
672
673 usb_musb_init(&musb_board_data); 653 usb_musb_init(&musb_board_data);
674 usb_ehci_init(&ehci_pdata); 654 usb_ehci_init(&ehci_pdata);
675 devkit8000_flash_init(); 655 devkit8000_flash_init();