kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 506-board_gw6200_gw6000.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -233,6 +233,64 @@ 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_enet0 = 1,
12 + .has_enet1 = 1,
13 + .has_pci = 1,
14 +
15 + .enet0 = {
16 + .has_phy = 1,
17 + .use_internal_phy = 1,
18 + },
19 + .enet1 = {
20 + .force_speed_100 = 1,
21 + .force_duplex_full = 1,
22 + },
23 +
24 + .has_ohci0 = 1,
25 +
26 + .has_dsp = 1,
27 + .dsp = {
28 + .gpio_rst = 8, /* FIXME: What is real GPIO here? */
29 + .gpio_int = 34,
30 + .ext_irq = 2,
31 + .cs = 2,
32 + },
33 +};
34 +
35 +static struct board_info __initdata board_gw6000 = {
36 + .name = "GW6000",
37 + .expected_cpu_id = 0x6348,
38 +
39 + .has_enet0 = 1,
40 + .has_enet1 = 1,
41 + .has_pci = 1,
42 +
43 + .enet0 = {
44 + .has_phy = 1,
45 + .use_internal_phy = 1,
46 + },
47 + .enet1 = {
48 + .force_speed_100 = 1,
49 + .force_duplex_full = 1,
50 + },
51 +
52 + .has_ohci0 = 1,
53 +
54 + .has_dsp = 1,
55 + .dsp = {
56 + .gpio_rst = 6,
57 + .gpio_int = 34,
58 + .ext_irq = 2,
59 + .cs = 2,
60 + },
61 +};
62 +
63 +
64 +
65 static struct board_info __initdata board_FAST2404 = {
66 .name = "F@ST2404",
67 .expected_cpu_id = 0x6348,
68 @@ -598,6 +656,8 @@ static const struct board_info __initcon
69 #ifdef CONFIG_BCM63XX_CPU_6348
70 &board_96348r,
71 &board_96348gw,
72 + &board_gw6000,
73 + &board_gw6200,
74 &board_96348gw_10,
75 &board_96348gw_11,
76 &board_FAST2404,
77 @@ -648,6 +708,8 @@ static struct of_device_id const bcm963x
78 { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
79 { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
80 { .compatible = "t-com,spw500v", .data = &board_spw500v, },
81 + { .compatible = "tecom,gw6000", .data = &board_gw6000, },
82 + { .compatible = "tecom,gw6200", .data = &board_gw6200, },
83 { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
84 { .compatible = "usr,9108", .data = &board_96348gw_a, },
85 #endif