diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2022-01-06 19:51:40 -0800 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2022-01-09 15:41:50 +0100 |
| commit | 15e690af5cc3cd8f5d14ee2aa3a093f80196110e (patch) | |
| tree | e21d901b1130de144f7a42938877a1d5acec9587 /arch/mips/bcm47xx/buttons.c | |
| parent | MIPS: BCM47XX: Add LEDs and buttons for Asus RTN-10U (diff) | |
| download | linux-15e690af5cc3cd8f5d14ee2aa3a093f80196110e.tar.gz linux-15e690af5cc3cd8f5d14ee2aa3a093f80196110e.zip | |
MIPS: BCM47XX: Add support for Netgear R6300 v1
Add support for the Netgear R6300 v1 Wi-Fi router using a Broadcom
BCM4706 chipset and supporting 802.11n and 802.11ac.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/bcm47xx/buttons.c')
| -rw-r--r-- | arch/mips/bcm47xx/buttons.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/buttons.c b/arch/mips/bcm47xx/buttons.c index baf0a7d58d27..e380baef2458 100644 --- a/arch/mips/bcm47xx/buttons.c +++ b/arch/mips/bcm47xx/buttons.c @@ -410,6 +410,11 @@ bcm47xx_buttons_netgear_r6200_v1[] __initconst = { }; static const struct gpio_keys_button +bcm47xx_buttons_netgear_r6300_v1[] __initconst = { + BCM47XX_GPIO_KEY(6, KEY_RESTART), +}; + +static const struct gpio_keys_button bcm47xx_buttons_netgear_wndr3400v1[] __initconst = { BCM47XX_GPIO_KEY(4, KEY_RESTART), BCM47XX_GPIO_KEY(6, KEY_WPS_BUTTON), @@ -701,6 +706,9 @@ int __init bcm47xx_buttons_register(void) case BCM47XX_BOARD_NETGEAR_R6200_V1: err = bcm47xx_copy_bdata(bcm47xx_buttons_netgear_r6200_v1); break; + case BCM47XX_BOARD_NETGEAR_R6300_V1: + err = bcm47xx_copy_bdata(bcm47xx_buttons_netgear_r6300_v1); + break; case BCM47XX_BOARD_NETGEAR_WNDR3400V1: err = bcm47xx_copy_bdata(bcm47xx_buttons_netgear_wndr3400v1); break; |
