13 #include <linux/i2c.h>
14 #include <linux/input.h>
23 #include <linux/serial_core.h>
32 #include <plat/clock.h>
45 #include <drm/exynos_drm.h>
49 #define SMDK4X12_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \
50 S3C2410_UCON_RXILEVEL | \
51 S3C2410_UCON_TXIRQMODE | \
52 S3C2410_UCON_RXIRQMODE | \
53 S3C2410_UCON_RXFIFO_TOI | \
54 S3C2443_UCON_RXERR_IRQEN)
56 #define SMDK4X12_ULCON_DEFAULT S3C2410_LCON_CS8
58 #define SMDK4X12_UFCON_DEFAULT (S3C2410_UFCON_FIFOMODE | \
59 S5PV210_UFCON_TXTRIG4 | \
60 S5PV210_UFCON_RXTRIG4)
95 #ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT
116 .name =
"VDD_ARM_SMDK4X12",
125 .num_consumer_supplies = 1,
126 .consumer_supplies = &max8997_buck1,
131 .name =
"VDD_INT_SMDK4X12",
140 .num_consumer_supplies = 1,
141 .consumer_supplies = &max8997_buck2,
146 .name =
"VDD_G3D_SMDK4X12",
155 .num_consumer_supplies = 1,
156 .consumer_supplies = &max8997_buck3,
166 .num_regulators =
ARRAY_SIZE(smdk4x12_max8997_regulators),
167 .regulators = smdk4x12_max8997_regulators,
169 .buck1_voltage[0] = 1100000,
170 .buck1_voltage[1] = 1100000,
171 .buck1_voltage[2] = 1100000,
172 .buck1_voltage[3] = 1100000,
173 .buck1_voltage[4] = 1100000,
174 .buck1_voltage[5] = 1100000,
175 .buck1_voltage[6] = 1000000,
176 .buck1_voltage[7] = 950000,
178 .buck2_voltage[0] = 1100000,
179 .buck2_voltage[1] = 1000000,
180 .buck2_voltage[2] = 950000,
181 .buck2_voltage[3] = 900000,
182 .buck2_voltage[4] = 1100000,
183 .buck2_voltage[5] = 1000000,
184 .buck2_voltage[6] = 950000,
185 .buck2_voltage[7] = 900000,
187 .buck5_voltage[0] = 1100000,
188 .buck5_voltage[1] = 1100000,
189 .buck5_voltage[2] = 1100000,
190 .buck5_voltage[3] = 1100000,
191 .buck5_voltage[4] = 1100000,
192 .buck5_voltage[5] = 1100000,
193 .buck5_voltage[6] = 1100000,
194 .buck5_voltage[7] = 1100000,
200 .platform_data = &smdk4x12_max8997_pdata,
223 .pwm_period_ns = 1000,
226 static struct pwm_lookup smdk4x12_pwm_lookup[] = {
230 static uint32_t smdk4x12_keymap[] __initdata = {
239 .keymap = smdk4x12_keymap,
244 .keymap_data = &smdk4x12_keymap_data,
249 #ifdef CONFIG_DRM_EXYNOS
273 .virtual_y = 800 * 2,
290 .win[0] = &smdk4x12_fb_win0,
291 .vtiming = &smdk4x12_lcd_timing,
320 #ifdef CONFIG_DRM_EXYNOS
326 static void __init smdk4x12_map_io(
void)
333 static void __init smdk4x12_reserve(
void)
338 static void __init smdk4x12_machine_init(
void)
366 #ifdef CONFIG_DRM_EXYNOS
378 .atag_offset = 0x100,
381 .map_io = smdk4x12_map_io,
383 .init_machine = smdk4x12_machine_init,
386 .reserve = &smdk4x12_reserve,
392 .atag_offset = 0x100,
393 .smp =
smp_ops(exynos_smp_ops),
395 .map_io = smdk4x12_map_io,
397 .init_machine = smdk4x12_machine_init,
401 .reserve = &smdk4x12_reserve,