[brcm63xx] add support for USR9108 LEDs (#9372)
[openwrt.git] / target / linux / brcm63xx / patches-2.6.37 / 440-new_96348gw-11_leds.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -364,6 +364,49 @@ 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 +
16 + .enet1 = {
17 + .force_speed_100 = 1,
18 + .force_duplex_full = 1,
19 + },
20 +
21 + .has_ohci0 = 1,
22 + .has_pccard = 1,
23 + .has_ehci0 = 1,
24 +
25 + .leds = {
26 + {
27 + .name = "adsl-fail",
28 + .gpio = 2,
29 + .active_low = 1,
30 + },
31 + {
32 + .name = "power",
33 + .gpio = 0,
34 + .active_low = 1,
35 + .default_trigger = "default-on",
36 + },
37 + },
38 + .buttons = {
39 + {
40 + .desc = "reset",
41 + .gpio = 33,
42 + .active_low = 1,
43 + .type = EV_KEY,
44 + .code = KEY_RESTART,
45 + .threshold = 3,
46 + },
47 + },
48 +};
49 +
50 static struct board_info __initdata board_96348gw = {
51 .name = "96348GW",
52 .expected_cpu_id = 0x6348,
53 @@ -1642,6 +1685,7 @@ static const struct board_info __initdat
54 &board_rta1025w_16,
55 &board_96348_D4PW,
56 &board_spw500v,
57 + &board_ct536_ct5621,
58 #endif
59
60 #ifdef CONFIG_BCM63XX_CPU_6358
This page took 0.044059 seconds and 5 git commands to generate.