Skip to content

Commit

Permalink
omap: Devkit8000: Remove unused pins
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Weber authored and Tony Lindgren committed Apr 23, 2010
1 parent faec32e commit cf25eb9
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions arch/arm/mach-omap2/board-devkit8000.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,20 +268,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
devkit8000_vmmc1_supply.dev = mmc[0].dev;
devkit8000_vsim_supply.dev = mmc[0].dev;

/* REVISIT: need ehci-omap hooks for external VBUS
* power switch and overcurrent detect
*/

gpio_request(gpio + 1, "EHCI_nOC");
gpio_direction_input(gpio + 1);

/* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");
gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1);

/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;

return 0;
}

Expand Down Expand Up @@ -664,12 +650,6 @@ static void __init devkit8000_init(void)

devkit8000_ads7846_init();

omap_mux_init_gpio(170, OMAP_PIN_INPUT);

gpio_request(170, "DVI_nPD");
/* REVISIT leave DVI powered down until it's needed ... */
gpio_direction_output(170, true);

usb_musb_init(&musb_board_data);
usb_ehci_init(&ehci_pdata);
devkit8000_flash_init();
Expand Down

0 comments on commit cf25eb9

Please sign in to comment.