fa2526836ce0734243e7d8636b36d485c210bf74
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 459_board_CPVA502plus.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1072,6 +1072,44 @@ static struct board_info __initdata boar
4         },
5  };
6  
7 +static struct board_info __initdata board_CPVA502plus = {
8 +       .name                           = "CPVA502+",
9 +       .expected_cpu_id                = 0x6348,
10 +
11 +       .has_uart0                      = 1,
12 +       .has_enet0                      = 1,
13 +       .has_enet1                      = 1,
14 +       .has_pci                        = 1,
15 +
16 +       .enet0 = {
17 +               .has_phy                = 1,
18 +               .use_internal_phy       = 1,
19 +       },
20 +       .enet1 = {
21 +               .force_speed_100        = 1,
22 +               .force_duplex_full      = 1,
23 +       },
24 +
25 +       .has_udc0                       = 1,
26 +
27 +       .leds = {
28 +               {
29 +                       .name           = "phone",
30 +                       .gpio           = 0,
31 +                       .active_low     = 1,
32 +               },
33 +               {
34 +                       .name           = "link",
35 +                       .gpio           = 5,
36 +                       .active_low     = 1,
37 +               },
38 +               {
39 +                       .name           = "feth1", /* FIXME:does gpio4 enable eth1 phy? */
40 +                       .gpio           = 4,
41 +                       .active_low     = 1,
42 +               },
43 +       },
44 +};
45  #endif
46  
47  /*
48 @@ -2132,6 +2170,7 @@ static const struct board_info __initdat
49         &board_V2110,
50         &board_ct536_ct5621,
51         &board_96348A_122,
52 +       &board_CPVA502plus,
53  #endif
54  
55  #ifdef CONFIG_BCM63XX_CPU_6358