From: Leon M. George Date: Fri, 26 Jul 2019 18:21:26 +0000 (+0200) Subject: ar71xx: wpj531: fix SIG1/RSS1 LED GPIO X-Git-Tag: v18.06.5~70 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=7e4ce0c655ef61e2ba80e1605362f132b5678d27 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 [commit subject/message facelift] Signed-off-by: Petr Štetiar (cherry picked from commit c070662980047838004b83f7af59e7015d3c7922) --- 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