diff options
author | Srinath <srinath@mistralsolutions.com> | 2010-11-16 17:26:58 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-11-30 16:48:46 -0500 |
commit | 1cb125caf2e0fdece14f72efbb3516f5c5fe1de9 (patch) | |
tree | f08fb227bf4128118325f5c100c991f3b23a4659 /arch/arm | |
parent | 9632f9890e76aa7a78f719b0b3b572f65e3e968b (diff) |
omap: AM3517/05: Add craneboard support
Craneboard is a hardware development platform based on the
Sitara AM3517 ARM Cortex - A8 microprocessor device. This is a
low cost reference design.
This patch adds basic board file. Detailed support will follow in
subsequent patches.
[1] http://www.ti.com/arm
[2] http://www.mistralsolutions.com/products/craneboard.php
Signed-off-by: Srinath <srinath@mistralsolutions.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-am3517crane.c | 69 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/uncompress.h | 1 |
4 files changed, 77 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index ab784bfde908..368851522629 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -174,6 +174,11 @@ config MACH_OMAP3517EVM | |||
174 | default y | 174 | default y |
175 | select OMAP_PACKAGE_CBB | 175 | select OMAP_PACKAGE_CBB |
176 | 176 | ||
177 | config MACH_CRANEBOARD | ||
178 | bool "AM3517/05 CRANE board" | ||
179 | depends on ARCH_OMAP3 | ||
180 | select OMAP_PACKAGE_CBB | ||
181 | |||
177 | config MACH_OMAP3_PANDORA | 182 | config MACH_OMAP3_PANDORA |
178 | bool "OMAP3 Pandora" | 183 | bool "OMAP3 Pandora" |
179 | depends on ARCH_OMAP3 | 184 | depends on ARCH_OMAP3 |
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index b0810b9abbba..d43bd33a19be 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -174,6 +174,8 @@ obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o \ | |||
174 | 174 | ||
175 | obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o | 175 | obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o |
176 | 176 | ||
177 | obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o | ||
178 | |||
177 | obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o \ | 179 | obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o \ |
178 | hsmmc.o | 180 | hsmmc.o |
179 | # Platform specific device init code | 181 | # Platform specific device init code |
diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c new file mode 100644 index 000000000000..13ead330e389 --- /dev/null +++ b/arch/arm/mach-omap2/board-am3517crane.c | |||
@@ -0,0 +1,69 @@ | |||
1 | /* | ||
2 | * Support for AM3517/05 Craneboard | ||
3 | * http://www.mistralsolutions.com/products/craneboard.php | ||
4 | * | ||
5 | * Copyright (C) 2010 Mistral Solutions Pvt Ltd. <www.mistralsolutions.com> | ||
6 | * Author: R.Srinath <srinath@mistralsolutions.com> | ||
7 | * | ||
8 | * Based on mach-omap2/board-am3517evm.c | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License as published by the | ||
12 | * Free Software Foundation version 2. | ||
13 | * | ||
14 | * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind, | ||
15 | * whether express or implied; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
17 | * General Public License for more details. | ||
18 | */ | ||
19 | |||
20 | #include <linux/kernel.h> | ||
21 | #include <linux/init.h> | ||
22 | #include <linux/gpio.h> | ||
23 | |||
24 | #include <mach/hardware.h> | ||
25 | #include <asm/mach-types.h> | ||
26 | #include <asm/mach/arch.h> | ||
27 | #include <asm/mach/map.h> | ||
28 | |||
29 | #include <plat/board.h> | ||
30 | #include <plat/common.h> | ||
31 | |||
32 | #include "mux.h" | ||
33 | |||
34 | /* Board initialization */ | ||
35 | static struct omap_board_config_kernel am3517_crane_config[] __initdata = { | ||
36 | }; | ||
37 | |||
38 | #ifdef CONFIG_OMAP_MUX | ||
39 | static struct omap_board_mux board_mux[] __initdata = { | ||
40 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
41 | }; | ||
42 | #else | ||
43 | #define board_mux NULL | ||
44 | #endif | ||
45 | |||
46 | static void __init am3517_crane_init_irq(void) | ||
47 | { | ||
48 | omap_board_config = am3517_crane_config; | ||
49 | omap_board_config_size = ARRAY_SIZE(am3517_crane_config); | ||
50 | |||
51 | omap2_init_common_hw(NULL, NULL); | ||
52 | omap_init_irq(); | ||
53 | omap_gpio_init(); | ||
54 | } | ||
55 | |||
56 | static void __init am3517_crane_init(void) | ||
57 | { | ||
58 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
59 | omap_serial_init(); | ||
60 | } | ||
61 | |||
62 | MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD") | ||
63 | .boot_params = 0x80000100, | ||
64 | .map_io = omap3_map_io, | ||
65 | .reserve = omap_reserve, | ||
66 | .init_irq = am3517_crane_init_irq, | ||
67 | .init_machine = am3517_crane_init, | ||
68 | .timer = &omap_timer, | ||
69 | MACHINE_END | ||
diff --git a/arch/arm/plat-omap/include/plat/uncompress.h b/arch/arm/plat-omap/include/plat/uncompress.h index 9036e374e0ac..229fbf2cbd26 100644 --- a/arch/arm/plat-omap/include/plat/uncompress.h +++ b/arch/arm/plat-omap/include/plat/uncompress.h | |||
@@ -145,6 +145,7 @@ static inline void __arch_decomp_setup(unsigned long arch_id) | |||
145 | /* omap3 based boards using UART3 */ | 145 | /* omap3 based boards using UART3 */ |
146 | DEBUG_LL_OMAP3(3, cm_t35); | 146 | DEBUG_LL_OMAP3(3, cm_t35); |
147 | DEBUG_LL_OMAP3(3, cm_t3517); | 147 | DEBUG_LL_OMAP3(3, cm_t3517); |
148 | DEBUG_LL_OMAP3(3, craneboard); | ||
148 | DEBUG_LL_OMAP3(3, igep0020); | 149 | DEBUG_LL_OMAP3(3, igep0020); |
149 | DEBUG_LL_OMAP3(3, igep0030); | 150 | DEBUG_LL_OMAP3(3, igep0030); |
150 | DEBUG_LL_OMAP3(3, nokia_rx51); | 151 | DEBUG_LL_OMAP3(3, nokia_rx51); |