ar71xx: add status led found on ew-dorin boards
Signed-off-by: Catrinel Catrinescu <cc@80211.de> SVN-Revision: 45656
This commit is contained in:
parent
53827cdc82
commit
2a9ebfb503
2 changed files with 10 additions and 1 deletions
|
@ -80,6 +80,9 @@ get_status_led() {
|
||||||
el-m150)
|
el-m150)
|
||||||
status_led="easylink:green:system"
|
status_led="easylink:green:system"
|
||||||
;;
|
;;
|
||||||
|
ew-dorin | ew-dorin-router)
|
||||||
|
status_led="dorin:green:status"
|
||||||
|
;;
|
||||||
f9k1115v2)
|
f9k1115v2)
|
||||||
status_led="belkin:blue:status"
|
status_led="belkin:blue:status"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* EW Dorin board support
|
* EW Dorin board support
|
||||||
* (based on Atheros Ref. Design AP121)
|
* (based on Atheros Ref. Design AP121)
|
||||||
* Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
|
||||||
* Copyright (C) 2012 Embedded Wireless GmbH www.80211.de
|
* Copyright (C) 2012-2015 Embedded Wireless GmbH www.80211.de
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License version 2 as published
|
* under the terms of the GNU General Public License version 2 as published
|
||||||
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
#define DORIN_GPIO_LED_21 21
|
#define DORIN_GPIO_LED_21 21
|
||||||
#define DORIN_GPIO_LED_22 22
|
#define DORIN_GPIO_LED_22 22
|
||||||
|
#define DORIN_GPIO_LED_STATUS 23
|
||||||
|
|
||||||
#define DORIN_GPIO_BTN_JUMPSTART 11
|
#define DORIN_GPIO_BTN_JUMPSTART 11
|
||||||
#define DORIN_GPIO_BTN_RESET 6
|
#define DORIN_GPIO_BTN_RESET 6
|
||||||
|
@ -44,6 +45,11 @@ static struct gpio_led dorin_leds_gpio[] __initdata = {
|
||||||
.gpio = DORIN_GPIO_LED_22,
|
.gpio = DORIN_GPIO_LED_22,
|
||||||
.active_low = 1,
|
.active_low = 1,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.name = "dorin:green:status",
|
||||||
|
.gpio = DORIN_GPIO_LED_STATUS,
|
||||||
|
.active_low = 1,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct gpio_keys_button dorin_gpio_keys[] __initdata = {
|
static struct gpio_keys_button dorin_gpio_keys[] __initdata = {
|
||||||
|
|
Loading…
Reference in a new issue