ar71xx: wpj531: fix GPIOs for LED
authorLeon M. George <leon@georgemail.eu>
Fri, 24 Mar 2017 11:18:57 +0000 (12:18 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 27 Mar 2017 06:36:32 +0000 (08:36 +0200)
/sys/devices/platform/leds-gpio/leds/ was not initialised with working LEDs.

Signed-off-by: Leon M. George <leon@georgemail.eu>
target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c

index 8a238da7d596d6280625484c56ca0a60ad504b17..df817dac910e02fc9801682b550998c2a00c7b6b 100644 (file)
 #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