brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 516-board_96348A-122.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -474,6 +474,31 @@ static struct board_info __initdata boar
4         },
5  };
6  
7 +static struct board_info __initdata board_96348A_122 = {
8 +       .name                           = "96348A-122",
9 +       .expected_cpu_id                = 0x6348,
10 +
11 +       .has_uart0                      = 1,
12 +       .has_enet1                      = 1,
13 +       .has_pci                        = 1,
14 +       .use_fallback_sprom             = 1,
15 +
16 +       .enet1 = {
17 +               .has_phy                = 1,
18 +               .phy_id                 = 0,
19 +               .force_speed_100        = 1,
20 +               .force_duplex_full      = 1,
21 +       },
22 +
23 +       .has_ohci0 = 1,
24 +
25 +       .fallback_sprom = {
26 +               .type                           = SPROM_BCM4318,
27 +               .pci_bus                        = 0,
28 +               .pci_dev                        = 1,
29 +       },
30 +};
31 +
32  static struct board_info __initdata board_96348gw = {
33         .name                           = "96348GW",
34         .expected_cpu_id                = 0x6348,
35 @@ -1158,6 +1183,7 @@ static const struct board_info __initcon
36         &board_V2500V_BB,
37         &board_V2110,
38         &board_ct536_ct5621,
39 +       &board_96348A_122,
40  #endif
41  
42  #ifdef CONFIG_BCM63XX_CPU_6358
43 @@ -1198,6 +1224,7 @@ static struct of_device_id const bcm963x
44         { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
45         { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
46         { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
47 +       { .compatible = "comtrend,ct-5365", .data = &board_96348A_122, },
48         { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
49         { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
50         { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },