openwrtv4/target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch
Florian Fainelli 8d69af7c9f add preliminary support for 3.6 kernel
SVN-Revision: 33936
2012-10-25 21:16:51 +00:00

20 lines
451 B
Diff

--- 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 = {