Module Name:    src
Committed By:   jmcneill
Date:           Thu May 14 00:02:00 UTC 2015

Modified Files:
        src/sys/arch/evbarm/tegra: tegra_machdep.c

Log Message:
5V/12V power to molex connector on Jetson TK1 is controlled by GPIO EE2


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbarm/tegra/tegra_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/tegra/tegra_machdep.c
diff -u src/sys/arch/evbarm/tegra/tegra_machdep.c:1.14 src/sys/arch/evbarm/tegra/tegra_machdep.c:1.15
--- src/sys/arch/evbarm/tegra/tegra_machdep.c:1.14	Wed May 13 11:07:02 2015
+++ src/sys/arch/evbarm/tegra/tegra_machdep.c	Thu May 14 00:02:00 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_machdep.c,v 1.14 2015/05/13 11:07:02 jmcneill Exp $ */
+/* $NetBSD: tegra_machdep.c,v 1.15 2015/05/14 00:02:00 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <[email protected]>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_machdep.c,v 1.14 2015/05/13 11:07:02 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_machdep.c,v 1.15 2015/05/14 00:02:00 jmcneill Exp $");
 
 #include "opt_tegra.h"
 #include "opt_machdep.h"
@@ -390,6 +390,11 @@ tegra_device_register(device_t self, voi
 		}
 	}
 
+	if (device_is_a(self, "ahcisata")
+	    && device_is_a(device_parent(self), "tegraio")) {
+		prop_dictionary_set_cstring(dict, "power-gpio", "EE2");
+	}
+
 	if (device_is_a(self, "ehci")
 	    && device_is_a(device_parent(self), "tegraio")) {
 		struct tegraio_attach_args * const tio = aux;

Reply via email to