17 #include <linux/kernel.h>
18 #include <linux/tty.h>
29 #include <asm/setup.h>
35 #include <mach/hardware.h>
36 #include <mach/irqs.h>
46 #define TUCR_VAL 0x20000400
49 #define SA1111REGSTART 0x40000000
50 #define SA1111REGLEN 0x00002000
51 #define EPSONREGSTART 0x48000000
52 #define EPSONREGLEN 0x00100000
53 #define EPSONFBSTART 0x48200000
55 #define EPSONFBLEN 512*1024
172 .initregs = s1d13xxxfb_initregs,
173 .initregssize =
ARRAY_SIZE(s1d13xxxfb_initregs),
174 .platform_init_video =
NULL
177 static struct resource s1d13xxxfb_resources[] = {
186 .platform_data = &s1d13xxxfb_data,
188 .num_resources =
ARRAY_SIZE(s1d13xxxfb_resources),
189 .resource = s1d13xxxfb_resources,
192 static struct resource sa1111_resources[] = {
201 static u64 sa1111_dmamask = 0xffffffff
UL;
207 .dma_mask = &sa1111_dmamask,
208 .coherent_dma_mask = 0xffffffff,
209 .platform_data = &sa1111_info,
211 .num_resources =
ARRAY_SIZE(sa1111_resources),
212 .resource = sa1111_resources,
216 .name =
"jornada_ssp",
221 .name =
"jornada720_kbd",
226 .name =
"jornada_ts",
238 static int __init jornada720_init(
void)
242 if (machine_is_jornada720()) {
263 .virtual = 0xf0000000,
268 .virtual = 0xf1000000,
275 static void __init jornada720_map_io(
void)
286 .name =
"JORNADA720 boot firmware",
291 .name =
"JORNADA720 kernel",
293 .offset = 0x00040000,
295 .name =
"JORNADA720 params",
297 .offset = 0x00100000,
299 .name =
"JORNADA720 initrd",
301 .offset = 0x00140000,
303 .name =
"JORNADA720 root cramfs",
305 .offset = 0x00240000,
307 .name =
"JORNADA720 usr cramfs",
309 .offset = 0x00540000,
311 .name =
"JORNADA720 usr local",
313 .offset = 0x00d00000,
317 static void jornada720_set_vpp(
int vpp)
329 .map_name =
"cfi_probe",
330 .set_vpp = jornada720_set_vpp,
331 .parts = jornada720_partitions,
332 .nr_parts =
ARRAY_SIZE(jornada720_partitions),
335 static struct resource jornada720_flash_resource =
338 static void __init jornada720_mach_init(
void)
345 .atag_offset = 0x100,
346 .map_io = jornada720_map_io,
350 .init_machine = jornada720_mach_init,
353 .dma_zone_size =
SZ_1M,