17beb14154555a277d400bf88a266f8b9fa5a1a7
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 633-board-bcm6362-netgear-dgnd3700-v2.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1811,6 +1811,30 @@ 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 + .has_ohci0 = 1,
13 + .has_ehci0 = 1,
14 + .num_usbh_ports = 2,
15 +
16 + .has_enetsw = 1,
17 + .enetsw = {
18 + .used_ports = {
19 + [4] = {
20 + .used = 1,
21 + .phy_id = 0xff,
22 + .bypass_link = 1,
23 + .force_speed = 1000,
24 + .force_duplex_full = 1,
25 + .name = "RGMII",
26 + },
27 + },
28 + },
29 +};
30 +
31 static struct board_info __initdata board_fast2504n = {
32 .name = "F@ST2504n",
33 .expected_cpu_id = 0x6362,
34 @@ -1924,6 +1948,7 @@ static const struct board_info __initcon
35 #endif /* CONFIG_BCM63XX_CPU_6358 */
36 #ifdef CONFIG_BCM63XX_CPU_6362
37 &board_nb6,
38 + &board_dgnd3700v2,
39 &board_fast2504n,
40 #endif /* CONFIG_BCM63XX_CPU_6362 */
41 };
42 @@ -2016,6 +2041,7 @@ static struct of_device_id const bcm963x
43 { .compatible = "bt,home-hub-2-a", .data = &board_homehub2a, },
44 #endif /* CONFIG_BCM63XX_CPU_6358 */
45 #ifdef CONFIG_BCM63XX_CPU_6362
46 + { .compatible = "netgear,dgnd3700-v2", .data = &board_dgnd3700v2, },
47 { .compatible = "sagem,fast-2504n", .data = &board_fast2504n, },
48 { .compatible = "sfr,neufbox-6-sercomm-r0", .data = &board_nb6, },
49 #endif /* CONFIG_BCM63XX_CPU_6362 */