7dfc7ab4e8d04017d27a289122d74a4cc7114be6
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.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 @@ -1925,6 +1925,66 @@ 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_uart0 = 1,
12 +
13 + .has_ehci0 = 1,
14 + .has_ohci0 = 1,
15 + .num_usbh_ports = 1,
16 +
17 + .has_usbd = 1,
18 +
19 + .usbd = {
20 + .use_fullspeed = 0,
21 + .port_no = 0,
22 + },
23 +
24 + .has_enetsw = 1,
25 +
26 + .enetsw = {
27 + .used_ports = {
28 + [0] = {
29 + .used = 1,
30 + .phy_id = 17,
31 + .name = "FE1",
32 + },
33 +
34 + [3] = {
35 + .used = 1,
36 + .phy_id = 4,
37 + .name = "GbE2",
38 + },
39 +
40 + [4] = {
41 + .used = 1,
42 + .phy_id = 0,
43 + .name = "GbE3",
44 + },
45 +
46 + [5] = {
47 + .used = 1,
48 + .phy_id = 1,
49 + .name = "GbE1",
50 + },
51 +
52 + [6] = {
53 + .used = 1,
54 + .phy_id = 24,
55 + .name = "GbE4",
56 + },
57 +
58 + [7] = {
59 + .used = 1,
60 + .phy_id = 25,
61 + .name = "GbE5",
62 + },
63 + },
64 + },
65 +};
66 +
67 static struct board_info __initdata board_963269bhr = {
68 .name = "963269BHR",
69 .expected_cpu_id = 0x63268,
70 @@ -2175,6 +2235,7 @@ static const struct board_info __initcon
71 &board_96368mvngr,
72 #endif
73 #ifdef CONFIG_BCM63XX_CPU_63268
74 + &board_963268bu_p300,
75 &board_963269bhr,
76 &board_vw6339gu,
77 #endif
78 @@ -2255,6 +2316,7 @@ static struct of_device_id const bcm963x
79 { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
80 #endif
81 #ifdef CONFIG_BCM63XX_CPU_63268
82 + { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, },
83 #endif
84 #endif /* CONFIG_OF */
85 { },