summaryrefslogtreecommitdiff
path: root/board/ryu/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/ryu/gpio.inc')
-rw-r--r--board/ryu/gpio.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/ryu/gpio.inc b/board/ryu/gpio.inc
index ae59c63c24..41df8b85b1 100644
--- a/board/ryu/gpio.inc
+++ b/board/ryu/gpio.inc
@@ -5,6 +5,9 @@
* found in the LICENSE file.
*/
+/* Declare symbolic names for all the GPIOs that we care about.
+ * Note: Those with interrupt handlers must be declared first. */
+
/* Interrupts */
GPIO_INT(CHGR_ACOK, PIN(D, 4), GPIO_INT_BOTH, vbus_evt)
GPIO_INT(POWER_BUTTON_L, PIN(C, 13), GPIO_INT_BOTH, power_button_interrupt) /* active high, the name is for compatibility with existing code */