aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2019-07-26 20:21:26 +0200
committerPetr Štetiar <ynezz@true.cz>2019-08-04 22:37:15 +0200
commitc070662980047838004b83f7af59e7015d3c7922 (patch)
treef72642aad72c332407713f5d55aa21fb86b61708
parente92a14709d37f64dcba8c81fa51e61e5f10f439a (diff)
downloadupstream-c070662980047838004b83f7af59e7015d3c7922.tar.gz
upstream-c070662980047838004b83f7af59e7015d3c7922.tar.bz2
upstream-c070662980047838004b83f7af59e7015d3c7922.zip
ar71xx: wpj531: fix SIG1/RSS1 LED GPIO
In commit 6c937df749c7 ("ar71xx: wpj531: fix GPIOs for LED") wrong GPIO 13 for SIG1/RSS1 LED was commited, the correct GPIO number for this LED is 12. It's listed in "Hardware Guide - wpj531 7A06 (02/07/2019)" as GPIO12/RSS1 on the LED header and same GPIO 12 is used in the vendor's SDK as well. Fixes: 6c937df749c7 ("ar71xx: wpj531: fix GPIOs for LED") Signed-off-by: Leon M. George <leon@georgemail.eu> [commit subject/message facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c2
1 files changed, 1 insertions, 1 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 df817dac91..351293230f 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
@@ -35,7 +35,7 @@
#include "dev-wmac.h"
#include "machtypes.h"
-#define WPJ531_GPIO_LED_SIG1 13
+#define WPJ531_GPIO_LED_SIG1 12
#define WPJ531_GPIO_LED_SIG2 14
#define WPJ531_GPIO_LED_SIG3 15
#define WPJ531_GPIO_LED_SIG4 16