diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-smdkv210.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index a9106c392398..b4021dd802a8 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -13,13 +13,14 @@ | |||
13 | #include <linux/i2c.h> | 13 | #include <linux/i2c.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/serial_core.h> | 15 | #include <linux/serial_core.h> |
16 | #include <linux/sysdev.h> | 16 | #include <linux/device.h> |
17 | #include <linux/dm9000.h> | 17 | #include <linux/dm9000.h> |
18 | #include <linux/fb.h> | 18 | #include <linux/fb.h> |
19 | #include <linux/gpio.h> | 19 | #include <linux/gpio.h> |
20 | #include <linux/delay.h> | 20 | #include <linux/delay.h> |
21 | #include <linux/pwm_backlight.h> | 21 | #include <linux/pwm_backlight.h> |
22 | 22 | ||
23 | #include <asm/hardware/vic.h> | ||
23 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
24 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
25 | #include <asm/setup.h> | 26 | #include <asm/setup.h> |
@@ -33,7 +34,6 @@ | |||
33 | #include <plat/regs-serial.h> | 34 | #include <plat/regs-serial.h> |
34 | #include <plat/regs-srom.h> | 35 | #include <plat/regs-srom.h> |
35 | #include <plat/gpio-cfg.h> | 36 | #include <plat/gpio-cfg.h> |
36 | #include <plat/s5pv210.h> | ||
37 | #include <plat/devs.h> | 37 | #include <plat/devs.h> |
38 | #include <plat/cpu.h> | 38 | #include <plat/cpu.h> |
39 | #include <plat/adc.h> | 39 | #include <plat/adc.h> |
@@ -47,6 +47,8 @@ | |||
47 | #include <plat/backlight.h> | 47 | #include <plat/backlight.h> |
48 | #include <plat/regs-fb-v4.h> | 48 | #include <plat/regs-fb-v4.h> |
49 | 49 | ||
50 | #include "common.h" | ||
51 | |||
50 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 52 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
51 | #define SMDKV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 53 | #define SMDKV210_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
52 | S3C2410_UCON_RXILEVEL | \ | 54 | S3C2410_UCON_RXILEVEL | \ |
@@ -273,11 +275,12 @@ static struct samsung_bl_gpio_info smdkv210_bl_gpio_info = { | |||
273 | 275 | ||
274 | static struct platform_pwm_backlight_data smdkv210_bl_data = { | 276 | static struct platform_pwm_backlight_data smdkv210_bl_data = { |
275 | .pwm_id = 3, | 277 | .pwm_id = 3, |
278 | .pwm_period_ns = 1000, | ||
276 | }; | 279 | }; |
277 | 280 | ||
278 | static void __init smdkv210_map_io(void) | 281 | static void __init smdkv210_map_io(void) |
279 | { | 282 | { |
280 | s5p_init_io(NULL, 0, S5P_VA_CHIPID); | 283 | s5pv210_init_io(NULL, 0); |
281 | s3c24xx_init_clocks(24000000); | 284 | s3c24xx_init_clocks(24000000); |
282 | s3c24xx_init_uarts(smdkv210_uartcfgs, ARRAY_SIZE(smdkv210_uartcfgs)); | 285 | s3c24xx_init_uarts(smdkv210_uartcfgs, ARRAY_SIZE(smdkv210_uartcfgs)); |
283 | s5p_set_timer_source(S5P_PWM2, S5P_PWM4); | 286 | s5p_set_timer_source(S5P_PWM2, S5P_PWM4); |
@@ -315,7 +318,9 @@ MACHINE_START(SMDKV210, "SMDKV210") | |||
315 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 318 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
316 | .atag_offset = 0x100, | 319 | .atag_offset = 0x100, |
317 | .init_irq = s5pv210_init_irq, | 320 | .init_irq = s5pv210_init_irq, |
321 | .handle_irq = vic_handle_irq, | ||
318 | .map_io = smdkv210_map_io, | 322 | .map_io = smdkv210_map_io, |
319 | .init_machine = smdkv210_machine_init, | 323 | .init_machine = smdkv210_machine_init, |
320 | .timer = &s5p_timer, | 324 | .timer = &s5p_timer, |
325 | .restart = s5pv210_restart, | ||
321 | MACHINE_END | 326 | MACHINE_END |