bcm63xx: add missing endif board comnents
[openwrt/staging/wigyori.git] / target / linux / bcm63xx / patches-5.4 / 552-board_fast2704n.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -204,6 +204,49 @@ static struct board_info __initdata boar
4 .num_board_fixups = ARRAY_SIZE(dsl2751b_e1_fixups),
5 },
6 };
7 +
8 +static struct board_info __initdata board_FAST2704N = {
9 + .name = "F@ST2704N",
10 + .expected_cpu_id = 0x6318,
11 +
12 + .has_pci = 1,
13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1,
15 + .num_usbh_ports = 1,
16 +
17 + .has_enetsw = 1,
18 + .enetsw = {
19 + .used_ports = {
20 + [0] = {
21 + .used = 1,
22 + .phy_id = 1,
23 + .name = "Port 1",
24 + },
25 + [1] = {
26 + .used = 1,
27 + .phy_id = 2,
28 + .name = "Port 2",
29 + },
30 + [2] = {
31 + .used = 1,
32 + .phy_id = 3,
33 + .name = "Port 3",
34 + },
35 + [3] = {
36 + .used = 1,
37 + .phy_id = 4,
38 + .name = "Port 4",
39 + },
40 + },
41 + },
42 +
43 + .use_fallback_sprom = 1,
44 + .fallback_sprom = {
45 + .type = SPROM_BCM43217,
46 + .pci_bus = 1,
47 + .pci_dev = 0,
48 + },
49 +};
50 #endif /* CONFIG_BCM63XX_CPU_6318 */
51
52 /*
53 @@ -2083,6 +2126,7 @@ static const struct board_info __initcon
54 &board_96318ref,
55 &board_96318ref_p300,
56 &board_dsl_2751b_d1,
57 + &board_FAST2704N,
58 #endif /* CONFIG_BCM63XX_CPU_6318 */
59 #ifdef CONFIG_BCM63XX_CPU_6328
60 &board_96328avng,
61 @@ -2176,6 +2220,7 @@ static struct of_device_id const bcm963x
62 { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
63 { .compatible = "brcm,bcm96318ref-p300", .data = &board_96318ref_p300, },
64 { .compatible = "d-link,dsl-275xb-d1", .data = &board_dsl_2751b_d1, },
65 + { .compatible = "sagem,fast-2704n", .data = &board_FAST2704N, },
66 #endif /* CONFIG_BCM63XX_CPU_6318 */
67 #ifdef CONFIG_BCM63XX_CPU_6328
68 { .compatible = "adb,a4001n", .data = &board_A4001N, },