Root/
1 | /* |
2 | * linux/arch/arm/mach-mmp/avengers_lite.c |
3 | * |
4 | * Support for the Marvell PXA168-based Avengers lite Development Platform. |
5 | * |
6 | * Copyright (C) 2009-2010 Marvell International Ltd. |
7 | * |
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. |
11 | */ |
12 | |
13 | #include <linux/init.h> |
14 | #include <linux/kernel.h> |
15 | #include <linux/platform_device.h> |
16 | |
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> |
23 | |
24 | |
25 | #include "common.h" |
26 | #include <linux/delay.h> |
27 | |
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, |
33 | }; |
34 | |
35 | static void __init avengers_lite_init(void) |
36 | { |
37 | mfp_config(ARRAY_AND_SIZE(avengers_lite_pin_config_V16F)); |
38 | |
39 | /* on-chip devices */ |
40 | pxa168_add_uart(2); |
41 | } |
42 | |
43 | MACHINE_START(AVENGERS_LITE, "PXA168 Avengers lite Development Platform") |
44 | .map_io = mmp_map_io, |
45 | .init_irq = pxa168_init_irq, |
46 | .timer = &pxa168_timer, |
47 | .init_machine = avengers_lite_init, |
48 | MACHINE_END |
49 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9