brcm47xx: rename target to bcm47xx
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 576-board_AV4202N.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1732,6 +1732,51 @@ static struct board_info __initdata boar
4 * known 6368 boards
5 */
6 #ifdef CONFIG_BCM63XX_CPU_6368
7 +static struct board_info __initdata board_AV4202N = {
8 + .name = "96368_Swiss_S1",
9 + .expected_cpu_id = 0x6368,
10 +
11 + .has_pci = 1,
12 + .has_ohci0 = 1,
13 + .has_ehci0 = 1,
14 + .num_usbh_ports = 2,
15 +
16 + .has_enetsw = 1,
17 + .enetsw = {
18 + .used_ports = {
19 + [0] = {
20 + .used = 1,
21 + .phy_id = 1,
22 + .name = "port1",
23 + },
24 +
25 + [1] = {
26 + .used = 1,
27 + .phy_id = 2,
28 + .name = "port2",
29 + },
30 +
31 + [2] = {
32 + .used = 1,
33 + .phy_id = 3,
34 + .name = "port3",
35 + },
36 +
37 + [3] = {
38 + .used = 1,
39 + .phy_id = 4,
40 + .name = "port4",
41 + },
42 + },
43 + },
44 + .use_fallback_sprom = 1,
45 + .fallback_sprom = {
46 + .pci_bus = 0,
47 + .pci_dev = 1,
48 + },
49 +
50 +};
51 +
52 static struct board_info __initdata board_96368mvwg = {
53 .name = "96368MVWG",
54 .expected_cpu_id = 0x6368,
55 @@ -2445,6 +2490,7 @@ static const struct board_info __initcon
56 #endif
57
58 #ifdef CONFIG_BCM63XX_CPU_6368
59 + &board_AV4202N,
60 &board_96368mvwg,
61 &board_96368mvngr,
62 &board_DGND3700v1_3800B,
63 @@ -2552,6 +2598,7 @@ static struct of_device_id const bcm963x
64 { .compatible = "sfr,neufbox-6-sercomm-r0", .data = &board_nb6, },
65 #endif
66 #ifdef CONFIG_BCM63XX_CPU_6368
67 + { .compatible = "adb,av4202n", .data = &board_AV4202N, },
68 { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
69 { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
70 { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },