Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248727
b: refs/heads/master
c: 01da92f
h: refs/heads/master
i:
  248725: aa48bcd
  248723: 1e3c759
  248719: f62fead
v: v3
  • Loading branch information
Joonyoung Shim authored and Greg Kroah-Hartman committed Apr 13, 2011
1 parent a0db557 commit 21e2892
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bcc5aa87f043d34522d783154d08173b435fb46
refs/heads/master: 01da92f7f6436c6c29c11490c7fcdb20fb6c46b8
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-exynos4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ config MACH_NURI
select S3C_DEV_HSMMC3
select S3C_DEV_I2C1
select S3C_DEV_I2C5
select S5P_DEV_USB_EHCI
select EXYNOS4_SETUP_I2C1
select EXYNOS4_SETUP_I2C5
select EXYNOS4_SETUP_SDHCI
Expand Down
16 changes: 16 additions & 0 deletions trunk/arch/arm/mach-exynos4/mach-nuri.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/sdhci.h>
#include <plat/ehci.h>
#include <plat/clock.h>

#include <mach/map.h>

Expand Down Expand Up @@ -262,6 +264,16 @@ static struct i2c_board_info i2c5_devs[] __initdata = {
/* max8997, To be updated */
};

/* USB EHCI */
static struct s5p_ehci_platdata nuri_ehci_pdata;

static void __init nuri_ehci_init(void)
{
struct s5p_ehci_platdata *pdata = &nuri_ehci_pdata;

s5p_ehci_set_platdata(pdata);
}

static struct platform_device *nuri_devices[] __initdata = {
/* Samsung Platform Devices */
&emmc_fixed_voltage,
Expand All @@ -270,6 +282,7 @@ static struct platform_device *nuri_devices[] __initdata = {
&s3c_device_hsmmc3,
&s3c_device_wdt,
&s3c_device_timer[0],
&s5p_device_ehci,

/* NURI Devices */
&nuri_gpio_keys,
Expand All @@ -291,6 +304,9 @@ static void __init nuri_machine_init(void)
i2c_register_board_info(1, i2c1_devs, ARRAY_SIZE(i2c1_devs));
i2c_register_board_info(5, i2c5_devs, ARRAY_SIZE(i2c5_devs));

nuri_ehci_init();
clk_xusbxti.rate = 24000000;

/* Last */
platform_add_devices(nuri_devices, ARRAY_SIZE(nuri_devices));
}
Expand Down

0 comments on commit 21e2892

Please sign in to comment.