generic: ar8216: simplify ar8216_config_init
[openwrt.git] / target / linux / brcm63xx / patches-3.2 / 447-board_gw6200_gw6000.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -433,6 +433,112 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_gw6200 = {
8 + .name = "GW6200",
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 + .force_speed_100 = 1,
22 + .force_duplex_full = 1,
23 + },
24 +
25 + .has_ohci0 = 1,
26 +
27 + .has_dsp = 1,
28 + .dsp = {
29 + .gpio_rst = 8, /* FIXME: What is real GPIO here? */
30 + .gpio_int = 34,
31 + .ext_irq = 2,
32 + .cs = 2,
33 + },
34 +
35 + .leds = {
36 + {
37 + .name = "line1",
38 + .gpio = 4,
39 + .active_low = 1,
40 + },
41 + {
42 + .name = "line2",
43 + .gpio = 5,
44 + .active_low = 1,
45 + },
46 + {
47 + .name = "line3",
48 + .gpio = 6,
49 + .active_low = 1,
50 + },
51 + {
52 + .name = "tel",
53 + .gpio = 7,
54 + .active_low = 1,
55 + },
56 + },
57 + .buttons = {
58 + {
59 + .desc = "reset",
60 + .gpio = 36,
61 + .active_low = 1,
62 + .type = EV_KEY,
63 + .code = KEY_RESTART,
64 + .threshold = 3,
65 + },
66 + },
67 +};
68 +
69 +static struct board_info __initdata board_gw6000 = {
70 + .name = "GW6000",
71 + .expected_cpu_id = 0x6348,
72 +
73 + .has_uart0 = 1,
74 + .has_enet0 = 1,
75 + .has_enet1 = 1,
76 + .has_pci = 1,
77 +
78 + .enet0 = {
79 + .has_phy = 1,
80 + .use_internal_phy = 1,
81 + },
82 + .enet1 = {
83 + .force_speed_100 = 1,
84 + .force_duplex_full = 1,
85 + },
86 +
87 + .has_ohci0 = 1,
88 +
89 + .has_dsp = 1,
90 + .dsp = {
91 + .gpio_rst = 6,
92 + .gpio_int = 34,
93 + .ext_irq = 2,
94 + .cs = 2,
95 + },
96 +
97 + /* GW6000 has no GPIO-controlled leds */
98 +
99 + .buttons = {
100 + {
101 + .desc = "reset",
102 + .gpio = 36,
103 + .active_low = 1,
104 + .type = EV_KEY,
105 + .code = KEY_RESTART,
106 + .threshold = 3,
107 + },
108 + },
109 +};
110 +
111 +
112 +
113 static struct board_info __initdata board_FAST2404 = {
114 .name = "F@ST2404",
115 .expected_cpu_id = 0x6348,
116 @@ -1541,6 +1647,8 @@ static const struct board_info __initdat
117 #ifdef CONFIG_BCM63XX_CPU_6348
118 &board_96348r,
119 &board_96348gw,
120 + &board_gw6000,
121 + &board_gw6200,
122 &board_96348gw_10,
123 &board_96348gw_11,
124 &board_FAST2404,
This page took 0.062548 seconds and 5 git commands to generate.