ath79: enable upgrade from ar71xx for Qxwlan devices
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 529-board_bcm6328-nucom-r5010un-v2.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -673,6 +673,50 @@ static struct board_info __initdata boar
4 },
5 },
6 };
7 +
8 +static struct board_info __initdata board_R5010UNV2 = {
9 + .name = "96328ang",
10 + .expected_cpu_id = 0x6328,
11 +
12 + .has_pci = 1,
13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1,
15 + .num_usbh_ports = 1,
16 +
17 + .has_enetsw = 1,
18 + .enetsw = {
19 + .used_ports = {
20 + [0] = {
21 + .used = 1,
22 + .phy_id = 1,
23 + .name = "Port 1",
24 + },
25 + [1] = {
26 + .used = 1,
27 + .phy_id = 2,
28 + .name = "Port 2",
29 + },
30 + [2] = {
31 + .used = 1,
32 + .phy_id = 3,
33 + .name = "Port 3",
34 + },
35 + [3] = {
36 + .used = 1,
37 + .phy_id = 4,
38 + .name = "Port 4",
39 + },
40 + },
41 + },
42 +
43 + .use_fallback_sprom = 1,
44 + .fallback_sprom = {
45 + .type = SPROM_BCM43217,
46 + .pci_bus = 1,
47 + .pci_dev = 0,
48 + },
49 +};
50 +
51 #endif /* CONFIG_BCM63XX_CPU_6328 */
52
53 /*
54 @@ -1034,6 +1078,7 @@ static const struct board_info __initcon
55 &board_A4001N1,
56 &board_dsl_274xb_f1,
57 &board_FAST2704V2,
58 + &board_R5010UNV2,
59 #endif /* CONFIG_BCM63XX_CPU_6328 */
60 #ifdef CONFIG_BCM63XX_CPU_6338
61 &board_96338gw,
62 @@ -1080,6 +1125,7 @@ static struct of_device_id const bcm963x
63 { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
64 { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
65 { .compatible = "d-link,dsl-274xb-f1", .data = &board_dsl_274xb_f1, },
66 + { .compatible = "nucom,r5010un-v2", .data = &board_R5010UNV2, },
67 { .compatible = "sagem,fast-2704-v2", .data = &board_FAST2704V2, },
68 #endif /* CONFIG_BCM63XX_CPU_6328 */
69 #ifdef CONFIG_BCM63XX_CPU_6338