11 #include <linux/serial_core.h>
19 #include <linux/i2c.h>
20 #include <linux/input.h>
43 #include <plat/clock.h>
49 #include <drm/exynos_drm.h>
53 #define SMDKV310_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
54 S3C2410_UCON_RXILEVEL | \
55 S3C2410_UCON_TXIRQMODE | \
56 S3C2410_UCON_RXIRQMODE | \
57 S3C2410_UCON_RXFIFO_TOI | \
58 S3C2443_UCON_RXERR_IRQEN)
60 #define SMDKV310_ULCON_DEFAULT S3C2410_LCON_CS8
62 #define SMDKV310_UFCON_DEFAULT (S3C2410_UFCON_FIFOMODE | \
63 S5PV210_UFCON_TXTRIG4 | \
64 S5PV210_UFCON_RXTRIG4)
99 #ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT
108 .ext_cd_gpio_invert = 1,
113 #ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT
122 .ext_cd_gpio_invert = 1,
129 #if !defined(CONFIG_BACKLIGHT_PWM)
145 #if !defined(CONFIG_BACKLIGHT_PWM)
153 .set_power = lcd_lte480wv_set_power,
157 .name =
"platform-lcd",
159 .dev.platform_data = &smdkv310_lcd_lte480wv_data,
162 #ifdef CONFIG_DRM_EXYNOS
201 .win[0] = &smdkv310_fb_win0,
202 .vtiming = &smdkv310_lcd_timing,
209 static struct resource smdkv310_smsc911x_resources[] = {
220 .mac = {0x00, 0x80, 0x00, 0x23, 0x45, 0x67},
226 .num_resources =
ARRAY_SIZE(smdkv310_smsc911x_resources),
227 .resource = smdkv310_smsc911x_resources,
229 .platform_data = &smsc9215_config,
233 static uint32_t smdkv310_keymap[] __initdata = {
242 .
keymap = smdkv310_keymap,
247 .keymap_data = &smdkv310_keymap_data,
259 static void __init smdkv310_ehci_init(
void)
269 static void __init smdkv310_ohci_init(
void)
281 .name =
"smdk-audio",
303 #ifdef CONFIG_DRM_EXYNOS
317 &smdkv310_device_audio,
318 &smdkv310_lcd_lte480wv,
325 static void __init smdkv310_smsc911x_init(
void)
356 .pwm_period_ns = 1000,
364 static struct pwm_lookup smdkv310_pwm_lookup[] = {
368 static void s5p_tv_setup(
void)
376 static void __init smdkv310_map_io(
void)
383 static void __init smdkv310_reserve(
void)
388 static void __init smdkv310_machine_init(
void)
393 smdkv310_smsc911x_init();
409 #ifdef CONFIG_DRM_EXYNOS
416 smdkv310_ehci_init();
417 smdkv310_ohci_init();
426 .atag_offset = 0x100,
429 .map_io = smdkv310_map_io,
431 .init_machine = smdkv310_machine_init,
433 .reserve = &smdkv310_reserve,
439 .atag_offset = 0x100,
440 .smp =
smp_ops(exynos_smp_ops),
442 .map_io = smdkv310_map_io,
444 .init_machine = smdkv310_machine_init,
447 .reserve = &smdkv310_reserve,