WIP: bcm63xx: SFR NB6V support
[openwrt/staging/noltari.git] / target / linux / bcm63xx / patches-5.4 / 568-board-nb6v.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2717,6 +2717,31 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_nb6v = {
8 + .name = "NB6V-FXC-r0",
9 + .expected_cpu_id = 0x63268,
10 +
11 + .has_ehci0 = 1,
12 + .has_ohci0 = 1,
13 + .num_usbh_ports = 2,
14 +
15 + .has_enetsw = 1,
16 + .enetsw = {
17 + .used_ports = {
18 + [4] = {
19 + .used = 1,
20 + .phy_id = 0xff,
21 + .bypass_link = 1,
22 + .force_speed = 1000,
23 + .force_duplex_full = 1,
24 + .mii_override = 1,
25 + .timing_sel = 1,
26 + .name = "RGMII",
27 + },
28 + },
29 + },
30 +};
31 +
32 static struct board_info __initdata board_VG8050 = {
33 .name = "963169P-1861N5",
34 .expected_cpu_id = 0x63268,
35 @@ -3010,6 +3035,7 @@ static const struct board_info __initcon
36 #ifdef CONFIG_BCM63XX_CPU_63268
37 &board_963268bu_p300,
38 &board_963269bhr,
39 + &board_nb6v,
40 &board_VG8050,
41 &board_VR3032u,
42 &board_vw6339gu,
43 @@ -3135,6 +3161,7 @@ static struct of_device_id const bcm963x
44 { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
45 { .compatible = "sercomm,h500-s-lowi", .data = &board_H500s, },
46 { .compatible = "sercomm,h500-s-vfes", .data = &board_H500s, },
47 + { .compatible = "sfr,neufbox-6v-foxconn-r0", .data = &board_nb6v, },
48 { .compatible = "sky,sr102", .data = &board_BSKYB_63168, },
49 #endif
50 #endif /* CONFIG_OF */