summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2011-11-11 10:46:36 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2011-11-11 10:46:36 +0000
commit453992533afce78cfc3d9d5783b49645d1415ad3 (patch)
treecb03ac860999b6f85c278dbaf99d71b171a5b17c /sys/arch
parent049ccffeb19992764ca3c79cf4d110b6505e5eba (diff)
Re-add overro board support. ok drahn@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/beagle/dev/omap.c23
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/arch/beagle/dev/omap.c b/sys/arch/beagle/dev/omap.c
index 3eb1b2b2172..a068e6e1087 100644
--- a/sys/arch/beagle/dev/omap.c
+++ b/sys/arch/beagle/dev/omap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omap.c,v 1.1 2011/11/10 19:37:01 uwe Exp $ */
+/* $OpenBSD: omap.c,v 1.2 2011/11/11 10:46:35 matthieu Exp $ */
/*
* Copyright (c) 2005,2008 Dale Rahn <drahn@openbsd.com>
*
@@ -65,6 +65,22 @@ struct board_dev beagleboard_devs[] = {
{ NULL, 0 }
};
+struct board_dev overo_devs[] = {
+ { "prcm", 0 },
+ { "intc", 0 },
+ { "gptimer", 0 },
+ { "gptimer", 1 },
+ { "omgpio", 0 },
+ { "omgpio", 1 },
+ { "omgpio", 2 },
+ { "omgpio", 3 },
+ { "omgpio", 4 },
+ { "omgpio", 5 },
+ { "ommmc", 0 }, /* HSMMC1 */
+ { "com", 2 }, /* UART3 */
+ { NULL, 0 }
+};
+
struct board_dev pandaboard_devs[] = {
{ "ampintc", 0 },
{ "amptimer", 0 },
@@ -116,6 +132,11 @@ omap_attach(struct device *parent, struct device *self, void *aux)
omap3_init();
board_devs = beagleboard_devs;
break;
+ case BOARD_ID_OMAP3_OVERO:
+ printf(": Gumstix Overo\n");
+ omap3_init();
+ board_devs = overo_devs;
+ break;
case BOARD_ID_OMAP4_PANDA:
printf(": PandaBoard\n");
omap4_init();