brcm63xx: remove legacy led/button related patches
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.1 / 506-board_gw6200_gw6000.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -456,6 +456,66 @@ 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 +
36 +static struct board_info __initdata board_gw6000 = {
37 + .name = "GW6000",
38 + .expected_cpu_id = 0x6348,
39 +
40 + .has_uart0 = 1,
41 + .has_enet0 = 1,
42 + .has_enet1 = 1,
43 + .has_pci = 1,
44 +
45 + .enet0 = {
46 + .has_phy = 1,
47 + .use_internal_phy = 1,
48 + },
49 + .enet1 = {
50 + .force_speed_100 = 1,
51 + .force_duplex_full = 1,
52 + },
53 +
54 + .has_ohci0 = 1,
55 +
56 + .has_dsp = 1,
57 + .dsp = {
58 + .gpio_rst = 6,
59 + .gpio_int = 34,
60 + .ext_irq = 2,
61 + .cs = 2,
62 + },
63 +};
64 +
65 +
66 +
67 static struct board_info __initdata board_FAST2404 = {
68 .name = "F@ST2404",
69 .expected_cpu_id = 0x6348,
70 @@ -883,6 +943,8 @@ static const struct board_info __initcon
71 #ifdef CONFIG_BCM63XX_CPU_6348
72 &board_96348r,
73 &board_96348gw,
74 + &board_gw6000,
75 + &board_gw6200,
76 &board_96348gw_10,
77 &board_96348gw_11,
78 &board_FAST2404,
79 @@ -933,6 +995,8 @@ static struct of_device_id const bcm963x
80 { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
81 { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
82 { .compatible = "t-com,spw500v", .data = &board_spw500v, },
83 + { .compatible = "tecom,gw6000", .data = &board_gw6000, },
84 + { .compatible = "tecom,gw6200", .data = &board_gw6200, },
85 { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
86 { .compatible = "usr,9108", .data = &board_96348gw_a, },
87 #endif