bcm63xx: add unmodded SERCOMM AD1018 support
[openwrt/staging/luka.git] / target / linux / bcm63xx / patches-5.4 / 564-board-DGND3700v2.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1820,6 +1820,31 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_dgnd3700v2 = {
8 + .name = "96362ADVN2xh",
9 + .expected_cpu_id = 0x6362,
10 +
11 + .has_pci = 1,
12 +
13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1,
15 + .num_usbh_ports = 2,
16 +
17 + .has_enetsw = 1,
18 + .enetsw = {
19 + .used_ports = {
20 + [4] = {
21 + .used = 1,
22 + .phy_id = 0xff,
23 + .bypass_link = 1,
24 + .force_speed = 1000,
25 + .force_duplex_full = 1,
26 + .name = "RGMII",
27 + },
28 + },
29 + },
30 +};
31 +
32 static struct board_info __initdata board_fast2504n = {
33 .name = "F@ST2504n",
34 .expected_cpu_id = 0x6362,
35 @@ -2820,6 +2845,7 @@ static const struct board_info __initcon
36
37 #ifdef CONFIG_BCM63XX_CPU_6362
38 &board_nb6,
39 + &board_dgnd3700v2,
40 &board_fast2504n,
41 #endif
42
43 @@ -2935,6 +2961,7 @@ static struct of_device_id const bcm963x
44 { .compatible = "bt,home-hub-2-a", .data = &board_homehub2a, },
45 #endif
46 #ifdef CONFIG_BCM63XX_CPU_6362
47 + { .compatible = "netgear,dgnd3700-v2", .data = &board_dgnd3700v2, },
48 { .compatible = "sagem,fast-2504n", .data = &board_fast2504n, },
49 { .compatible = "sfr,neufbox-6-sercomm-r0", .data = &board_nb6, },
50 #endif