brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 508-board_hw553.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -991,6 +991,34 @@ static struct board_info __initdata boar
4         .has_ehci0 = 1,
5         .num_usbh_ports                 = 2,
6  };
7 +
8 +static struct board_info __initdata board_HW553 = {
9 +       .name                           = "HW553",
10 +       .expected_cpu_id                = 0x6358,
11 +
12 +       .has_uart0                      = 1,
13 +
14 +       .has_enet1                      = 1,
15 +       .has_pci                        = 1,
16 +       .use_fallback_sprom             = 1,
17 +
18 +       .enet1 = {
19 +               .has_phy                = 1,
20 +               .phy_id                 = 0,
21 +               .force_speed_100        = 1,
22 +               .force_duplex_full      = 1,
23 +       },
24 +
25 +       .has_ohci0 = 1,
26 +       .has_ehci0 = 1,
27 +       .num_usbh_ports                 = 2,
28 +
29 +       .fallback_sprom = {
30 +               .type                           = SPROM_BCM4318,
31 +               .pci_bus                        = 0,
32 +               .pci_dev                        = 1,
33 +       },
34 +};
35  #endif /* CONFIG_BCM63XX_CPU_6358 */
36  
37  /*
38 @@ -1036,6 +1064,7 @@ static const struct board_info __initcon
39         &board_dsl_274xb_rev_c,
40         &board_nb4_ser_r0,
41         &board_nb4_fxc_r1,
42 +       &board_HW553,
43  #endif
44  };
45  
46 @@ -1077,6 +1106,7 @@ static struct of_device_id const bcm963x
47         { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
48         { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
49         { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
50 +       { .compatible = "huawei,hg553", .data = &board_HW553, },
51         { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
52         { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
53         { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },