summaryrefslogtreecommitdiff
path: root/board/hatch/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/hatch/board.h')
-rw-r--r--board/hatch/board.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/hatch/board.h b/board/hatch/board.h
index f5730cccec..7ee08f8d1e 100644
--- a/board/hatch/board.h
+++ b/board/hatch/board.h
@@ -48,6 +48,11 @@
#define CONFIG_ALS_OPT3001
#define OPT3001_I2C_ADDR OPT3001_I2C_ADDR1
+/* Volume Button feature */
+#define CONFIG_VOLUME_BUTTONS
+#define GPIO_VOLUME_UP_L GPIO_EC_VOLUP_BTN_ODL
+#define GPIO_VOLUME_DOWN_L GPIO_EC_VOLDN_BTN_ODL
+
/* Fan features */
#define CONFIG_FANS 1
#undef CONFIG_FAN_INIT_SPEED