15 #include <linux/kernel.h>
16 #include <linux/types.h>
18 #include <linux/list.h>
22 #include <linux/device.h>
36 #include <mach/hardware.h>
39 #include <mach/regs-gpio.h>
55 .def_trigger =
"timer",
62 .def_trigger =
"nand-disk",
78 .name =
"s3c24xx_led",
81 .platform_data = &smdk_pdata_led4,
86 .name =
"s3c24xx_led",
89 .platform_data = &smdk_pdata_led5,
94 .name =
"s3c24xx_led",
97 .platform_data = &smdk_pdata_led6,
102 .name =
"s3c24xx_led",
105 .platform_data = &smdk_pdata_led7,
113 .name =
"Boot Agent",
118 .name =
"S3C2410 flash partition 1",
123 .name =
"S3C2410 flash partition 2",
128 .name =
"S3C2410 flash partition 3",
133 .name =
"S3C2410 flash partition 4",
134 .offset =
SZ_1M * 10,
138 .name =
"S3C2410 flash partition 5",
139 .offset =
SZ_1M * 14,
143 .name =
"S3C2410 flash partition 6",
144 .offset =
SZ_1M * 24,
148 .name =
"S3C2410 flash partition 7",
149 .offset =
SZ_1M * 48,
158 .nr_partitions =
ARRAY_SIZE(smdk_default_nand_part),
159 .partitions = smdk_default_nand_part,
172 .sets = smdk_nand_sets,
185 static const struct gpio smdk_led_gpios[] = {
201 if (machine_is_smdk2443())
202 smdk_nand_info.
twrph0 = 50;