brcm47xx: rename target to bcm47xx
[openwrt/staging/wigyori.git] / target / linux / brcm63xx / patches-4.14 / 598-board_sr102.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2654,6 +2654,49 @@ 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 + .use_fallback_sprom = 0,
14 +
15 + .has_ehci0 = 1,
16 + .has_ohci0 = 1,
17 + .num_usbh_ports = 2,
18 +
19 + .has_enetsw = 1,
20 +
21 + .enetsw = {
22 + .used_ports = {
23 + [0] = {
24 + .used = 1,
25 + .phy_id = 1,
26 + .name = "Port 1",
27 + },
28 +
29 + [1] = {
30 + .used = 1,
31 + .phy_id = 2,
32 + .name = "Port 2",
33 + },
34 +
35 + [2] = {
36 + .used = 1,
37 + .phy_id = 3,
38 + .name = "Port 3",
39 + },
40 +
41 + [3] = {
42 + .used = 1,
43 + .phy_id = 4,
44 + .name = "Port 4",
45 + },
46 +
47 + },
48 + },
49 +};
50 #endif /* CONFIG_BCM63XX_CPU_63268 */
51
52 /*
53 @@ -2762,6 +2805,7 @@ static const struct board_info __initcon
54 &board_963268bu_p300,
55 &board_963269bhr,
56 &board_vw6339gu,
57 + &board_BSKYB_63168,
58 #endif
59 };
60
61 @@ -2874,6 +2918,7 @@ static struct of_device_id const bcm963x
62 { .compatible = "brcm,bcm963268bu-p300", .data = &board_963268bu_p300, },
63 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
64 { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
65 + { .compatible = "sky,sr102", .data = &board_BSKYB_63168, },
66 #endif
67 #endif /* CONFIG_OF */
68 { },