Root/target/linux/brcm63xx/patches-3.2/444-board_dsl_274xb_rev_c.patch

1--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3@@ -915,6 +915,59 @@ static struct board_info __initdata boar
4     .has_ohci0 = 1,
5 };
6 
7+/* D-Link DSL-274xB revison C2/C3 */
8+static struct board_info __initdata board_dsl_274xb_rev_c = {
9+ .name = "AW4139",
10+ .expected_cpu_id = 0x6358,
11+
12+ .has_uart0 = 1,
13+ .has_enet1 = 1,
14+ .has_pci = 1,
15+
16+ .enet1 = {
17+ .force_speed_100 = 1,
18+ .force_duplex_full = 1,
19+ },
20+
21+ .leds = {
22+ {
23+ .name = "dsl-274xb:green:power",
24+ .gpio = 5,
25+ .active_low = 1,
26+ .default_trigger = "default-on",
27+ },
28+ {
29+ .name = "dsl-274xb:red:power",
30+ .gpio = 4,
31+ .active_low = 1,
32+ },
33+ {
34+ .name = "dsl-274xb:green:adsl",
35+ .gpio = 9,
36+ .active_low = 1,
37+ },
38+ {
39+ .name = "dsl-274xb:green:internet",
40+ .gpio = 2,
41+ },
42+ {
43+ .name = "dsl-274xb:red:internet",
44+ .gpio = 10,
45+ },
46+ },
47+
48+ .buttons = {
49+ {
50+ .desc = "reset",
51+ .gpio = 34,
52+ .active_low = 1,
53+ .type = EV_KEY,
54+ .code = KEY_RESTART,
55+ .threshold = 3,
56+ },
57+ },
58+};
59+
60 struct spi_gpio_platform_data nb4_spi_gpio_data = {
61     .sck = NB4_SPI_GPIO_CLK,
62     .mosi = NB4_SPI_GPIO_MOSI,
63@@ -1442,6 +1495,7 @@ static const struct board_info __initdat
64     &board_AGPFS0,
65     &board_CPVA642,
66     &board_DWVS0,
67+ &board_dsl_274xb_rev_c,
68     &board_nb4_ser_r0,
69     &board_nb4_ser_r1,
70     &board_nb4_ser_r2,
71

Archive Download this file



interactive