From 7403a6348cd7007fbe2f7a4e61dbaba28a22bd92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Wed, 26 Oct 2016 19:42:32 -0200 Subject: [PATCH] quark_se_c1000_ss_devboard: Define the user buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With the driver for AON GPIO available to the ARC side, the user buttons in the board are usable by both cores. Change-Id: Ib8e67fba1513caec2e89c31c16f7ed0458c4ed76 Signed-off-by: Iván Briano --- boards/arc/quark_se_c1000_ss_devboard/board.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/boards/arc/quark_se_c1000_ss_devboard/board.h b/boards/arc/quark_se_c1000_ss_devboard/board.h index 66dd23fd7db..36f61a18208 100644 --- a/boards/arc/quark_se_c1000_ss_devboard/board.h +++ b/boards/arc/quark_se_c1000_ss_devboard/board.h @@ -19,4 +19,12 @@ #include +/* Push button switch 0 */ +#define SW0_GPIO_PIN 4 +#define SW0_GPIO_NAME CONFIG_GPIO_QMSI_1_NAME + +/* Push button switch 1 */ +#define SW1_GPIO_PIN 5 +#define SW1_GPIO_NAME CONFIG_GPIO_QMSI_0_NAME + #endif /* __INC_BOARD_H */