1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
4 #include <linux/gpio_keys.h>
5 #include <linux/input.h>
6 #include <linux/pci_ids.h>
7 +#include <linux/platform_data/b53.h>
8 #include <linux/platform_device.h>
9 #include <linux/spi/spi.h>
10 #include <linux/spi/spi_gpio.h>
11 @@ -4541,6 +4542,99 @@ static struct board_info __initdata boar
16 +static struct b53_platform_data WAP5813n_b53_pdata = {
20 +static struct spi_board_info WAP5813n_spi_devices[] = {
22 + .modalias = "b53-switch",
23 + .max_speed_hz = 781000,
26 + .platform_data = &WAP5813n_b53_pdata,
30 +static struct board_info __initdata board_WAP5813n = {
31 + .name = "96369R-1231N",
32 + .expected_cpu_id = 0x6368,
46 + .force_speed = 1000,
47 + .force_duplex_full = 1,
55 + .name = "WAP-5813n:green:power",
57 + .default_trigger = "default-on",
60 + .name = "WAP-5813n:red:power",
64 + .name = "WAP-5813n:green:inet",
68 + .name = "WAP-5813n:red:inet",
72 + .name = "WAP-5813n:green:wps",
85 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
92 + .code = KEY_RESTART,
93 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
100 + .code = KEY_WPS_BUTTON,
101 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
105 + .spis = WAP5813n_spi_devices,
106 + .num_spis = ARRAY_SIZE(WAP5813n_spi_devices),
111 @@ -4924,6 +5018,7 @@ static const struct board_info __initcon
112 #ifdef CONFIG_BCM63XX_CPU_6368
117 #ifdef CONFIG_BCM63XX_CPU_63268
118 &board_963268bu_p300,