summaryrefslogtreecommitdiff
path: root/sys/arch/beagle/dev/omap.c
diff options
context:
space:
mode:
authorrapha <rapha@cvs.openbsd.org>2013-05-22 17:44:48 +0000
committerrapha <rapha@cvs.openbsd.org>2013-05-22 17:44:48 +0000
commit729a995971b16881ce84094346831442fe210c83 (patch)
tree88bcafdde3d99c7df1ae67b58a882e2dc8dd2bf4 /sys/arch/beagle/dev/omap.c
parent265121a863420852aecc24ece7bffc34dc7abe63 (diff)
Add am335x as an omap device.
ok patrick@
Diffstat (limited to 'sys/arch/beagle/dev/omap.c')
-rw-r--r--sys/arch/beagle/dev/omap.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/arch/beagle/dev/omap.c b/sys/arch/beagle/dev/omap.c
index 25e90bd77ca..5ed108c7e5a 100644
--- a/sys/arch/beagle/dev/omap.c
+++ b/sys/arch/beagle/dev/omap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omap.c,v 1.6 2013/05/09 15:16:53 patrick Exp $ */
+/* $OpenBSD: omap.c,v 1.7 2013/05/22 17:44:47 rapha Exp $ */
/*
* Copyright (c) 2005,2008 Dale Rahn <drahn@openbsd.com>
*
@@ -66,6 +66,17 @@ struct board_dev beagleboard_devs[] = {
{ NULL, 0 }
};
+struct board_dev beaglebone_devs[] = {
+ { "prcm", 0 },
+ { "intc", 0 },
+ { "dmtimer", 0 },
+ { "dmtimer", 1 },
+ { "omdog", 0 },
+ { "ommmc", 0 }, /* HSMMC0 */
+ { "com", 0 }, /* UART0 */
+ { NULL, 0 }
+};
+
struct board_dev overo_devs[] = {
{ "prcm", 0 },
{ "intc", 0 },
@@ -134,6 +145,11 @@ omap_attach(struct device *parent, struct device *self, void *aux)
omap3_init();
board_devs = beagleboard_devs;
break;
+ case BOARD_ID_AM335X_BEAGLEBONE:
+ printf(": BeagleBone\n");
+ am335x_init();
+ board_devs = beaglebone_devs;
+ break;
case BOARD_ID_OMAP3_OVERO:
printf(": Gumstix Overo\n");
omap3_init();