brcm63xx: add support for linux 3.2
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.2 / 455-board_ct536_ct5621.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -458,6 +458,49 @@ static struct board_info __initdata boar
4 };
5
6
7 +static struct board_info __initdata board_ct536_ct5621 = {
8 + .name = "CT536_CT5621",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_uart0 = 1,
12 + .has_enet0 = 0,
13 + .has_enet1 = 1,
14 + .has_pci = 1,
15 +
16 + .enet1 = {
17 + .force_speed_100 = 1,
18 + .force_duplex_full = 1,
19 + },
20 +
21 + .has_ohci0 = 1,
22 + .has_pccard = 1,
23 + .has_ehci0 = 1,
24 +
25 + .leds = {
26 + {
27 + .name = "adsl-fail",
28 + .gpio = 2,
29 + .active_low = 1,
30 + },
31 + {
32 + .name = "power",
33 + .gpio = 0,
34 + .active_low = 1,
35 + .default_trigger = "default-on",
36 + },
37 + },
38 + .buttons = {
39 + {
40 + .desc = "reset",
41 + .gpio = 33,
42 + .active_low = 1,
43 + .type = EV_KEY,
44 + .code = KEY_RESTART,
45 + .threshold = 3,
46 + },
47 + },
48 +};
49 +
50 static struct board_info __initdata board_96348gw = {
51 .name = "96348GW",
52 .expected_cpu_id = 0x6348,
53 @@ -2022,6 +2065,7 @@ static const struct board_info __initdat
54 &board_96348sv,
55 &board_V2500V_BB,
56 &board_V2110,
57 + &board_ct536_ct5621,
58 #endif
59
60 #ifdef CONFIG_BCM63XX_CPU_6358