ath79: enable upgrade from ar71xx for Qxwlan devices
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 684-board_bcm63168-sky-sr102.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2681,6 +2681,42 @@ static struct board_info __initdata boar
4 },
5 },
6 };
7 +
8 +static struct board_info __initdata board_BSKYB_63168 = {
9 + .name = "BSKYB_63168",
10 + .expected_cpu_id = 0x63268,
11 +
12 + .has_pci = 1,
13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1,
15 + .num_usbh_ports = 2,
16 +
17 + .has_enetsw = 1,
18 + .enetsw = {
19 + .used_ports = {
20 + [0] = {
21 + .used = 1,
22 + .phy_id = 1,
23 + .name = "Port 1",
24 + },
25 + [1] = {
26 + .used = 1,
27 + .phy_id = 2,
28 + .name = "Port 2",
29 + },
30 + [2] = {
31 + .used = 1,
32 + .phy_id = 3,
33 + .name = "Port 3",
34 + },
35 + [3] = {
36 + .used = 1,
37 + .phy_id = 4,
38 + .name = "Port 4",
39 + },
40 + },
41 + },
42 +};
43 #endif /* CONFIG_BCM63XX_CPU_63268 */
44
45 /*
46 @@ -2788,6 +2824,7 @@ static const struct board_info __initcon
47 &board_963268bu_p300,
48 &board_963269bhr,
49 &board_vw6339gu,
50 + &board_BSKYB_63168,
51 #endif /* CONFIG_BCM63XX_CPU_63268 */
52 };
53
54 @@ -2904,6 +2941,7 @@ static struct of_device_id const bcm963x
55 { .compatible = "brcm,bcm963268bu-p300", .data = &board_963268bu_p300, },
56 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
57 { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
58 + { .compatible = "sky,sr102", .data = &board_BSKYB_63168, },
59 #endif /* CONFIG_BCM63XX_CPU_63268 */
60 #endif /* CONFIG_OF */
61 { },