[scripts] ext-toolchain.sh:
[openwrt.git] / target / linux / brcm63xx / patches-3.1 / 445-board_spw500v.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -579,6 +579,67 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_spw500v = {
8 + .name = "SPW500V",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_uart0 = 1,
12 + .has_enet0 = 1,
13 + .has_pci = 1,
14 +
15 + .enet0 = {
16 + .has_phy = 1,
17 + .use_internal_phy = 1,
18 + },
19 +
20 + .has_dsp = 1,
21 + .dsp = {
22 + .gpio_rst = 6,
23 + .gpio_int = 34,
24 + .ext_irq = 2,
25 + .cs = 2,
26 + },
27 +
28 + .leds = {
29 + {
30 + .name = "power:red",
31 + .gpio = 1,
32 + .active_low = 1,
33 + },
34 + {
35 + .name = "power:green",
36 + .gpio = 0,
37 + .active_low = 1,
38 + .default_trigger = "default-on",
39 + },
40 + {
41 + .name = "ppp",
42 + .gpio = 3,
43 + .active_low = 1,
44 + },
45 + { .name = "pstn",
46 + .gpio = 28,
47 + .active_low = 1,
48 + },
49 + {
50 + .name = "voip",
51 + .gpio = 32,
52 + .active_low = 1,
53 + },
54 + },
55 +
56 + .buttons = {
57 + {
58 + .desc = "reset",
59 + .gpio = 33,
60 + .active_low = 1,
61 + .type = EV_KEY,
62 + .code = KEY_RESTART,
63 + .threshold = 3,
64 + },
65 + },
66 +};
67 +
68 #endif
69
70 /*
71 @@ -1486,6 +1547,7 @@ static const struct board_info __initdat
72 &board_96348gw_a,
73 &board_rta1025w_16,
74 &board_96348_D4PW,
75 + &board_spw500v,
76 #endif
77
78 #ifdef CONFIG_BCM63XX_CPU_6358
This page took 0.047481 seconds and 5 git commands to generate.