ppp: update to version 2.4.7.git-2019-05-06
[openwrt/staging/dedeckeh.git] / target / linux / brcm63xx / patches-4.9 / 555-board_96318ref.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -50,6 +50,55 @@ static struct board_info __initdata boar
4 #endif /* CONFIG_BCM63XX_CPU_3368 */
5
6 /*
7 + * known 6318 boards
8 + */
9 +#ifdef CONFIG_BCM63XX_CPU_6318
10 +static struct board_info __initdata board_96318ref = {
11 + .name = "96318REF",
12 + .expected_cpu_id = 0x6318,
13 +
14 + .has_pci = 1,
15 +
16 + .has_usbd = 1,
17 +
18 + .usbd = {
19 + .use_fullspeed = 0,
20 + .port_no = 0,
21 + },
22 +
23 + .has_enetsw = 1,
24 +
25 + .has_ehci0 = 1,
26 + .num_usbh_ports = 1,
27 +
28 + .enetsw = {
29 + .used_ports = {
30 + [0] = {
31 + .used = 1,
32 + .phy_id = 1,
33 + .name = "Port 1",
34 + },
35 + [1] = {
36 + .used = 1,
37 + .phy_id = 2,
38 + .name = "Port 2",
39 + },
40 + [2] = {
41 + .used = 1,
42 + .phy_id = 3,
43 + .name = "Port 3",
44 + },
45 + [3] = {
46 + .used = 1,
47 + .phy_id = 4,
48 + .name = "Port 4",
49 + },
50 + },
51 + },
52 +};
53 +#endif /* CONFIG_BCM63XX_CPU_6318 */
54 +
55 +/*
56 * known 6328 boards
57 */
58 #ifdef CONFIG_BCM63XX_CPU_6328
59 @@ -1469,6 +1518,9 @@ static const struct board_info __initcon
60 #ifdef CONFIG_BCM63XX_CPU_3368
61 &board_cvg834g,
62 #endif
63 +#ifdef CONFIG_BCM63XX_CPU_6318
64 + &board_96318ref,
65 +#endif
66 #ifdef CONFIG_BCM63XX_CPU_6328
67 &board_96328avng,
68 &board_AR5381u,
69 @@ -1546,6 +1598,9 @@ static struct of_device_id const bcm963x
70 #ifdef CONFIG_BCM63XX_CPU_3368
71 { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
72 #endif
73 +#ifdef CONFIG_BCM63XX_CPU_6318
74 + { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
75 +#endif
76 #ifdef CONFIG_BCM63XX_CPU_6328
77 { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
78 { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },