Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf attach gpiobutton to power button pin



details:   https://anonhg.NetBSD.org/src/rev/e8dc8f3a61c2
branches:  trunk
changeset: 808708:e8dc8f3a61c2
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat May 30 15:36:27 2015 +0000

description:
attach gpiobutton to power button pin

diffstat:

 sys/arch/evbarm/conf/JETSONTK1 |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r a34601b3ba9f -r e8dc8f3a61c2 sys/arch/evbarm/conf/JETSONTK1
--- a/sys/arch/evbarm/conf/JETSONTK1    Sat May 30 15:35:51 2015 +0000
+++ b/sys/arch/evbarm/conf/JETSONTK1    Sat May 30 15:36:27 2015 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: JETSONTK1,v 1.26 2015/05/30 14:13:12 jmcneill Exp $
+#      $NetBSD: JETSONTK1,v 1.27 2015/05/30 15:36:27 jmcneill Exp $
 #
 #      NVIDIA Jetson TK1 - Tegra K1 development kit
 #      https://developer.nvidia.com/jetson-tk1
@@ -49,7 +49,8 @@
 # GPIO controller
 tegragpio0     at tegraio?             # GPIO
 gpio*          at gpiobus?
-gpiorfkill0    at gpio23 offset 7 mask 1       # WF_EN
+gpiobutton0    at gpio16 offset 0 mask 1 flag 0x01     # Power button
+gpiorfkill0    at gpio23 offset 7 mask 1               # WiFi enable
 
 # Timers
 tegratimer0    at tegraio?             # Timers



Home | Main Index | Thread Index | Old Index