552-board_96348gw-10_reset_button.patch 453 B

1234567891011121314151617181920
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -1172,6 +1172,17 @@ static struct board_info __initdata boar
  4. .active_low = 1,
  5. },
  6. },
  7. +
  8. + .buttons = {
  9. + {
  10. + .desc = "reset",
  11. + .gpio = 6,
  12. + .active_low = 1,
  13. + .type = EV_KEY,
  14. + .code = KEY_RESTART,
  15. + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
  16. + },
  17. + },
  18. };
  19. static struct board_info __initdata board_96348gw_11 = {