brcm63xx: remove now obsolete board fixup code
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 505-board_spw500v.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -653,6 +653,68 @@ static struct board_info __initdata boar
4                 },
5         },
6  };
7 +
8 +static struct board_info __initdata board_spw500v = {
9 +       .name                           = "SPW500V",
10 +       .of_board_id                    = "t-com,spw500v",
11 +       .expected_cpu_id                = 0x6348,
12 +
13 +       .has_uart0                      = 1,
14 +       .has_enet0                      = 1,
15 +       .has_pci                        = 1,
16 +
17 +       .enet0 = {
18 +               .has_phy                = 1,
19 +               .use_internal_phy       = 1,
20 +       },
21 +
22 +       .has_dsp                        = 1,
23 +       .dsp = {
24 +               .gpio_rst               = 6,
25 +               .gpio_int               = 34,
26 +               .ext_irq                = 2,
27 +               .cs                     = 2,
28 +       },
29 +
30 +       .leds = {
31 +               {
32 +                       .name           = "SPW500V:red:power",
33 +                       .gpio           = 1,
34 +                       .active_low     = 1,
35 +               },
36 +               {
37 +                       .name           = "SPW500V:green:power",
38 +                       .gpio           = 0,
39 +                       .active_low     = 1,
40 +                       .default_trigger = "default-on",
41 +               },
42 +               {
43 +                       .name           = "SPW500V:green:ppp",
44 +                       .gpio           = 3,
45 +                       .active_low     = 1,
46 +               },
47 +               {       .name           = "SPW500V:green:pstn",
48 +                       .gpio           = 28,
49 +                       .active_low     = 1,
50 +               },
51 +               {
52 +                       .name           = "SPW500V:green:voip",
53 +                       .gpio           = 32,
54 +                       .active_low     = 1,
55 +               },
56 +       },
57 +
58 +       .buttons = {
59 +               {
60 +                       .desc           = "reset",
61 +                       .gpio           = 33,
62 +                       .active_low     = 1,
63 +                       .type           = EV_KEY,
64 +                       .code           = KEY_RESTART,
65 +                       .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
66 +               },
67 +       },
68 +};
69  #endif /* CONFIG_BCM63XX_CPU_6348 */
70  
71  /*
72 @@ -1252,6 +1314,7 @@ static const struct board_info __initcon
73         &board_96348gw_a,
74         &board_rta1025w_16,
75         &board_96348_D4PW,
76 +       &board_spw500v,
77  #endif
78  
79  #ifdef CONFIG_BCM63XX_CPU_6358