aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/e400.c
diff options
context:
space:
mode:
authorIan Molton <spyro@f2s.com>2008-08-19 07:14:21 -0400
committerIan Molton <spyro@f2s.com>2008-08-19 08:44:07 -0400
commit7dc964148c2850e5df84fc17807ba48edb628c88 (patch)
tree66707f0b998131b2c9006886b71ac4f4a39a8ed2 /arch/arm/mach-pxa/e400.c
parent1a1dc50442ef1a3e5ef938a8541466ac38d163a9 (diff)
[ARM] eseries: Split machine definitions
This patchset breaks out the e-series machine definitions into one-per-machine. Signed-off-by: Ian Molton <spyro@f2s.com>
Diffstat (limited to 'arch/arm/mach-pxa/e400.c')
-rw-r--r--arch/arm/mach-pxa/e400.c60
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/e400.c b/arch/arm/mach-pxa/e400.c
new file mode 100644
index 000000000000..405e6dcfc3ce
--- /dev/null
+++ b/arch/arm/mach-pxa/e400.c
@@ -0,0 +1,60 @@
1/*
2 * Hardware definitions for the Toshiba eseries PDAs
3 *
4 * Copyright (c) 2003 Ian Molton <spyro@f2s.com>
5 *
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
9 * or implied.
10 *
11 */
12
13#include <linux/kernel.h>
14#include <linux/init.h>
15
16#include <asm/setup.h>
17#include <asm/mach/arch.h>
18#include <asm/mach-types.h>
19
20#include <mach/mfp-pxa25x.h>
21#include <mach/hardware.h>
22
23#include "generic.h"
24#include "eseries.h"
25
26static unsigned long e400_pin_config[] __initdata = {
27 /* Chip selects */
28 GPIO15_nCS_1, /* CS1 - Flash */
29 GPIO80_nCS_4, /* CS4 - TMIO */
30
31 /* Clocks */
32 GPIO12_32KHz,
33
34 /* BTUART */
35 GPIO42_BTUART_RXD,
36 GPIO43_BTUART_TXD,
37 GPIO44_BTUART_CTS,
38 GPIO45_GPIO, /* Used by TMIO for #SUSPEND */
39
40 /* wakeup */
41 GPIO0_GPIO | WAKEUP_ON_EDGE_RISE,
42};
43
44static void __init e400_init(void)
45{
46 pxa2xx_mfp_config(ARRAY_AND_SIZE(e400_pin_config));
47}
48
49MACHINE_START(E400, "Toshiba e400")
50 /* Maintainer: Ian Molton (spyro@f2s.com) */
51 .phys_io = 0x40000000,
52 .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
53 .boot_params = 0xa0000100,
54 .map_io = pxa_map_io,
55 .init_irq = pxa25x_init_irq,
56 .fixup = eseries_fixup,
57 .init_machine = e400_init,
58 .timer = &pxa_timer,
59MACHINE_END
60