summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-10-25 21:16:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-10-25 21:16:51 +0000
commit8d69af7c9fff947e2e53ba955cf6c84df3f1391e (patch)
tree192a79439e8d6b82dd39af6ac6f019c472cdc1c3 /target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch
parent6a699a8ae80b5b6ff6559bad1297242c8daf8934 (diff)
downloadmaster-31e0f0ae-8d69af7c9fff947e2e53ba955cf6c84df3f1391e.tar.gz
master-31e0f0ae-8d69af7c9fff947e2e53ba955cf6c84df3f1391e.tar.bz2
master-31e0f0ae-8d69af7c9fff947e2e53ba955cf6c84df3f1391e.zip
add preliminary support for 3.6 kernel
SVN-Revision: 33936
Diffstat (limited to 'target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch b/target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch
new file mode 100644
index 0000000000..095a851b2c
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch
@@ -0,0 +1,20 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -843,6 +843,17 @@ static struct board_info __initdata boar
+ .active_low = 1,
+ },
+ },
++
++ .buttons = {
++ {
++ .desc = "reset",
++ .gpio = 6,
++ .active_low = 1,
++ .type = EV_KEY,
++ .code = KEY_RESTART,
++ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
++ },
++ },
+ };
+
+ static struct board_info __initdata board_96348gw_11 = {