brcm63xx: add missing bcm96329bhr profile and dts
[openwrt.git] / target / linux / brcm63xx / patches-3.18 / 569-board_homehub2a.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1478,6 +1478,32 @@ static struct board_info __initdata boar
4         },
5  };
6  
7 +static struct board_info __initdata board_homehub2a = {
8 +       .name                           = "HOMEHUB2A",
9 +       .expected_cpu_id                = 0x6358,
10 +
11 +       .has_uart0                      = 1,
12 +       .has_pci                        = 1,
13 +       .use_fallback_sprom             = 1,
14 +       .has_ohci0                      = 1,
15 +       .has_ehci0                      = 1,
16 +       .num_usbh_ports                 = 2,
17 +
18 +       .has_enet1                      = 1,
19 +       .enet1 = {
20 +               .has_phy                = 1,
21 +               .phy_id                 = 0,
22 +               .force_speed_100        = 1,
23 +               .force_duplex_full      = 1,
24 +       },
25 +
26 +       .fallback_sprom = {
27 +               .type                   = SPROM_BCM4322,
28 +               .pci_bus                = 0,
29 +               .pci_dev                = 1,
30 +       },
31 +};
32 +
33  static struct board_info __initdata board_HW520 = {
34         .name                           = "HW6358GW_B",
35         .expected_cpu_id                = 0x6358,
36 @@ -2335,6 +2361,7 @@ static const struct board_info __initcon
37         &board_nb4_ser_r0,
38         &board_nb4_fxc_r1,
39         &board_ct6373_1,
40 +       &board_homehub2a,
41         &board_HW520,
42         &board_HW553,
43         &board_HW556_A,
44 @@ -2444,6 +2471,7 @@ static struct of_device_id const bcm963x
45         { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
46         { .compatible = "t-com,spw303v", .data = &board_spw303v, },
47         { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
48 +       { .compatible = "thomson,homehub2a", .data = &board_homehub2a, },
49  #endif
50  #ifdef CONFIG_BCM63XX_CPU_6362
51         { .compatible = "sagem,f@st2504n", .data = &board_fast2504n, },