[brcm63xx] switch to 2.6.39
[openwrt.git] / target / linux / brcm63xx / patches-2.6.37 / 448-board-MAGIC.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -751,6 +751,76 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_96348sv = {
8 + .name = "MAGIC",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_uart0 = 1,
12 + .has_enet0 = 1,
13 + .has_enet1 = 1,
14 + .has_pci = 1,
15 +
16 + .enet0 = {
17 + .has_phy = 1,
18 + .use_internal_phy = 1,
19 + },
20 + .enet1 = {
21 + /* is has BP_ENET_EXTERNAL_PHY */
22 + .force_speed_100 = 1,
23 + .force_duplex_full = 1,
24 + },
25 +
26 + .has_ohci0 = 1,
27 + .has_pccard = 1,
28 + .has_ehci0 = 1,
29 +
30 + .has_dsp = 1,
31 + .dsp = {
32 + .gpio_rst = 25,
33 + .gpio_int = 34,
34 + .cs = 2,
35 + .ext_irq = 2,
36 + },
37 +
38 + .leds = {
39 + {
40 + .name = "voip",
41 + .gpio = 22,
42 + .active_low = 1,
43 + },
44 + {
45 + .name = "adsl",
46 + .gpio = 5,
47 + .active_low = 1,
48 + },
49 + {
50 + .name = "wifi",
51 + .gpio = 28,
52 + },
53 + {
54 + .name = "usb",
55 + .gpio = 35,
56 + .active_low = 1,
57 + },
58 + {
59 + .name = "hpna",
60 + .gpio = 4,
61 + .active_low = 1,
62 + },
63 + {
64 + .name = "power",
65 + .gpio = 0,
66 + .active_low = 1,
67 + .default_trigger = "default-on",
68 + },
69 + {
70 + .name = "stop",
71 + .gpio = 1,
72 + .active_low = 1,
73 + },
74 + },
75 +};
76 +
77 #endif
78
79 /*
80 @@ -1661,6 +1731,7 @@ static const struct board_info __initdat
81 &board_rta1025w_16,
82 &board_96348_D4PW,
83 &board_spw500v,
84 + &board_96348sv,
85 #endif
86
87 #ifdef CONFIG_BCM63XX_CPU_6358
This page took 0.041434 seconds and 5 git commands to generate.