Commit 5cebbd09 authored by Martin Michlmayr's avatar Martin Michlmayr Committed by Lennert Buytenhek

[ARM] Orion: Export the reset button of the QNAP TS-409

The reset button on the QNAP TS-409 is available through gpio.
Signed-off-by: default avatarMartin Michlmayr <tbm@cyrius.com>
Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
parent 28ca8c80
......@@ -208,10 +208,16 @@ static struct platform_device ts409_leds = {
* Power button is attached to the PIC microcontroller
****************************************************************************/
#define QNAP_TS409_GPIO_KEY_RESET 14
#define QNAP_TS409_GPIO_KEY_MEDIA 15
static struct gpio_keys_button qnap_ts409_buttons[] = {
{
.code = KEY_RESTART,
.gpio = QNAP_TS409_GPIO_KEY_RESET,
.desc = "Reset Button",
.active_low = 1,
}, {
.code = KEY_COPY,
.gpio = QNAP_TS409_GPIO_KEY_MEDIA,
.desc = "USB Copy Button",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment