bcm63xx: Add support for 2.6.38
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-2.6.38 / 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,79 @@ 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_enet0 = 1,
12 + .has_enet1 = 1,
13 + .has_pci = 1,
14 +
15 + .enet0 = {
16 + .has_phy = 1,
17 + .use_internal_phy = 1,
18 + },
19 +
20 + .enet1 = {
21 + .force_speed_100 = 1,
22 + .force_duplex_full = 1,
23 + },
24 +
25 + .has_ohci0 = 1,
26 + .has_ehci0 = 1,
27 +
28 + .leds = {
29 + /*Each led on HW553 is bi-color (except wifi) */
30 + {
31 + .name = "lan:red",
32 + .gpio = 34,
33 + .active_low = 1,
34 + },
35 + {
36 + .name = "lan:blue",
37 + .gpio = 35,
38 + .active_low = 1,
39 + },
40 + {
41 + .name = "adsl:red",
42 + .gpio = 22,
43 + .active_low = 1,
44 + },
45 + {
46 + .name = "adsl:blue",
47 + .gpio = 23,
48 + .active_low = 1,
49 + },
50 + {
51 + .name = "power:red",
52 + .gpio = 5,
53 + .active_low = 1,
54 + .default_trigger = "default-on",
55 + },
56 +
57 + {
58 + .name = "power:blue",
59 + .gpio = 4,
60 + .active_low = 1,
61 + },
62 + {
63 + .name = "wifi:red",
64 + .gpio = 25,
65 + .active_low = 1,
66 + },
67 + {
68 + .name = "internetkey:red",
69 + .gpio = 12,
70 + .active_low = 1,
71 + },
72 + {
73 + .name = "internetkey:blue",
74 + .gpio = 13,
75 + .active_low = 1,
76 + },
77 + },
78 +};
79 +
80 /*
81 * all boards
82 */
83 @@ -1746,6 +1819,7 @@ static const struct board_info __initdat
84 &board_nb4_ser_r2,
85 &board_nb4_fxc_r1,
86 &board_nb4_fxc_r2,
87 + &board_HW553,
88 #endif
89 };
90