openwrtv4/target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch

21 lines
422 B
Diff
Raw Normal View History

--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -661,6 +661,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 = 60,
+ },
+ },
};
static struct board_info __initdata board_96348gw_11 = {