aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-05-08 21:38:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-05-08 21:38:51 +0000
commite7461a36aed580335b050945fd2f87bf9cd39a55 (patch)
tree236f6c5b28b2e4c60255e28a6584c8cc80b1c1db /target
parent8dd1a353b7decc259571cae01569a4431f45a5a6 (diff)
downloadupstream-e7461a36aed580335b050945fd2f87bf9cd39a55.tar.gz
upstream-e7461a36aed580335b050945fd2f87bf9cd39a55.tar.bz2
upstream-e7461a36aed580335b050945fd2f87bf9cd39a55.zip
ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26862 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-ja76pf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ja76pf.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ja76pf.c
index 7d44673222..c646a27a25 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ja76pf.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ja76pf.c
@@ -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,
}
};