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/kernel.h>
14 #include <linux/init.h>
16 #include <asm/setup.h>
17 #include <asm/mach/arch.h>
18 #include <asm/mach-types.h>
20 #include <mach/pxa-regs.h>
21 #include <mach/mfp-pxa25x.h>
22 #include <mach/hardware.h>
24 #include <mach/pxafb.h>
29 /* ------------------------ E400 LCD definitions ------------------------ */
31 static struct pxafb_mode_info e400_pxafb_mode_info = {
45 static struct pxafb_mach_info e400_pxafb_mach_info = {
46 .modes = &e400_pxafb_mode_info,
48 .lccr0 = LCCR0_Color | LCCR0_Sngl | LCCR0_Act,
50 .pxafb_backlight_power = NULL,
53 /* ------------------------ E400 MFP config ----------------------------- */
55 static unsigned long e400_pin_config[] __initdata = {
57 GPIO15_nCS_1, /* CS1 - Flash */
58 GPIO80_nCS_4, /* CS4 - TMIO */
67 GPIO45_GPIO, /* Used by TMIO for #SUSPEND */
70 GPIO0_GPIO | WAKEUP_ON_EDGE_RISE,
73 /* ---------------------------------------------------------------------- */
75 static void __init e400_init(void)
77 pxa2xx_mfp_config(ARRAY_AND_SIZE(e400_pin_config));
78 set_pxa_fb_info(&e400_pxafb_mach_info);
81 MACHINE_START(E400, "Toshiba e400")
82 /* Maintainer: Ian Molton (spyro@f2s.com) */
83 .phys_io = 0x40000000,
84 .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
85 .boot_params = 0xa0000100,
87 .init_irq = pxa25x_init_irq,
88 .fixup = eseries_fixup,
89 .init_machine = e400_init,