diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-palmte.c')
-rw-r--r-- | arch/arm/mach-omap1/board-palmte.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c index 99f2b43f2541..886b4c0569bd 100644 --- a/arch/arm/mach-omap1/board-palmte.c +++ b/arch/arm/mach-omap1/board-palmte.c | |||
@@ -43,6 +43,21 @@ | |||
43 | #include <mach/keypad.h> | 43 | #include <mach/keypad.h> |
44 | #include <mach/common.h> | 44 | #include <mach/common.h> |
45 | 45 | ||
46 | #define PALMTE_USBDETECT_GPIO 0 | ||
47 | #define PALMTE_USB_OR_DC_GPIO 1 | ||
48 | #define PALMTE_TSC_GPIO 4 | ||
49 | #define PALMTE_PINTDAV_GPIO 6 | ||
50 | #define PALMTE_MMC_WP_GPIO 8 | ||
51 | #define PALMTE_MMC_POWER_GPIO 9 | ||
52 | #define PALMTE_HDQ_GPIO 11 | ||
53 | #define PALMTE_HEADPHONES_GPIO 14 | ||
54 | #define PALMTE_SPEAKER_GPIO 15 | ||
55 | #define PALMTE_DC_GPIO OMAP_MPUIO(2) | ||
56 | #define PALMTE_MMC_SWITCH_GPIO OMAP_MPUIO(4) | ||
57 | #define PALMTE_MMC1_GPIO OMAP_MPUIO(6) | ||
58 | #define PALMTE_MMC2_GPIO OMAP_MPUIO(7) | ||
59 | #define PALMTE_MMC3_GPIO OMAP_MPUIO(11) | ||
60 | |||
46 | static void __init omap_palmte_init_irq(void) | 61 | static void __init omap_palmte_init_irq(void) |
47 | { | 62 | { |
48 | omap1_init_common_hw(); | 63 | omap1_init_common_hw(); |
@@ -286,7 +301,6 @@ static void palmte_get_power_status(struct apm_power_info *info, int *battery) | |||
286 | #endif | 301 | #endif |
287 | 302 | ||
288 | static struct omap_board_config_kernel palmte_config[] __initdata = { | 303 | static struct omap_board_config_kernel palmte_config[] __initdata = { |
289 | { OMAP_TAG_USB, &palmte_usb_config }, | ||
290 | { OMAP_TAG_LCD, &palmte_lcd_config }, | 304 | { OMAP_TAG_LCD, &palmte_lcd_config }, |
291 | { OMAP_TAG_UART, &palmte_uart_config }, | 305 | { OMAP_TAG_UART, &palmte_uart_config }, |
292 | }; | 306 | }; |
@@ -341,6 +355,7 @@ static void __init omap_palmte_init(void) | |||
341 | spi_register_board_info(palmte_spi_info, ARRAY_SIZE(palmte_spi_info)); | 355 | spi_register_board_info(palmte_spi_info, ARRAY_SIZE(palmte_spi_info)); |
342 | palmte_misc_gpio_setup(); | 356 | palmte_misc_gpio_setup(); |
343 | omap_serial_init(); | 357 | omap_serial_init(); |
358 | omap_usb_init(&palmte_usb_config); | ||
344 | omap_register_i2c_bus(1, 100, NULL, 0); | 359 | omap_register_i2c_bus(1, 100, NULL, 0); |
345 | } | 360 | } |
346 | 361 | ||