blob: 405e6dcfc3ce9290ebda0adddc152fe87d8f8c3b [file] [log] [blame]
Ian Molton7dc96412008-08-19 12:14:21 +01001/*
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