brcm63xx: VH4032N: add the SPROM fixups
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 578-board_R1000H.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2116,6 +2116,29 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_R1000H = {
8 + .name = "R1000H",
9 + .expected_cpu_id = 0x6368,
10 +
11 + .has_pci = 1,
12 + .has_ohci0 = 1,
13 + .has_ehci0 = 1,
14 +
15 + .has_enetsw = 1,
16 + .enetsw = {
17 + .used_ports = {
18 + [5] = {
19 + .used = 1,
20 + .phy_id = 0xff,
21 + .bypass_link = 1,
22 + .force_speed = 1000,
23 + .force_duplex_full = 1,
24 + .name = "RGMII",
25 + },
26 + },
27 + },
28 +};
29 +
30 static struct board_info __initdata board_VR3025u = {
31 .name = "96368M-1541N",
32 .expected_cpu_id = 0x6368,
33 @@ -2648,6 +2671,7 @@ static const struct board_info __initcon
34 &board_HG622,
35 &board_HG655b,
36 &board_P870HW51A_V2,
37 + &board_R1000H,
38 &board_VH4032N,
39 &board_VR3025u,
40 &board_VR3025un,
41 @@ -2749,6 +2773,7 @@ static struct of_device_id const bcm963x
42 { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, },
43 #endif
44 #ifdef CONFIG_BCM63XX_CPU_6368
45 + { .compatible = "actiontec,r1000h", .data = &board_R1000H, },
46 { .compatible = "adb,av4202n", .data = &board_AV4202N, },
47 { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
48 { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },