msm: board: Add board and devices file for MSM9615

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-9615.c b/arch/arm/mach-msm/board-9615.c
new file mode 100644
index 0000000..1488fb6
--- /dev/null
+++ b/arch/arm/mach-msm/board-9615.c
@@ -0,0 +1,64 @@
+/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ */
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+#include <mach/board.h>
+#include <mach/msm_iomap.h>
+#include <mach/gpio.h>
+#include <mach/gpiomux.h>
+#include "timer.h"
+#include "devices.h"
+
+static int __init gpiomux_init(void)
+{
+	int rc;
+
+	rc = msm_gpiomux_init(NR_GPIO_IRQS);
+	if (rc) {
+		pr_err(KERN_ERR "msm_gpiomux_init failed %d\n", rc);
+		return rc;
+	}
+	return 0;
+}
+
+static void __init msm9615_common_init(void)
+{
+	msm9615_device_init();
+	gpiomux_init();
+}
+
+static void __init msm9615_cdp_init(void)
+{
+	msm9615_common_init();
+}
+
+static void __init msm9615_mtp_init(void)
+{
+	msm9615_common_init();
+}
+
+MACHINE_START(MSM9615_CDP, "QCT MSM9615 CDP")
+	.map_io = msm9615_map_io,
+	.init_irq = msm9615_init_irq,
+	.timer = &msm_timer,
+	.init_machine = msm9615_cdp_init,
+MACHINE_END
+
+MACHINE_START(MSM9615_MTP, "QCT MSM9615 MTP")
+	.map_io = msm9615_map_io,
+	.init_irq = msm9615_init_irq,
+	.timer = &msm_timer,
+	.init_machine = msm9615_mtp_init,
+MACHINE_END