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
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/mfp-pxa25x.h>
25 #include <mach/pxa-regs.h>
26 #include <mach/hardware.h>
27 #include <mach/eseries-gpio.h>
34 /* -------------------- e350 t7l66xb parameters -------------------- */
36 static struct t7l66xb_platform_data e350_t7l66xb_info
= {
37 .irq_base
= IRQ_BOARD_START
,
38 .enable
= &eseries_tmio_enable
,
39 .suspend
= &eseries_tmio_suspend
,
40 .resume
= &eseries_tmio_resume
,
43 static struct platform_device e350_t7l66xb_device
= {
47 .platform_data
= &e350_t7l66xb_info
,
50 .resource
= eseries_tmio_resources
,
53 /* ---------------------------------------------------------- */
55 static struct platform_device
*devices
[] __initdata
= {
59 static void __init
e350_init(void)
61 eseries_register_clks();
62 eseries_get_tmio_gpios();
63 platform_add_devices(devices
, ARRAY_SIZE(devices
));
64 pxa_set_udc_info(&e7xx_udc_mach_info
);
67 MACHINE_START(E350
, "Toshiba e350")
68 /* Maintainer: Ian Molton (spyro@f2s.com) */
69 .phys_io
= 0x40000000,
70 .io_pg_offst
= (io_p2v(0x40000000) >> 18) & 0xfffc,
71 .boot_params
= 0xa0000100,
73 .init_irq
= pxa25x_init_irq
,
74 .fixup
= eseries_fixup
,
75 .init_machine
= e350_init
,