Add wps button on alice gate
authorClaudio Mignanti <c.mignanti@gmail.com>
Sat, 6 Nov 2010 21:08:44 +0000 (21:08 +0000)
committerClaudio Mignanti <c.mignanti@gmail.com>
Sat, 6 Nov 2010 21:08:44 +0000 (21:08 +0000)
SVN-Revision: 23903

target/linux/brcm63xx/patches-2.6.35/150-alice_gate2_leds.patch

index a13a9434cf41ae52f7f0b37a3db9788b9c6526b0..24adac4209a8a22af2738d21809baa33b13c7e13 100644 (file)
@@ -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,
 +
 +      .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 = {