提交 95de77d4 编写于 作者: T Tushar Behera 提交者: Kukjin Kim

ARM: EXYNOS: Add USB OHCI support to ORIGEN board

Signed-off-by: NTushar Behera <tushar.behera@linaro.org>
Signed-off-by: NAngus Ainslie <angus.ainslie@linaro.org>
Acked-by: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 62194244
...@@ -294,6 +294,7 @@ config MACH_ORIGEN ...@@ -294,6 +294,7 @@ config MACH_ORIGEN
select SAMSUNG_DEV_BACKLIGHT select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_PWM select SAMSUNG_DEV_PWM
select EXYNOS4_DEV_PD select EXYNOS4_DEV_PD
select EXYNOS4_DEV_USB_OHCI
select EXYNOS4_SETUP_FIMD0 select EXYNOS4_SETUP_FIMD0
select EXYNOS4_SETUP_SDHCI select EXYNOS4_SETUP_SDHCI
select EXYNOS4_SETUP_USB_PHY select EXYNOS4_SETUP_USB_PHY
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <plat/fb.h> #include <plat/fb.h>
#include <plat/mfc.h> #include <plat/mfc.h>
#include <mach/ohci.h>
#include <mach/map.h> #include <mach/map.h>
/* Following are default values for UCON, ULCON and UFCON UART registers */ /* Following are default values for UCON, ULCON and UFCON UART registers */
...@@ -483,6 +484,16 @@ static void __init origen_ehci_init(void) ...@@ -483,6 +484,16 @@ static void __init origen_ehci_init(void)
s5p_ehci_set_platdata(pdata); s5p_ehci_set_platdata(pdata);
} }
/* USB OHCI */
static struct exynos4_ohci_platdata origen_ohci_pdata;
static void __init origen_ohci_init(void)
{
struct exynos4_ohci_platdata *pdata = &origen_ohci_pdata;
exynos4_ohci_set_platdata(pdata);
}
static struct gpio_keys_button origen_gpio_keys_table[] = { static struct gpio_keys_button origen_gpio_keys_table[] = {
{ {
.code = KEY_MENU, .code = KEY_MENU,
...@@ -606,6 +617,7 @@ static struct platform_device *origen_devices[] __initdata = { ...@@ -606,6 +617,7 @@ static struct platform_device *origen_devices[] __initdata = {
&s5p_device_mfc_l, &s5p_device_mfc_l,
&s5p_device_mfc_r, &s5p_device_mfc_r,
&s5p_device_mixer, &s5p_device_mixer,
&exynos4_device_ohci,
&exynos4_device_pd[PD_LCD0], &exynos4_device_pd[PD_LCD0],
&exynos4_device_pd[PD_TV], &exynos4_device_pd[PD_TV],
&exynos4_device_pd[PD_G3D], &exynos4_device_pd[PD_G3D],
...@@ -670,6 +682,7 @@ static void __init origen_machine_init(void) ...@@ -670,6 +682,7 @@ static void __init origen_machine_init(void)
s3c_sdhci0_set_platdata(&origen_hsmmc0_pdata); s3c_sdhci0_set_platdata(&origen_hsmmc0_pdata);
origen_ehci_init(); origen_ehci_init();
origen_ohci_init();
clk_xusbxti.rate = 24000000; clk_xusbxti.rate = 24000000;
s5p_tv_setup(); s5p_tv_setup();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册