brcm63xx: fix board patches offsets
[openwrt.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 @@ -535,6 +535,58 @@ 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 +       .use_fallback_sprom             = 1,
16 +
17 +       .enet1 = {
18 +               .has_phy                = 1,
19 +               .phy_id                 = 0,
20 +               .force_speed_100        = 1,
21 +               .force_duplex_full      = 1,
22 +       },
23 +
24 +       .has_ohci0 = 1,
25 +       .has_pccard = 1,
26 +       .has_ehci0 = 1,
27 +
28 +       .leds = {
29 +               {
30 +                       .name           = "CT536_CT5621:green:adsl-fail",
31 +                       .gpio           = 2,
32 +                       .active_low     = 1,
33 +               },
34 +               {
35 +                       .name           = "CT536_CT5621:green:power",
36 +                       .gpio           = 0,
37 +                       .active_low     = 1,
38 +                       .default_trigger = "default-on",
39 +               },
40 +       },
41 +       .buttons = {
42 +               {
43 +                       .desc           = "reset",
44 +                       .gpio           = 33,
45 +                       .active_low     = 1,
46 +                       .type           = EV_KEY,
47 +                       .code           = KEY_RESTART,
48 +                       .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
49 +               },
50 +       },
51 +
52 +       .fallback_sprom = {
53 +               .type                           = SPROM_BCM4318,
54 +               .pci_bus                        = 0,
55 +               .pci_dev                        = 1,
56 +       },
57 +};
58 +
59  static struct board_info __initdata board_96348gw = {
60         .name                           = "96348GW",
61         .expected_cpu_id                = 0x6348,
62 @@ -2118,6 +2170,7 @@ static const struct board_info __initcon
63         &board_96348sv,
64         &board_V2500V_BB,
65         &board_V2110,
66 +       &board_ct536_ct5621,
67  #endif
68  
69  #ifdef CONFIG_BCM63XX_CPU_6358