diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-05-03 03:46:51 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 12:50:06 -0400 |
commit | 591d8dd71cc265465ac706ac11e5f613c6181a43 (patch) | |
tree | 8304dacd18915ba63279413e7cd77c456a1fee98 /arch/arm/mach-ux500/board-u5500.c | |
parent | cb165c52561fd5947747fdbdb0c7ad22c6138175 (diff) |
ARM: 6090/1: ux500: add U5500 support
Add basic support for the U5500 platform.
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/board-u5500.c')
-rw-r--r-- | arch/arm/mach-ux500/board-u5500.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-u5500.c b/arch/arm/mach-ux500/board-u5500.c new file mode 100644 index 000000000000..4430e69cf538 --- /dev/null +++ b/arch/arm/mach-ux500/board-u5500.c | |||
@@ -0,0 +1,41 @@ | |||
1 | /* | ||
2 | * Copyright (C) ST-Ericsson SA 2010 | ||
3 | * | ||
4 | * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson | ||
5 | * License terms: GNU General Public License (GPL) version 2 | ||
6 | */ | ||
7 | |||
8 | #include <linux/init.h> | ||
9 | #include <linux/platform_device.h> | ||
10 | #include <linux/amba/bus.h> | ||
11 | #include <linux/gpio.h> | ||
12 | |||
13 | #include <asm/mach/arch.h> | ||
14 | #include <asm/mach-types.h> | ||
15 | |||
16 | #include <mach/hardware.h> | ||
17 | #include <mach/devices.h> | ||
18 | #include <mach/setup.h> | ||
19 | |||
20 | static struct amba_device *amba_board_devs[] __initdata = { | ||
21 | &ux500_uart0_device, | ||
22 | &ux500_uart1_device, | ||
23 | &ux500_uart2_device, | ||
24 | }; | ||
25 | |||
26 | static void __init u5500_init_machine(void) | ||
27 | { | ||
28 | u5500_init_devices(); | ||
29 | |||
30 | amba_add_devices(amba_board_devs, ARRAY_SIZE(amba_board_devs)); | ||
31 | } | ||
32 | |||
33 | MACHINE_START(U8500, "ST-Ericsson U5500 Platform") | ||
34 | .phys_io = UX500_UART0_BASE, | ||
35 | .io_pg_offst = (IO_ADDRESS(UX500_UART0_BASE) >> 18) & 0xfffc, | ||
36 | .boot_params = 0x00000100, | ||
37 | .map_io = u5500_map_io, | ||
38 | .init_irq = ux500_init_irq, | ||
39 | .timer = &ux500_timer, | ||
40 | .init_machine = u5500_init_machine, | ||
41 | MACHINE_END | ||