diff options
author | Catrinel Catrinescu <cc@80211.de> | 2017-07-19 15:21:33 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-10-07 09:20:41 +0200 |
commit | b9c31c44d719c7749c058aaa13b9c1503e9968f0 (patch) | |
tree | 0be3f8cdcfbe59ef7fd6a8f36f00839eb9a09fa5 | |
parent | cd4b60c329646cd8daa6f2a38f1be1ce8d208656 (diff) | |
download | upstream-b9c31c44d719c7749c058aaa13b9c1503e9968f0.tar.gz upstream-b9c31c44d719c7749c058aaa13b9c1503e9968f0.tar.bz2 upstream-b9c31c44d719c7749c058aaa13b9c1503e9968f0.zip |
ar71xx: update LED definitions for embedded wireless dorin
Evaluation board 2.2 uses a different status LED pin
The other removed LEDs were never present
Signed-off-by: Catrinel Catrinescu <cc@80211.de>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c index e686b5fa6f..575a976aec 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c @@ -2,7 +2,7 @@ * EW Dorin board support * (based on Atheros Ref. Design AP121) * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org> - * Copyright (C) 2012-2015 Embedded Wireless GmbH www.80211.de + * Copyright (C) 2012-2017 Embedded Wireless GmbH www.80211.de * * 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 @@ -27,25 +27,13 @@ #define DORIN_CALDATA_OFFSET 0x1000 #define DORIN_WMAC_MAC_OFFSET 0x1002 -#define DORIN_GPIO_LED_21 21 -#define DORIN_GPIO_LED_22 22 -#define DORIN_GPIO_LED_STATUS 23 +#define DORIN_GPIO_LED_STATUS 21 #define DORIN_GPIO_BTN_JUMPSTART 11 #define DORIN_GPIO_BTN_RESET 6 static struct gpio_led dorin_leds_gpio[] __initdata = { { - .name = "dorin:green:led21", - .gpio = DORIN_GPIO_LED_21, - .active_low = 1, - }, - { - .name = "dorin:green:led22", - .gpio = DORIN_GPIO_LED_22, - .active_low = 1, - }, - { .name = "dorin:green:status", .gpio = DORIN_GPIO_LED_STATUS, .active_low = 1, |