@@ -116,6 +116,13 @@ config MACH_OMAP_H4
select OMAP_PACKAGE_ZAF
select OMAP_DEBUG_DEVICES
+config MACH_OMAP_MCOP
+ bool "OMAP MCOP Board"
+ depends on ARCH_OMAP2420
+ default y
+# select OMAP_PACKAGE_ZAF
+# select OMAP_DEBUG_DEVICES
+
config MACH_OMAP_APOLLON
bool "OMAP 2420 Apollon board"
depends on ARCH_OMAP2420
@@ -153,6 +153,7 @@ endif
# Specific board support
obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
obj-$(CONFIG_MACH_OMAP_H4) += board-h4.o
+obj-$(CONFIG_MACH_OMAP_MCOP) += board-mcop.o
obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
hsmmc.o
obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
new file mode 100644
@@ -0,0 +1,60 @@
+/*
+ * board-mcop.c - OMAP pre-Silicon Validation Platform
+ *
+ * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com
+ * Author: Michael Fillinger <m-fillinger@ti.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/io.h>
+
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+
+#include <plat/common.h>
+#include <plat/irqs.h>
+
+#include <mach/hardware.h>
+
+static void __init omap_mcop_init_irq(void)
+{
+ omap2_init_common_infrastructure();
+ omap2_init_common_devices(NULL, NULL);
+ omap_init_irq();
+}
+
+static void __init omap_mcop_init(void)
+{
+ omap_serial_init();
+}
+
+static void __init omap_mcop_map_io(void)
+{
+ omap2_set_globals_242x();
+ omap242x_map_common_io();
+}
+
+MACHINE_START(OMAP_MCOP, "OMAP MCOP Board")
+ /* Maintainer: Michael Fillinger <m-fillinger@ti.com> */
+
+ /*
+ * REVISIT What values to put here so that it works
+ * on all versions of MCOP
+ *
+ * .phys_io = 0x48000000,
+ * .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc,
+ */
+
+ .boot_params = 0x80000100,
+ .map_io = omap_mcop_map_io,
+ .reserve = omap_reserve,
+ .init_irq = omap_mcop_init_irq,
+ .init_machine = omap_mcop_init,
+ .timer = &omap_timer,
+MACHINE_END
@@ -129,6 +129,7 @@ static inline void __arch_decomp_setup(unsigned long arch_id)
DEBUG_LL_OMAP2(1, omap_2430sdp);
DEBUG_LL_OMAP2(1, omap_apollon);
DEBUG_LL_OMAP2(1, omap_h4);
+ DEBUG_LL_OMAP2(1, omapmcop);
/* omap2 based boards using UART3 */
DEBUG_LL_OMAP2(3, nokia_n800);