[generic] refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
[openwrt.git] / target / linux / brcm63xx / patches-2.6.39 / 447-board_gw6200_gw6000.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -432,6 +432,117 @@ 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 + .name = "ethernet",
58 + .gpio = 35,
59 + .active_low = 1,
60 + },
61 + },
62 + .buttons = {
63 + {
64 + .desc = "reset",
65 + .gpio = 36,
66 + .active_low = 1,
67 + .type = EV_KEY,
68 + .code = KEY_RESTART,
69 + .threshold = 3,
70 + },
71 + },
72 +};
73 +
74 +static struct board_info __initdata board_gw6000 = {
75 + .name = "GW6000",
76 + .expected_cpu_id = 0x6348,
77 +
78 + .has_uart0 = 1,
79 + .has_enet0 = 1,
80 + .has_enet1 = 1,
81 + .has_pci = 1,
82 +
83 + .enet0 = {
84 + .has_phy = 1,
85 + .use_internal_phy = 1,
86 + },
87 + .enet1 = {
88 + .force_speed_100 = 1,
89 + .force_duplex_full = 1,
90 + },
91 +
92 + .has_ohci0 = 1,
93 +
94 + .has_dsp = 1,
95 + .dsp = {
96 + .gpio_rst = 6,
97 + .gpio_int = 34,
98 + .ext_irq = 2,
99 + .cs = 2,
100 + },
101 +
102 + /* GW6000 has no GPIO-controlled leds */
103 +
104 + .buttons = {
105 + {
106 + .desc = "reset",
107 + .gpio = 36,
108 + .active_low = 1,
109 + .type = EV_KEY,
110 + .code = KEY_RESTART,
111 + .threshold = 3,
112 + },
113 + },
114 +};
115 +
116 +
117 +
118 static struct board_info __initdata board_FAST2404 = {
119 .name = "F@ST2404",
120 .expected_cpu_id = 0x6348,
121 @@ -1540,6 +1651,8 @@ static const struct board_info __initdat
122 #ifdef CONFIG_BCM63XX_CPU_6348
123 &board_96348r,
124 &board_96348gw,
125 + &board_gw6000,
126 + &board_gw6200,
127 &board_96348gw_10,
128 &board_96348gw_11,
129 &board_FAST2404,
This page took 0.057495 seconds and 5 git commands to generate.