e9ac36600ddb80954a836f7238234aa03d6c8ce6
[openwrt.git] / target / linux / brcm63xx / patches-3.0 / 449-board_hw553.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1706,6 +1706,81 @@ static struct board_info __initdata boar
4  };
5  #endif
6  
7 +static struct board_info __initdata board_HW553 = {
8 +       .name                           = "HW553",
9 +       .expected_cpu_id                = 0x6358,
10 +
11 +       .has_uart0                      = 1,
12 +
13 +       .has_enet0                      = 1,
14 +       .has_enet1                      = 1,
15 +       .has_pci                        = 1,
16 +
17 +       .enet0 = {
18 +               .has_phy                = 1,
19 +               .use_internal_phy       = 1,
20 +       },
21 +
22 +       .enet1 = {
23 +               .force_speed_100        = 1,
24 +               .force_duplex_full      = 1,
25 +       },
26 +
27 +       .has_ohci0 = 1,
28 +       .has_ehci0 = 1,
29 +
30 +       .leds = {
31 +               /*Each led on HW553 is bi-color (except wifi) */
32 +               {
33 +                       .name           = "lan:red",
34 +                       .gpio           = 34,
35 +                       .active_low     = 1,
36 +               },
37 +               {
38 +                       .name           = "lan:blue",
39 +                       .gpio           = 35,
40 +                       .active_low     = 1,
41 +               },
42 +               {
43 +                       .name           = "adsl:red",
44 +                       .gpio           = 22,
45 +                       .active_low     = 1,
46 +               },
47 +               {
48 +                       .name           = "adsl:blue",
49 +                       .gpio           = 23,
50 +                       .active_low     = 1,
51 +               },
52 +               {
53 +                       .name           = "power:red",
54 +                       .gpio           = 5,
55 +                       .active_low     = 1,
56 +                       .default_trigger = "default-on",
57 +               },
58 +
59 +               {
60 +                       .name           = "power:blue",
61 +                       .gpio           = 4,
62 +                       .active_low     = 1,
63 +               },
64 +               {
65 +                       .name           = "wifi:red",
66 +                       .gpio           = 25,
67 +                       .active_low     = 1,
68 +               },
69 +               {
70 +                       .name           = "internetkey:red",
71 +                       .gpio           = 12,
72 +                       .active_low     = 1,
73 +               },
74 +               {
75 +                       .name           = "internetkey:blue",
76 +                       .gpio           = 13,
77 +                       .active_low     = 1,
78 +               },
79 +       },
80 +};
81 +
82  /*
83   * all boards
84   */
85 @@ -1746,6 +1821,7 @@ static const struct board_info __initdat
86         &board_nb4_ser_r2,
87         &board_nb4_fxc_r1,
88         &board_nb4_fxc_r2,
89 +       &board_HW553,
90  #endif
91  };
92