mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
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>
This commit is contained in:
parent
aecf89f2f8
commit
15e690af5c
|
@ -162,6 +162,7 @@ struct bcm47xx_board_type_list1 bcm47xx_board_list_board_id[] __initconst = {
|
||||||
{{BCM47XX_BOARD_LUXUL_XWR_600_V1, "Luxul XWR-600 V1"}, "luxul_xwr600_v1"},
|
{{BCM47XX_BOARD_LUXUL_XWR_600_V1, "Luxul XWR-600 V1"}, "luxul_xwr600_v1"},
|
||||||
{{BCM47XX_BOARD_LUXUL_XWR_1750_V1, "Luxul XWR-1750 V1"}, "luxul_xwr1750_v1"},
|
{{BCM47XX_BOARD_LUXUL_XWR_1750_V1, "Luxul XWR-1750 V1"}, "luxul_xwr1750_v1"},
|
||||||
{{BCM47XX_BOARD_NETGEAR_R6200_V1, "Netgear R6200 V1"}, "U12H192T00_NETGEAR"},
|
{{BCM47XX_BOARD_NETGEAR_R6200_V1, "Netgear R6200 V1"}, "U12H192T00_NETGEAR"},
|
||||||
|
{{BCM47XX_BOARD_NETGEAR_R6300_V1, "Netgear R6300 V1"}, "U12H218T00_NETGEAR"},
|
||||||
{{BCM47XX_BOARD_NETGEAR_WGR614V8, "Netgear WGR614 V8"}, "U12H072T00_NETGEAR"},
|
{{BCM47XX_BOARD_NETGEAR_WGR614V8, "Netgear WGR614 V8"}, "U12H072T00_NETGEAR"},
|
||||||
{{BCM47XX_BOARD_NETGEAR_WGR614V9, "Netgear WGR614 V9"}, "U12H094T00_NETGEAR"},
|
{{BCM47XX_BOARD_NETGEAR_WGR614V9, "Netgear WGR614 V9"}, "U12H094T00_NETGEAR"},
|
||||||
{{BCM47XX_BOARD_NETGEAR_WGR614_V10, "Netgear WGR614 V10"}, "U12H139T01_NETGEAR"},
|
{{BCM47XX_BOARD_NETGEAR_WGR614_V10, "Netgear WGR614 V10"}, "U12H139T01_NETGEAR"},
|
||||||
|
|
|
@ -409,6 +409,11 @@ bcm47xx_buttons_netgear_r6200_v1[] __initconst = {
|
||||||
BCM47XX_GPIO_KEY(4, KEY_WPS_BUTTON),
|
BCM47XX_GPIO_KEY(4, KEY_WPS_BUTTON),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct gpio_keys_button
|
||||||
|
bcm47xx_buttons_netgear_r6300_v1[] __initconst = {
|
||||||
|
BCM47XX_GPIO_KEY(6, KEY_RESTART),
|
||||||
|
};
|
||||||
|
|
||||||
static const struct gpio_keys_button
|
static const struct gpio_keys_button
|
||||||
bcm47xx_buttons_netgear_wndr3400v1[] __initconst = {
|
bcm47xx_buttons_netgear_wndr3400v1[] __initconst = {
|
||||||
BCM47XX_GPIO_KEY(4, KEY_RESTART),
|
BCM47XX_GPIO_KEY(4, KEY_RESTART),
|
||||||
|
@ -701,6 +706,9 @@ int __init bcm47xx_buttons_register(void)
|
||||||
case BCM47XX_BOARD_NETGEAR_R6200_V1:
|
case BCM47XX_BOARD_NETGEAR_R6200_V1:
|
||||||
err = bcm47xx_copy_bdata(bcm47xx_buttons_netgear_r6200_v1);
|
err = bcm47xx_copy_bdata(bcm47xx_buttons_netgear_r6200_v1);
|
||||||
break;
|
break;
|
||||||
|
case BCM47XX_BOARD_NETGEAR_R6300_V1:
|
||||||
|
err = bcm47xx_copy_bdata(bcm47xx_buttons_netgear_r6300_v1);
|
||||||
|
break;
|
||||||
case BCM47XX_BOARD_NETGEAR_WNDR3400V1:
|
case BCM47XX_BOARD_NETGEAR_WNDR3400V1:
|
||||||
err = bcm47xx_copy_bdata(bcm47xx_buttons_netgear_wndr3400v1);
|
err = bcm47xx_copy_bdata(bcm47xx_buttons_netgear_wndr3400v1);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -100,6 +100,7 @@ enum bcm47xx_board {
|
||||||
BCM47XX_BOARD_MOTOROLA_WR850GV2V3,
|
BCM47XX_BOARD_MOTOROLA_WR850GV2V3,
|
||||||
|
|
||||||
BCM47XX_BOARD_NETGEAR_R6200_V1,
|
BCM47XX_BOARD_NETGEAR_R6200_V1,
|
||||||
|
BCM47XX_BOARD_NETGEAR_R6300_V1,
|
||||||
BCM47XX_BOARD_NETGEAR_WGR614V8,
|
BCM47XX_BOARD_NETGEAR_WGR614V8,
|
||||||
BCM47XX_BOARD_NETGEAR_WGR614V9,
|
BCM47XX_BOARD_NETGEAR_WGR614V9,
|
||||||
BCM47XX_BOARD_NETGEAR_WGR614_V10,
|
BCM47XX_BOARD_NETGEAR_WGR614_V10,
|
||||||
|
|
Loading…
Reference in a new issue