6840defe31ed12e40195e508a76714e209f2ed70
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 449-board_hw553.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1691,6 +1691,81 @@ static struct board_info __initdata boar
4 .spis = nb4_spi_devices,
5 .num_spis = ARRAY_SIZE(nb4_spi_devices),
6 };
7 +
8 +static struct board_info __initdata board_HW553 = {
9 + .name = "HW553",
10 + .expected_cpu_id = 0x6358,
11 +
12 + .has_uart0 = 1,
13 +
14 + .has_enet0 = 1,
15 + .has_enet1 = 1,
16 + .has_pci = 1,
17 +
18 + .enet0 = {
19 + .has_phy = 1,
20 + .use_internal_phy = 1,
21 + },
22 +
23 + .enet1 = {
24 + .force_speed_100 = 1,
25 + .force_duplex_full = 1,
26 + },
27 +
28 + .has_ohci0 = 1,
29 + .has_ehci0 = 1,
30 +
31 + .leds = {
32 + /*Each led on HW553 is bi-color (except wifi) */
33 + {
34 + .name = "lan:red",
35 + .gpio = 34,
36 + .active_low = 1,
37 + },
38 + {
39 + .name = "lan:blue",
40 + .gpio = 35,
41 + .active_low = 1,
42 + },
43 + {
44 + .name = "adsl:red",
45 + .gpio = 22,
46 + .active_low = 1,
47 + },
48 + {
49 + .name = "adsl:blue",
50 + .gpio = 23,
51 + .active_low = 1,
52 + },
53 + {
54 + .name = "power:red",
55 + .gpio = 5,
56 + .active_low = 1,
57 + .default_trigger = "default-on",
58 + },
59 +
60 + {
61 + .name = "power:blue",
62 + .gpio = 4,
63 + .active_low = 1,
64 + },
65 + {
66 + .name = "wifi:red",
67 + .gpio = 25,
68 + .active_low = 1,
69 + },
70 + {
71 + .name = "internetkey:red",
72 + .gpio = 12,
73 + .active_low = 1,
74 + },
75 + {
76 + .name = "internetkey:blue",
77 + .gpio = 13,
78 + .active_low = 1,
79 + },
80 + },
81 +};
82 #endif
83
84 /*
85 @@ -1733,6 +1808,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
This page took 0.053009 seconds and 3 git commands to generate.