[ARM] pxa: update defconfig for Verdex Pro
[linux-2.6/verdex.git] / arch / arm / mach-pxa / e350.c
blob08003627213140840716ea94388bdffa4e3a3576
1 /*
2 * Hardware definitions for the Toshiba e350 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
9 * or implied.
13 #include <linux/kernel.h>
14 #include <linux/init.h>
15 #include <linux/clk.h>
16 #include <linux/platform_device.h>
17 #include <linux/mfd/t7l66xb.h>
19 #include <asm/setup.h>
20 #include <asm/mach/arch.h>
21 #include <asm/mach-types.h>
23 #include <mach/irqs.h>
24 #include <mach/pxa25x.h>
25 #include <mach/eseries-gpio.h>
26 #include <mach/udc.h>
28 #include "generic.h"
29 #include "eseries.h"
30 #include "clock.h"
32 /* -------------------- e350 t7l66xb parameters -------------------- */
34 static struct t7l66xb_platform_data e350_t7l66xb_info = {
35 .irq_base = IRQ_BOARD_START,
36 .enable = &eseries_tmio_enable,
37 .suspend = &eseries_tmio_suspend,
38 .resume = &eseries_tmio_resume,
41 static struct platform_device e350_t7l66xb_device = {
42 .name = "t7l66xb",
43 .id = -1,
44 .dev = {
45 .platform_data = &e350_t7l66xb_info,
47 .num_resources = 2,
48 .resource = eseries_tmio_resources,
51 /* ---------------------------------------------------------- */
53 static struct platform_device *devices[] __initdata = {
54 &e350_t7l66xb_device,
57 static void __init e350_init(void)
59 eseries_register_clks();
60 eseries_get_tmio_gpios();
61 platform_add_devices(devices, ARRAY_SIZE(devices));
62 pxa_set_udc_info(&e7xx_udc_mach_info);
65 MACHINE_START(E350, "Toshiba e350")
66 /* Maintainer: Ian Molton (spyro@f2s.com) */
67 .phys_io = 0x40000000,
68 .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
69 .boot_params = 0xa0000100,
70 .map_io = pxa_map_io,
71 .init_irq = pxa25x_init_irq,
72 .fixup = eseries_fixup,
73 .init_machine = e350_init,
74 .timer = &pxa_timer,
75 MACHINE_END