b6e5702627e0446a82b256acadd10be6c16302f7
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.14 / 514-board_ct536_ct5621.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -539,6 +539,59 @@ static struct board_info __initdata boar
4 };
5
6
7 +static struct board_info __initdata board_ct536_ct5621 = {
8 + .name = "CT536_CT5621",
9 + .of_board_id = "comtrend,ct-536+",
10 + .expected_cpu_id = 0x6348,
11 +
12 + .has_uart0 = 1,
13 + .has_enet0 = 0,
14 + .has_enet1 = 1,
15 + .has_pci = 1,
16 + .use_fallback_sprom = 1,
17 +
18 + .enet1 = {
19 + .has_phy = 1,
20 + .phy_id = 0,
21 + .force_speed_100 = 1,
22 + .force_duplex_full = 1,
23 + },
24 +
25 + .has_ohci0 = 1,
26 + .has_pccard = 1,
27 + .has_ehci0 = 1,
28 +
29 + .leds = {
30 + {
31 + .name = "CT536_CT5621:green:adsl-fail",
32 + .gpio = 2,
33 + .active_low = 1,
34 + },
35 + {
36 + .name = "CT536_CT5621:green:power",
37 + .gpio = 0,
38 + .active_low = 1,
39 + .default_trigger = "default-on",
40 + },
41 + },
42 + .buttons = {
43 + {
44 + .desc = "reset",
45 + .gpio = 33,
46 + .active_low = 1,
47 + .type = EV_KEY,
48 + .code = KEY_RESTART,
49 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
50 + },
51 + },
52 +
53 + .fallback_sprom = {
54 + .type = SPROM_BCM4318,
55 + .pci_bus = 0,
56 + .pci_dev = 1,
57 + },
58 +};
59 +
60 static struct board_info __initdata board_96348gw = {
61 .name = "96348GW",
62 .of_board_id = "brcm,bcm96348gw",
63 @@ -1807,6 +1860,7 @@ static const struct board_info __initcon
64 &board_96348sv,
65 &board_V2500V_BB,
66 &board_V2110,
67 + &board_ct536_ct5621,
68 #endif
69
70 #ifdef CONFIG_BCM63XX_CPU_6358