aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-devkit8000.c
diff options
context:
space:
mode:
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();