generic: ar8216: add a separate structure for chip specific stuff
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 457-board_96348A-122.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1007,6 +1007,67 @@ 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 +
15 + .enet1 = {
16 + .force_speed_100 = 1,
17 + .force_duplex_full = 1,
18 + },
19 +
20 + .has_ohci0 = 1,
21 +
22 + .leds = {
23 + {
24 + .name = "power",
25 + .gpio = 0,
26 + .active_low = 1,
27 + .default_trigger = "default-on",
28 + },
29 + {
30 + .name = "alarm",
31 + .gpio = 2,
32 + .active_low = 1,
33 + },
34 + {
35 + .name = "wps",
36 + .gpio = 6,
37 + .active_low = 1,
38 + },
39 + },
40 + .buttons = {
41 + {
42 + .desc = "reset",
43 + .gpio = 33,
44 + .active_low = 1,
45 + .type = EV_KEY,
46 + .code = KEY_RESTART,
47 + .threshold = 3,
48 + },
49 + {
50 + .desc = "wifi",
51 + .gpio = 34,
52 + .active_low = 1,
53 + .type = EV_KEY,
54 + .code = BTN_0,
55 + .threshold = 3,
56 + },
57 + {
58 + .desc = "wps",
59 + .gpio = 35,
60 + .active_low = 1,
61 + .type = EV_KEY,
62 + .code = KEY_WPS_BUTTON,
63 + .threshold = 3,
64 + },
65 + },
66 +};
67 +
68 #endif
69
70 /*
71 @@ -2060,6 +2121,7 @@ static const struct board_info __initdat
72 &board_V2500V_BB,
73 &board_V2110,
74 &board_ct536_ct5621,
75 + &board_96348A_122,
76 #endif
77
78 #ifdef CONFIG_BCM63XX_CPU_6358
This page took 0.053659 seconds and 5 git commands to generate.