AT91: dm9000 initialization update
[linux-2.6/libata-dev.git] / arch / arm / mach-mmp / avengers_lite.c
blob69bcba11f53f94d8cd5ee6d8f4f0a67d17847a70
1 /*
2 * linux/arch/arm/mach-mmp/avengers_lite.c
4 * Support for the Marvell PXA168-based Avengers lite Development Platform.
6 * Copyright (C) 2009-2010 Marvell International Ltd.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * publishhed by the Free Software Foundation.
13 #include <linux/init.h>
14 #include <linux/kernel.h>
15 #include <linux/platform_device.h>
17 #include <asm/mach-types.h>
18 #include <asm/mach/arch.h>
19 #include <mach/addr-map.h>
20 #include <mach/mfp-pxa168.h>
21 #include <mach/pxa168.h>
22 #include <mach/irqs.h>
25 #include "common.h"
26 #include <linux/delay.h>
28 /* Avengers lite MFP configurations */
29 static unsigned long avengers_lite_pin_config_V16F[] __initdata = {
30 /* DEBUG_UART */
31 GPIO88_UART2_TXD,
32 GPIO89_UART2_RXD,
35 static void __init avengers_lite_init(void)
37 mfp_config(ARRAY_AND_SIZE(avengers_lite_pin_config_V16F));
39 /* on-chip devices */
40 pxa168_add_uart(2);
43 MACHINE_START(AVENGERS_LITE, "PXA168 Avengers lite Development Platform")
44 .phys_io = APB_PHYS_BASE,
45 .io_pg_offst = (APB_VIRT_BASE >> 18) & 0xfffc,
46 .map_io = mmp_map_io,
47 .init_irq = pxa168_init_irq,
48 .timer = &pxa168_timer,
49 .init_machine = avengers_lite_init,
50 MACHINE_END