aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2017-03-24 12:18:57 +0100
committerJohn Crispin <john@phrozen.org>2017-03-27 08:36:32 +0200
commit6c937df749c700f218e8dd4536043a190c19f1d2 (patch)
tree263a62cf39378cf1f3534cf26a8d16dfa84fed24 /target/linux/ar71xx
parente52117354ceef1b6946b66d3af39fded8005cdaf (diff)
downloadupstream-6c937df749c700f218e8dd4536043a190c19f1d2.tar.gz
upstream-6c937df749c700f218e8dd4536043a190c19f1d2.tar.bz2
upstream-6c937df749c700f218e8dd4536043a190c19f1d2.zip
ar71xx: wpj531: fix GPIOs for LED
/sys/devices/platform/leds-gpio/leds/ was not initialised with working LEDs. Signed-off-by: Leon M. George <leon@georgemail.eu>
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
index 8a238da7d5..df817dac91 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
@@ -35,10 +35,10 @@
#include "dev-wmac.h"
#include "machtypes.h"
-#define WPJ531_GPIO_LED_SIG1 14
-#define WPJ531_GPIO_LED_SIG2 15
-#define WPJ531_GPIO_LED_SIG3 22
-#define WPJ531_GPIO_LED_SIG4 23
+#define WPJ531_GPIO_LED_SIG1 13
+#define WPJ531_GPIO_LED_SIG2 14
+#define WPJ531_GPIO_LED_SIG3 15
+#define WPJ531_GPIO_LED_SIG4 16
#define WPJ531_GPIO_BUZZER 4
#define WPJ531_GPIO_BTN_RESET 17