17 #include <linux/kernel.h>
18 #include <linux/types.h>
23 #include <linux/input.h>
26 #include <linux/serial_core.h>
31 #include <mach/hardware.h>
37 #include <mach/regs-gpio.h>
38 #include <mach/regs-lcd.h>
47 #include <plat/clock.h>
91 .vbus_pin_inverted = 0,
105 .desc =
"Thumbwheel Up",
111 .desc =
"Thumbwheel Down",
117 .desc =
"Thumbwheel Press",
147 .buttons = n30_buttons,
155 .platform_data = &n30_button_data,
171 .desc =
"Joystick Up",
177 .desc =
"Joystick Down",
183 .desc =
"Joystick Left",
189 .desc =
"Joystick Right",
195 .desc =
"Joystick Press",
225 .desc =
"GPS Antenna",
237 .buttons = n35_buttons,
246 .platform_data = &n35_button_data,
270 .name =
"warning_led",
277 .name =
"warning_led",
284 .name =
"s3c24xx_led",
287 .platform_data = &n30_blue_led_pdata,
292 .name =
"s3c24xx_led",
295 .platform_data = &n35_blue_led_pdata,
300 .name =
"s3c24xx_led",
303 .platform_data = &n30_warning_led_pdata,
308 .name =
"s3c24xx_led",
311 .platform_data = &n35_warning_led_pdata,
335 .displays = &n30_display,
337 .default_display = 0,
341 static void n30_sdi_set_power(
unsigned char power_mode,
unsigned short vdd)
343 switch (power_mode) {
359 .set_power = n30_sdi_set_power,
392 .frequency = 10*1000,
397 static void __init n30_hwinit(
void)
407 if (machine_is_n30())
409 if (machine_is_n35())
508 if (machine_is_n30())
510 if (machine_is_n35())
533 static void __init n30_map_io(
void)
543 static void __init n30_init(
void)
559 if (machine_is_n30()) {
569 if (machine_is_n35()) {
591 .atag_offset = 0x100,
593 .init_machine = n30_init,
595 .map_io = n30_map_io,
602 .atag_offset = 0x100,
604 .init_machine = n30_init,
606 .map_io = n30_map_io,