diff options
author | claudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-06 21:08:44 +0000 |
---|---|---|
committer | claudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-06 21:08:44 +0000 |
commit | 3b3e5ba8ae33cea435682a55af7d1b4024782cd2 (patch) | |
tree | 23e43bb895a7608cfea51263fa74a709e0a279c7 /target/linux | |
parent | 353c5301c0a287fd263302d390f9d360a0486ad8 (diff) |
[brcm63xx] Add wps button on alice gate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23903 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.35/150-alice_gate2_leds.patch | 12 |
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 a13a9434c..24adac420 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 = { |