aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-11-06 21:08:44 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-11-06 21:08:44 +0000
commit7583fe86687dc64c70eadfd000f2e890781ba3f0 (patch)
treedd4cd480fb012544fc391e576215c50d62792fe3 /target
parent3dd6093d26f9002aa7ad6525b9d5edee08c9b43e (diff)
downloadupstream-7583fe86687dc64c70eadfd000f2e890781ba3f0.tar.gz
upstream-7583fe86687dc64c70eadfd000f2e890781ba3f0.tar.bz2
upstream-7583fe86687dc64c70eadfd000f2e890781ba3f0.zip
Add wps button on alice gate
SVN-Revision: 23903
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/patches-2.6.35/150-alice_gate2_leds.patch12
1 files changed, 9 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.35/150-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-2.6.35/150-alice_gate2_leds.patch
index a13a9434cf..24adac4209 100644
--- a/target/linux/brcm63xx/patches-2.6.35/150-alice_gate2_leds.patch
+++ b/target/linux/brcm63xx/patches-2.6.35/150-alice_gate2_leds.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -603,6 +603,93 @@ static struct board_info __initdata boar
+@@ -603,6 +603,99 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
@@ -82,15 +82,21 @@
+
+ .buttons = {
+ {
-+ .desc = "sw2",
++ .desc = "reset",
+ .gpio = 37,
+ .active_low = 1,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .threshold = 3,
+ },
++ {
++ .desc = "wps",
++ .gpio = 34,
++ .type = EV_KEY,
++ .code = KEY_WPS_BUTTON,
++ .threshold = 3,
++ },
+ },
-+ /* sw1 is connected to gpio34*/
};
static struct board_info __initdata board_DWVS0 = {