[bcm63xx] Add F@ST2604 board support.
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 529-board_fast2604.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1010,6 +1010,55 @@ static struct board_info __initdata boar
4 .has_ehci0 = 1,
5 };
6
7 +static struct board_info __initdata board_FAST2604 = {
8 + .name = "F@ST2604",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_uart0 = 1,
12 + .has_pci = 1,
13 + .has_ohci0 = 1,
14 +
15 + .has_enet1 = 1,
16 + .enet1 = {
17 + .force_speed_100 = 1,
18 + .force_duplex_full = 1,
19 + },
20 +
21 + .leds = {
22 + {
23 + .name = "F@ST2604:green:power",
24 + .gpio = 0,
25 + .active_low = 1,
26 + .default_trigger = "default-on",
27 + },
28 + {
29 + .name = "F@ST2604:red:power",
30 + .gpio = 1,
31 + .active_low = 1,
32 + },
33 + {
34 + .name = "F@ST2604:red:inet",
35 + .gpio = 4,
36 + .active_low = 1,
37 + },
38 + {
39 + .name = "F@ST2604:green:wps",
40 + .gpio = 5,
41 + .active_low = 1,
42 + },
43 + },
44 + .buttons = {
45 + {
46 + .desc = "reset",
47 + .gpio = 33,
48 + .active_low = 1,
49 + .type = EV_KEY,
50 + .code = KEY_RESTART,
51 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
52 + },
53 + },
54 +};
55 +
56 static struct board_info __initdata board_rta1025w_16 = {
57 .name = "RTA1025W_16",
58 .expected_cpu_id = 0x6348,
59 @@ -2843,6 +2892,7 @@ static const struct board_info __initdat
60 &board_96348gw_10,
61 &board_96348gw_11,
62 &board_FAST2404,
63 + &board_FAST2604,
64 &board_DV201AMR,
65 &board_96348gw_a,
66 &board_rta1025w_16,