Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/odroid Enable Xuhost gpio pins; they are the...
details: https://anonhg.NetBSD.org/src/rev/35bce6ec13cd
branches: trunk
changeset: 801964:35bce6ec13cd
user: reinoud <reinoud%NetBSD.org@localhost>
date: Mon Aug 25 16:56:14 2014 +0000
description:
Enable Xuhost gpio pins; they are the same on Exynos5 series.
diffstat:
sys/arch/evbarm/odroid/odroid_machdep.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 9179a7e3ad1d -r 35bce6ec13cd sys/arch/evbarm/odroid/odroid_machdep.c
--- a/sys/arch/evbarm/odroid/odroid_machdep.c Mon Aug 25 16:49:43 2014 +0000
+++ b/sys/arch/evbarm/odroid/odroid_machdep.c Mon Aug 25 16:56:14 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: odroid_machdep.c,v 1.28 2014/08/25 16:49:43 reinoud Exp $ */
+/* $NetBSD: odroid_machdep.c,v 1.29 2014/08/25 16:56:14 reinoud Exp $ */
/*
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.28 2014/08/25 16:49:43 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.29 2014/08/25 16:56:14 reinoud Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_exynos.h"
@@ -618,7 +618,8 @@
prop_dictionary_set_uint32(dict, "nc-GPY5", 0xff - 0b00000000);
prop_dictionary_set_uint32(dict, "nc-GPY6", 0xff - 0b00000000);
prop_dictionary_set_uint32(dict, "nc-ETC0", 0x3f - 0b00000000);
- prop_dictionary_set_uint32(dict, "nc-ETC6", 0x7f - 0b00000000);
+ /* standard Xuhost bits at pin 5,6 */
+ prop_dictionary_set_uint32(dict, "nc-ETC6", 0x7f - 0b01100000);
prop_dictionary_set_uint32(dict, "nc-ETC7", 0x1f - 0b00000000);
prop_dictionary_set_uint32(dict, "nc-GPC4", 0x3f - 0b00000000);
/* usb hub communication at bit 6,7 : */
Home |
Main Index |
Thread Index |
Old Index