ar71xx: populate LED3 on the JA76PF board
authorGabor Juhos <juhosg@openwrt.org>
Sun, 8 May 2011 21:38:51 +0000 (21:38 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 8 May 2011 21:38:51 +0000 (21:38 +0000)
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>
SVN-Revision: 26862

target/linux/ar71xx/files/arch/mips/ar71xx/mach-ja76pf.c

index 7d4467322212d7f37f3593009571fb920d7e81d4..c646a27a25d1b0731a41e854ac14f24385091c76 100644 (file)
@@ -22,6 +22,7 @@
 #define JA76PF_GPIO_I2C_SDA            1
 #define JA76PF_GPIO_LED_1              5
 #define JA76PF_GPIO_LED_2              4
+#define JA76PF_GPIO_LED_3              3
 #define JA76PF_GPIO_BTN_RESET          11
 
 static struct gpio_led ja76pf_leds_gpio[] __initdata = {
@@ -33,6 +34,10 @@ static struct gpio_led ja76pf_leds_gpio[] __initdata = {
                .name           = "ja76pf:green:led2",
                .gpio           = JA76PF_GPIO_LED_2,
                .active_low     = 1,
+       }, {
+               .name           = "ja76pf:green:led3",
+               .gpio           = JA76PF_GPIO_LED_3,
+               .active_low     = 1,
        }
 };