14 #include <linux/kernel.h>
15 #include <linux/tty.h>
23 #include <mach/hardware.h>
24 #include <asm/setup.h>
34 #include <mach/irqs.h>
37 static struct resource cerfuart2_resources[] = {
42 .name =
"sa11x0-uart",
44 .num_resources =
ARRAY_SIZE(cerfuart2_resources),
45 .resource = cerfuart2_resources,
52 .default_trigger =
"heartbeat",
57 .default_trigger =
"cpu0",
62 .default_trigger =
"default-on",
67 .default_trigger =
"default-on",
82 .platform_data = &cerf_gpio_led_info,
92 #ifdef CONFIG_SA1100_CERF_FLASH_32MB
93 # define CERF_FLASH_SIZE 0x02000000
94 #elif defined CONFIG_SA1100_CERF_FLASH_16MB
95 # define CERF_FLASH_SIZE 0x01000000
96 #elif defined CONFIG_SA1100_CERF_FLASH_8MB
97 # define CERF_FLASH_SIZE 0x00800000
99 # error "Undefined flash size for CERF"
104 .name =
"Bootloader",
106 .offset = 0x00000000,
110 .offset = 0x00020000,
114 .offset = 0x00060000,
116 .name =
"Filesystem",
117 .size = CERF_FLASH_SIZE-0x00160000,
118 .offset = 0x00160000,
123 .map_name =
"cfi_probe",
124 .parts = cerf_partitions,
128 static struct resource cerf_flash_resource =
131 static void __init cerf_init_irq(
void)
139 .virtual = 0xf0000000,
141 .length = 0x00100000,
146 static void __init cerf_map_io(
void)
161 .sclk_rate = 11981000,
164 static void __init cerf_init(
void)
174 .map_io = cerf_map_io,
176 .init_irq = cerf_init_irq,
178 .init_machine = cerf_init,