brcm63xx: update development kernel to linux 3.14
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.14 / 503-board-CPVA642.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -756,6 +756,98 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_CPVA642 = {
8 + .name = "CPVA642",
9 + .expected_cpu_id = 0x6358,
10 +
11 + .has_uart0 = 1,
12 + .has_enet1 = 1,
13 + .has_pci = 1,
14 +
15 + .enet1 = {
16 + .has_phy = 1,
17 + .phy_id = 0,
18 + .force_speed_100 = 1,
19 + .force_duplex_full = 1,
20 + },
21 +
22 + .has_ohci0 = 1,
23 + .has_ehci0 = 1,
24 +
25 + .leds = {
26 + {
27 + .name = "CPVA642:red:power",
28 + .gpio = 14,
29 + .active_low = 1,
30 + },
31 + {
32 + .name = "CPVA642:green:power",
33 + .gpio = 11,
34 + .active_low = 1,
35 + .default_trigger = "default-on",
36 + },
37 + {
38 + .name = "CPVA642:red:wifi",
39 + .gpio = 6,
40 + .active_low = 1,
41 + },
42 + {
43 + .name = "CPVA642:green:wifi",
44 + .gpio = 28,
45 + .active_low = 0,
46 + },
47 + {
48 + .name = "CPVA642:red:link",
49 + .gpio = 9,
50 + .active_low = 1,
51 + },
52 + {
53 + .name = "CPVA642:green:link",
54 + .gpio = 10,
55 + .active_low = 1,
56 + },
57 + {
58 + .name = "CPVA642:green:ether",
59 + .gpio = 1,
60 + .active_low = 1,
61 + },
62 + {
63 + .name = "CPVA642:green:phone1",
64 + .gpio = 4,
65 + .active_low = 1,
66 + },
67 + {
68 + .name = "CPVA642:green:phone2",
69 + .gpio = 2,
70 + .active_low = 1,
71 + },
72 + {
73 + .name = "CPVA642:green:usb",
74 + .gpio = 3,
75 + .active_low = 1,
76 + },
77 + },
78 +
79 + .buttons = {
80 + {
81 + .desc = "reset",
82 + .gpio = 36,
83 + .active_low = 1,
84 + .type = EV_KEY,
85 + .code = KEY_RESTART,
86 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
87 + },
88 + {
89 + .desc = "wps",
90 + .gpio = 37,
91 + .type = EV_KEY,
92 + .code = KEY_WPS_BUTTON,
93 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
94 + },
95 + },
96 +};
97 +
98 +
99 static struct board_info __initdata board_AGPFS0 = {
100 .name = "AGPF-S0",
101 .expected_cpu_id = 0x6358,
102 @@ -1434,6 +1526,7 @@ static const struct board_info __initcon
103 &board_96358vw,
104 &board_96358vw2,
105 &board_AGPFS0,
106 + &board_CPVA642,
107 &board_DWVS0,
108 &board_nb4_ser_r0,
109 &board_nb4_ser_r1,