6af06f0fdb8758070dfe315f9dd9b038389fceaf
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.14 / 519_board_CPVA502plus.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -347,6 +347,42 @@ static struct board_info __initdata boar
4 },
5 },
6 };
7 +
8 +static struct board_info __initdata board_CPVA502plus = {
9 + .name = "CPVA502+",
10 + .expected_cpu_id = 0x6348,
11 +
12 + .has_uart0 = 1,
13 + .has_enet0 = 1,
14 + .has_enet1 = 1,
15 + .has_pci = 1,
16 +
17 + .enet0 = {
18 + .has_phy = 1,
19 + .use_internal_phy = 1,
20 + },
21 + .enet1 = {
22 + .has_phy = 1,
23 + .phy_id = 0,
24 + },
25 +
26 + .leds = {
27 + {
28 + .name = "CPVA502+:green:phone",
29 + .gpio = 0,
30 + .active_low = 1,
31 + },
32 + {
33 + .name = "CPVA502+:amber:link",
34 + .gpio = 5,
35 + .active_low = 1,
36 + },
37 + },
38 +
39 + .ephy_reset_gpio = 4,
40 + .ephy_reset_gpio_flags = GPIOF_INIT_HIGH,
41 +};
42 +
43 #endif
44
45 /*
46 @@ -2246,6 +2282,7 @@ static const struct board_info __initcon
47 &board_V2110,
48 &board_ct536_ct5621,
49 &board_96348A_122,
50 + &board_CPVA502plus,
51 #endif
52
53 #ifdef CONFIG_BCM63XX_CPU_6358