brcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs reference...
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 220-board-D4PW.patch
1 Index: linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 ===================================================================
3 --- linux-2.6.32.13.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-05-27 21:44:35.000000000 -0400
4 +++ linux-2.6.32.13/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-05-27 21:45:09.000000000 -0400
5 @@ -451,6 +451,49 @@
6
7 .has_ohci0 = 1,
8 };
9 +
10 +static struct board_info __initdata board_96348_D4PW = {
11 + .name = "D-4P-W",
12 + .expected_cpu_id = 0x6348,
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 + .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 + {
32 + .name = "ppp",
33 + .gpio = 4,
34 + .active_low = 1,
35 + },
36 + {
37 + .name = "ppp-fail",
38 + .gpio = 5,
39 + .active_low = 1,
40 + },
41 + {
42 + .name = "power",
43 + .gpio = 0,
44 + .active_low = 1,
45 + .default_trigger = "default-on",
46 +
47 + },
48 + },
49 +
50 +};
51 +
52 #endif
53
54 /*
55 @@ -676,6 +719,7 @@
56 &board_DV201AMR,
57 &board_96348gw_a,
58 &board_rta1025w_16,
59 + &board_96348_D4PW,
60 #endif
61
62 #ifdef CONFIG_BCM63XX_CPU_6358