brcm63xx: remove broken DSP platform device code
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 560-board_963268gu_p300.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1574,6 +1574,64 @@ static struct board_info __initdata boar
4 * known 63268/63269 boards
5 */
6 #ifdef CONFIG_BCM63XX_CPU_63268
7 +static struct board_info __initdata board_963268bu_p300 = {
8 + .name = "963268BU_P300",
9 + .expected_cpu_id = 0x63268,
10 +
11 + .has_ehci0 = 1,
12 + .has_ohci0 = 1,
13 + .num_usbh_ports = 1,
14 +
15 + .has_usbd = 1,
16 +
17 + .usbd = {
18 + .use_fullspeed = 0,
19 + .port_no = 0,
20 + },
21 +
22 + .has_enetsw = 1,
23 +
24 + .enetsw = {
25 + .used_ports = {
26 + [0] = {
27 + .used = 1,
28 + .phy_id = 17,
29 + .name = "FE1",
30 + },
31 +
32 + [3] = {
33 + .used = 1,
34 + .phy_id = 4,
35 + .name = "GbE2",
36 + },
37 +
38 + [4] = {
39 + .used = 1,
40 + .phy_id = 0,
41 + .name = "GbE3",
42 + },
43 +
44 + [5] = {
45 + .used = 1,
46 + .phy_id = 1,
47 + .name = "GbE1",
48 + },
49 +
50 + [6] = {
51 + .used = 1,
52 + .phy_id = 24,
53 + .name = "GbE4",
54 + },
55 +
56 + [7] = {
57 + .used = 1,
58 + .phy_id = 25,
59 + .name = "GbE5",
60 + },
61 + },
62 + },
63 +};
64 +
65 static struct board_info __initdata board_963269bhr = {
66 .name = "963269BHR",
67 .expected_cpu_id = 0x63268,
68 @@ -1742,6 +1800,7 @@ static const struct board_info __initcon
69 &board_96368mvngr,
70 #endif
71 #ifdef CONFIG_BCM63XX_CPU_63268
72 + &board_963268bu_p300,
73 &board_963269bhr,
74 &board_vw6339gu,
75 #endif
76 @@ -1833,6 +1892,7 @@ static struct of_device_id const bcm963x
77 { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
78 #endif
79 #ifdef CONFIG_BCM63XX_CPU_63268
80 + { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, },
81 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
82 { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
83 #endif