summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch
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
commit9b5036a29da50f9eff46ae47d257972119bb1250 (patch)
tree50c15585c505f3530f2da18354e2c37363f3082e /target/linux/ar71xx/files/arch
parentb39eebdf1e26b41cb7dad800107447b7eb43f4b1 (diff)
downloadmtk-20170518-9b5036a29da50f9eff46ae47d257972119bb1250.zip
mtk-20170518-9b5036a29da50f9eff46ae47d257972119bb1250.tar.gz
mtk-20170518-9b5036a29da50f9eff46ae47d257972119bb1250.tar.bz2
ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl> SVN-Revision: 26862
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-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 7d44673..c646a27 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,
}
};