2 * Hardware definitions for the Toshiba eseries PDAs
4 * Copyright (c) 2003 Ian Molton <spyro@f2s.com>
6 * This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
13 #include <linux/init.h>
15 #include <asm/setup.h>
16 #include <asm/mach/arch.h>
17 #include <asm/arch/hardware.h>
18 #include <asm/mach-types.h>
22 /* Only e800 has 128MB RAM */
23 static void __init
eseries_fixup(struct machine_desc
*desc
,
24 struct tag
*tags
, char **cmdline
, struct meminfo
*mi
)
27 mi
->bank
[0].start
= 0xa0000000;
29 if (machine_is_e800())
30 mi
->bank
[0].size
= (128*1024*1024);
32 mi
->bank
[0].size
= (64*1024*1024);
35 /* e-series machine definitions */
37 #ifdef CONFIG_MACH_E330
38 MACHINE_START(E330
, "Toshiba e330")
39 /* Maintainer: Ian Molton (spyro@f2s.com) */
40 .phys_io
= 0x40000000,
41 .io_pg_offst
= (io_p2v(0x40000000) >> 18) & 0xfffc,
42 .boot_params
= 0xa0000100,
44 .init_irq
= pxa25x_init_irq
,
45 .fixup
= eseries_fixup
,
50 #ifdef CONFIG_MACH_E740
51 MACHINE_START(E740
, "Toshiba e740")
52 /* Maintainer: Ian Molton (spyro@f2s.com) */
53 .phys_io
= 0x40000000,
54 .io_pg_offst
= (io_p2v(0x40000000) >> 18) & 0xfffc,
55 .boot_params
= 0xa0000100,
57 .init_irq
= pxa25x_init_irq
,
58 .fixup
= eseries_fixup
,
63 #ifdef CONFIG_MACH_E750
64 MACHINE_START(E750
, "Toshiba e750")
65 /* Maintainer: Ian Molton (spyro@f2s.com) */
66 .phys_io
= 0x40000000,
67 .io_pg_offst
= (io_p2v(0x40000000) >> 18) & 0xfffc,
68 .boot_params
= 0xa0000100,
70 .init_irq
= pxa25x_init_irq
,
71 .fixup
= eseries_fixup
,
76 #ifdef CONFIG_MACH_E400
77 MACHINE_START(E400
, "Toshiba e400")
78 /* Maintainer: Ian Molton (spyro@f2s.com) */
79 .phys_io
= 0x40000000,
80 .io_pg_offst
= (io_p2v(0x40000000) >> 18) & 0xfffc,
81 .boot_params
= 0xa0000100,
83 .init_irq
= pxa25x_init_irq
,
84 .fixup
= eseries_fixup
,
89 #ifdef CONFIG_MACH_E800
90 MACHINE_START(E800
, "Toshiba e800")
91 /* Maintainer: Ian Molton (spyro@f2s.com) */
92 .phys_io
= 0x40000000,
93 .io_pg_offst
= (io_p2v(0x40000000) >> 18) & 0xfffc,
94 .boot_params
= 0xa0000100,
96 .init_irq
= pxa25x_init_irq
,
97 .fixup
= eseries_fixup
,