brcm63xx: add kernel space and image support for the Netgear CVG834G
[openwrt.git] / target / linux / brcm63xx / patches-3.8 / 555-netgear_CVG834G_E15R3921.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -69,6 +69,41 @@
4  static struct board_info board;
5  
6  /*
7 + * known 3368 boards
8 + */
9 +#ifdef CONFIG_BCM63XX_CPU_3368
10 +static struct board_info __initdata board_cvg834g = {
11 +       .name                           = "CVG834G_E15R3921",
12 +       .expected_cpu_id                = 0x3368,
13 +
14 +       .has_uart0                      = 1,
15 +       .has_uart1                      = 1,
16 +
17 +       .has_enet0                      = 1,
18 +       .has_pci                        = 1,
19 +
20 +       .enet0 = {
21 +               .has_phy                = 1,
22 +               .use_internal_phy       = 1,
23 +       },
24 +
25 +       .leds = {
26 +               {
27 +                       .name           = "CVG834G::switch-reset",
28 +                       .gpio           = 36,
29 +                       .default_trigger= "default-on",
30 +               },
31 +
32 +               {
33 +                       .name           = "CVG834G:green:power",
34 +                       .gpio           = 37,
35 +                       .default_trigger= "default-on",
36 +               },
37 +       },
38 +};
39 +#endif
40 +
41 +/*
42   * known 6328 boards
43   */
44  #ifdef CONFIG_BCM63XX_CPU_6328
45 @@ -3884,6 +3919,9 @@ static struct board_info __initdata boar
46   * all boards
47   */
48  static const struct board_info __initconst *bcm963xx_boards[] = {
49 +#ifdef CONFIG_BCM63XX_CPU_3368
50 +       &board_cvg834g,
51 +#endif
52  #ifdef CONFIG_BCM63XX_CPU_6328
53         &board_96328avng,
54         &board_96328A_1241N,