diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-smdkv210.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index 3c29e18528a5..0d4627948040 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -25,6 +25,8 @@ | |||
25 | #include <plat/s5pv210.h> | 25 | #include <plat/s5pv210.h> |
26 | #include <plat/devs.h> | 26 | #include <plat/devs.h> |
27 | #include <plat/cpu.h> | 27 | #include <plat/cpu.h> |
28 | #include <plat/adc.h> | ||
29 | #include <plat/ts.h> | ||
28 | 30 | ||
29 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 31 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
30 | #define S5PV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 32 | #define S5PV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
@@ -74,6 +76,15 @@ static struct s3c2410_uartcfg smdkv210_uartcfgs[] __initdata = { | |||
74 | static struct platform_device *smdkv210_devices[] __initdata = { | 76 | static struct platform_device *smdkv210_devices[] __initdata = { |
75 | &s5pv210_device_iis0, | 77 | &s5pv210_device_iis0, |
76 | &s5pv210_device_ac97, | 78 | &s5pv210_device_ac97, |
79 | &s3c_device_adc, | ||
80 | &s3c_device_ts, | ||
81 | &s3c_device_wdt, | ||
82 | }; | ||
83 | |||
84 | static struct s3c2410_ts_mach_info s3c_ts_platform __initdata = { | ||
85 | .delay = 10000, | ||
86 | .presc = 49, | ||
87 | .oversampling_shift = 2, | ||
77 | }; | 88 | }; |
78 | 89 | ||
79 | static void __init smdkv210_map_io(void) | 90 | static void __init smdkv210_map_io(void) |
@@ -85,6 +96,7 @@ static void __init smdkv210_map_io(void) | |||
85 | 96 | ||
86 | static void __init smdkv210_machine_init(void) | 97 | static void __init smdkv210_machine_init(void) |
87 | { | 98 | { |
99 | s3c24xx_ts_set_platdata(&s3c_ts_platform); | ||
88 | platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices)); | 100 | platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices)); |
89 | } | 101 | } |
90 | 102 | ||