[source] ar71xx: wpj531: fix GPIOs for LED
LEDE Commits
lede-commits at lists.infradead.org
Mon Mar 27 00:41:23 PDT 2017
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/6c937df749c700f218e8dd4536043a190c19f1d2
commit 6c937df749c700f218e8dd4536043a190c19f1d2
Author: Leon M. George <leon at georgemail.eu>
AuthorDate: Fri Mar 24 12:18:57 2017 +0100
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 at georgemail.eu>
---
target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 8 ++++----
1 file 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 8a238da..df817da 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
More information about the lede-commits
mailing list