Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/awin add some hummingbird A31 motg pins



details:   https://anonhg.NetBSD.org/src/rev/53e5afc9b68c
branches:  trunk
changeset: 333123:53e5afc9b68c
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Oct 19 22:37:08 2014 +0000

description:
add some hummingbird A31 motg pins

diffstat:

 sys/arch/evbarm/awin/awin_machdep.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r a2852fd235a7 -r 53e5afc9b68c sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Sun Oct 19 22:34:55 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Sun Oct 19 22:37:08 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.18 2014/10/19 22:34:55 jmcneill Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.19 2014/10/19 22:37:08 jmcneill Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.18 2014/10/19 22:34:55 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.19 2014/10/19 22:37:08 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -601,6 +601,10 @@
                }
 #endif
 #if AWIN_board == AWIN_hummingbird_a31
+               prop_dictionary_set_cstring(dict, "usb0iddet", "<PA15");
+               prop_dictionary_set_cstring(dict, "usb0vbusdet", "<PA16");
+               prop_dictionary_set_cstring(dict, "usb0drv", ">PA17");
+               prop_dictionary_set_cstring(dict, "usb0restrict", ">PA18");
                prop_dictionary_set_cstring(dict, "usb1drv", ">PH27");
                prop_dictionary_set_cstring(dict, "usb1restrict", ">PH26");
                prop_dictionary_set_cstring(dict, "usb2drv", ">PH24");



Home | Main Index | Thread Index | Old Index