diff options
| -rw-r--r-- | arch/arm/mach-pxa/zylonite.c | 17 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/zylonite_pxa300.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/zylonite_pxa320.c | 4 |
3 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/zylonite.c b/arch/arm/mach-pxa/zylonite.c index 0cb65b5772fe..813804433466 100644 --- a/arch/arm/mach-pxa/zylonite.c +++ b/arch/arm/mach-pxa/zylonite.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include <mach/pxafb.h> | 29 | #include <mach/pxafb.h> |
| 30 | #include <mach/zylonite.h> | 30 | #include <mach/zylonite.h> |
| 31 | #include <mach/mmc.h> | 31 | #include <mach/mmc.h> |
| 32 | #include <mach/ohci.h> | ||
| 32 | #include <mach/pxa27x_keypad.h> | 33 | #include <mach/pxa27x_keypad.h> |
| 33 | #include <mach/pxa3xx_nand.h> | 34 | #include <mach/pxa3xx_nand.h> |
| 34 | 35 | ||
| @@ -423,6 +424,21 @@ static void __init zylonite_init_nand(void) | |||
| 423 | static inline void zylonite_init_nand(void) {} | 424 | static inline void zylonite_init_nand(void) {} |
| 424 | #endif /* CONFIG_MTD_NAND_PXA3xx || CONFIG_MTD_NAND_PXA3xx_MODULE */ | 425 | #endif /* CONFIG_MTD_NAND_PXA3xx || CONFIG_MTD_NAND_PXA3xx_MODULE */ |
| 425 | 426 | ||
| 427 | #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) | ||
| 428 | static struct pxaohci_platform_data zylonite_ohci_info = { | ||
| 429 | .port_mode = PMM_PERPORT_MODE, | ||
| 430 | .flags = ENABLE_PORT1 | ENABLE_PORT2 | | ||
| 431 | POWER_CONTROL_LOW | POWER_SENSE_LOW, | ||
| 432 | }; | ||
| 433 | |||
| 434 | static void __init zylonite_init_ohci(void) | ||
| 435 | { | ||
| 436 | pxa_set_ohci_info(&zylonite_ohci_info); | ||
| 437 | } | ||
| 438 | #else | ||
| 439 | static inline void zylonite_init_ohci(void) {} | ||
| 440 | #endif /* CONFIG_USB_OHCI_HCD || CONFIG_USB_OHCI_HCD_MODULE */ | ||
| 441 | |||
| 426 | static void __init zylonite_init(void) | 442 | static void __init zylonite_init(void) |
| 427 | { | 443 | { |
| 428 | /* board-processor specific initialization */ | 444 | /* board-processor specific initialization */ |
| @@ -443,6 +459,7 @@ static void __init zylonite_init(void) | |||
| 443 | zylonite_init_keypad(); | 459 | zylonite_init_keypad(); |
| 444 | zylonite_init_nand(); | 460 | zylonite_init_nand(); |
| 445 | zylonite_init_leds(); | 461 | zylonite_init_leds(); |
| 462 | zylonite_init_ohci(); | ||
| 446 | } | 463 | } |
| 447 | 464 | ||
| 448 | MACHINE_START(ZYLONITE, "PXA3xx Platform Development Kit (aka Zylonite)") | 465 | MACHINE_START(ZYLONITE, "PXA3xx Platform Development Kit (aka Zylonite)") |
diff --git a/arch/arm/mach-pxa/zylonite_pxa300.c b/arch/arm/mach-pxa/zylonite_pxa300.c index 1f4d7c052c22..46538885a58a 100644 --- a/arch/arm/mach-pxa/zylonite_pxa300.c +++ b/arch/arm/mach-pxa/zylonite_pxa300.c | |||
| @@ -119,6 +119,10 @@ static mfp_cfg_t common_mfp_cfg[] __initdata = { | |||
| 119 | GPIO13_MMC2_CLK, | 119 | GPIO13_MMC2_CLK, |
| 120 | GPIO14_MMC2_CMD, | 120 | GPIO14_MMC2_CMD, |
| 121 | 121 | ||
| 122 | /* USB Host */ | ||
| 123 | GPIO0_2_USBH_PEN, | ||
| 124 | GPIO1_2_USBH_PWR, | ||
| 125 | |||
| 122 | /* Standard I2C */ | 126 | /* Standard I2C */ |
| 123 | GPIO21_I2C_SCL, | 127 | GPIO21_I2C_SCL, |
| 124 | GPIO22_I2C_SDA, | 128 | GPIO22_I2C_SDA, |
diff --git a/arch/arm/mach-pxa/zylonite_pxa320.c b/arch/arm/mach-pxa/zylonite_pxa320.c index 755e87fa8ab9..0f244744daae 100644 --- a/arch/arm/mach-pxa/zylonite_pxa320.c +++ b/arch/arm/mach-pxa/zylonite_pxa320.c | |||
| @@ -123,6 +123,10 @@ static mfp_cfg_t mfp_cfg[] __initdata = { | |||
| 123 | GPIO28_MMC2_CLK, | 123 | GPIO28_MMC2_CLK, |
| 124 | GPIO29_MMC2_CMD, | 124 | GPIO29_MMC2_CMD, |
| 125 | 125 | ||
| 126 | /* USB Host */ | ||
| 127 | GPIO2_2_USBH_PEN, | ||
| 128 | GPIO3_2_USBH_PWR, | ||
| 129 | |||
| 126 | /* Debug LEDs */ | 130 | /* Debug LEDs */ |
| 127 | GPIO1_2_GPIO | MFP_LPM_DRIVE_HIGH, | 131 | GPIO1_2_GPIO | MFP_LPM_DRIVE_HIGH, |
| 128 | GPIO4_2_GPIO | MFP_LPM_DRIVE_HIGH, | 132 | GPIO4_2_GPIO | MFP_LPM_DRIVE_HIGH, |
