ramips: rt3833: fix build breakage
[oweals/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 510-board_spw303v.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -706,6 +706,20 @@ static struct board_info __initdata boar
4                 .pci_dev                        = 1,
5         },
6  };
7 +
8 + /* T-Home Speedport W 303V Typ B */
9 +static struct board_info __initdata board_spw303v = {
10 +       .name                   = "96358-502V",
11 +       .expected_cpu_id        = 0x6358,
12 +
13 +       .has_enet0              = 1,
14 +       .has_pci                = 1,
15 +
16 +       .enet0 = {
17 +               .has_phy                = 1,
18 +               .use_internal_phy       = 1,
19 +       },
20 +};
21  #endif /* CONFIG_BCM63XX_CPU_6358 */
22  
23  /*
24 @@ -753,6 +767,7 @@ static const struct board_info __initcon
25         &board_nb4_ser_r0,
26         &board_nb4_fxc_r1,
27         &board_HW553,
28 +       &board_spw303v,
29  #endif
30  };
31  
32 @@ -804,6 +819,7 @@ static struct of_device_id const bcm963x
33         { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
34         { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
35         { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
36 +       { .compatible = "t-com,spw303v", .data = &board_spw303v, },
37         { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
38  #endif
39  #ifdef CONFIG_BCM63XX_CPU_6368