brcm63xx: Add fallback sprom for AR-5381u
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.14 / 565-board_hw520.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -4151,6 +4151,49 @@ static struct board_info __initdata boar
4 .num_spis = ARRAY_SIZE(ct6373_spi_devices),
5 };
6
7 +static struct board_info __initdata board_HW520 = {
8 + .name = "HW6358GW_B",
9 + .expected_cpu_id = 0x6358,
10 +
11 + .has_uart0 = 1,
12 + .has_pci = 1,
13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1,
15 +
16 + .has_enet0 = 1,
17 + .enet0 = {
18 + .has_phy = 1,
19 + .use_internal_phy = 1,
20 + },
21 +
22 + .has_enet1 = 1,
23 + .enet1 = {
24 + .has_phy = 1,
25 + .phy_id = 0,
26 + .force_speed_100 = 1,
27 + .force_duplex_full = 1,
28 + },
29 +
30 + .leds = {
31 + {
32 + .name = "HW520:green:net",
33 + .gpio = 32,
34 + .active_low = 1,
35 + },
36 + },
37 +
38 + .buttons = {
39 + {
40 + .desc = "reset",
41 + .gpio = 37,
42 + .active_low = 1,
43 + .type = EV_KEY,
44 + .code = KEY_RESTART,
45 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
46 + },
47 + },
48 +};
49 +
50 static struct board_info __initdata board_HW553 = {
51 .name = "HW553",
52 .expected_cpu_id = 0x6358,
53 @@ -5286,6 +5329,7 @@ static const struct board_info __initcon
54 &board_nb4_fxc_r1,
55 &board_nb4_fxc_r2,
56 &board_ct6373_1,
57 + &board_HW520,
58 &board_HW553,
59 &board_HW556,
60 &board_HW556_A,