diff options
Diffstat (limited to 'arch/arm/mach-s5p6440/mach-smdk6440.c')
-rw-r--r-- | arch/arm/mach-s5p6440/mach-smdk6440.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-s5p6440/mach-smdk6440.c b/arch/arm/mach-s5p6440/mach-smdk6440.c index d7fede971ca6..8291fecc701a 100644 --- a/arch/arm/mach-s5p6440/mach-smdk6440.c +++ b/arch/arm/mach-s5p6440/mach-smdk6440.c | |||
@@ -38,6 +38,8 @@ | |||
38 | #include <plat/devs.h> | 38 | #include <plat/devs.h> |
39 | #include <plat/cpu.h> | 39 | #include <plat/cpu.h> |
40 | #include <plat/pll.h> | 40 | #include <plat/pll.h> |
41 | #include <plat/adc.h> | ||
42 | #include <plat/ts.h> | ||
41 | 43 | ||
42 | #define S5P6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 44 | #define S5P6440_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
43 | S3C2410_UCON_RXILEVEL | \ | 45 | S3C2410_UCON_RXILEVEL | \ |
@@ -85,6 +87,15 @@ static struct s3c2410_uartcfg smdk6440_uartcfgs[] __initdata = { | |||
85 | 87 | ||
86 | static struct platform_device *smdk6440_devices[] __initdata = { | 88 | static struct platform_device *smdk6440_devices[] __initdata = { |
87 | &s5p6440_device_iis, | 89 | &s5p6440_device_iis, |
90 | &s3c_device_adc, | ||
91 | &s3c_device_ts, | ||
92 | &s3c_device_wdt, | ||
93 | }; | ||
94 | |||
95 | static struct s3c2410_ts_mach_info s3c_ts_platform __initdata = { | ||
96 | .delay = 10000, | ||
97 | .presc = 49, | ||
98 | .oversampling_shift = 2, | ||
88 | }; | 99 | }; |
89 | 100 | ||
90 | static void __init smdk6440_map_io(void) | 101 | static void __init smdk6440_map_io(void) |
@@ -96,6 +107,8 @@ static void __init smdk6440_map_io(void) | |||
96 | 107 | ||
97 | static void __init smdk6440_machine_init(void) | 108 | static void __init smdk6440_machine_init(void) |
98 | { | 109 | { |
110 | s3c24xx_ts_set_platdata(&s3c_ts_platform); | ||
111 | |||
99 | platform_add_devices(smdk6440_devices, ARRAY_SIZE(smdk6440_devices)); | 112 | platform_add_devices(smdk6440_devices, ARRAY_SIZE(smdk6440_devices)); |
100 | } | 113 | } |
101 | 114 | ||