ath79: enable upgrade from ar71xx for Qxwlan devices
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 501-board_bcm6318-brcm-bcm96318ref.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -49,6 +49,53 @@ 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 + .has_ohci0 = 1,
16 + .has_ehci0 = 1,
17 + .num_usbh_ports = 1,
18 +
19 + .has_usbd = 1,
20 + .usbd = {
21 + .use_fullspeed = 0,
22 + .port_no = 0,
23 + },
24 +
25 + .has_enetsw = 1,
26 + .enetsw = {
27 + .used_ports = {
28 + [0] = {
29 + .used = 1,
30 + .phy_id = 1,
31 + .name = "Port 1",
32 + },
33 + [1] = {
34 + .used = 1,
35 + .phy_id = 2,
36 + .name = "Port 2",
37 + },
38 + [2] = {
39 + .used = 1,
40 + .phy_id = 3,
41 + .name = "Port 3",
42 + },
43 + [3] = {
44 + .used = 1,
45 + .phy_id = 4,
46 + .name = "Port 4",
47 + },
48 + },
49 + },
50 +};
51 +#endif /* CONFIG_BCM63XX_CPU_6318 */
52 +
53 +/*
54 * known 6328 boards
55 */
56 #ifdef CONFIG_BCM63XX_CPU_6328
57 @@ -410,6 +457,9 @@ static const struct board_info __initcon
58 #ifdef CONFIG_BCM63XX_CPU_3368
59 &board_cvg834g,
60 #endif /* CONFIG_BCM63XX_CPU_3368 */
61 +#ifdef CONFIG_BCM63XX_CPU_6318
62 + &board_96318ref,
63 +#endif /* CONFIG_BCM63XX_CPU_6318 */
64 #ifdef CONFIG_BCM63XX_CPU_6328
65 &board_96328avng,
66 #endif /* CONFIG_BCM63XX_CPU_6328 */
67 @@ -444,6 +494,7 @@ static struct of_device_id const bcm963x
68 { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
69 #endif /* CONFIG_BCM63XX_CPU_3368 */
70 #ifdef CONFIG_BCM63XX_CPU_6318
71 + { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
72 #endif /* CONFIG_BCM63XX_CPU_6318 */
73 #ifdef CONFIG_BCM63XX_CPU_6328
74 { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },