1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-23 07:49:23 +02:00
openwrt/target/linux/brcm63xx/patches-3.14/552-board_96348gw-10_reset_button.patch
Jonas Gorski b97aa0b4fd brcm63xx: Add DT support for AR-5381u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42239
2014-08-21 11:28:18 +00:00

21 lines
453 B
Diff

--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1171,6 +1171,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 = {