[brcm63xx] make default version 3.7.6
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.6 / 532-board_96328a-1241N.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -137,6 +137,72 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_96328A_1241N = {
8 + .name = "96328A-1241N",
9 + .expected_cpu_id = 0x6328,
10 +
11 + .has_uart0 = 1,
12 + .has_pci = 1,
13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1,
15 + .has_enetsw = 1,
16 +
17 + .enetsw = {
18 + .used_ports = {
19 + [0] = {
20 + .used = 1,
21 + .phy_id = 1,
22 + .name = "Port 1",
23 + },
24 + [1] = {
25 + .used = 1,
26 + .phy_id = 2,
27 + .name = "Port 2",
28 + },
29 + [2] = {
30 + .used = 1,
31 + .phy_id = 3,
32 + .name = "Port 3",
33 + },
34 + [3] = {
35 + .used = 1,
36 + .phy_id = 4,
37 + .name = "Port 4",
38 + },
39 + },
40 + },
41 +
42 + .leds = {
43 + {
44 + .name = "96328A-1241N:green:power",
45 + .gpio = 4,
46 + .active_low = 1,
47 + .default_trigger = "default-on",
48 + },
49 + {
50 + .name = "96328A-1241N:red:alarm",
51 + .gpio = 2,
52 + .active_low = 1,
53 + },
54 + {
55 + .name = "96328A-1241N:green:inet",
56 + .gpio = 3,
57 + .active_low = 1,
58 + },
59 + },
60 +
61 + .buttons = {
62 + {
63 + .desc = "reset",
64 + .gpio = 23,
65 + .active_low = 1,
66 + .type = EV_KEY,
67 + .code = KEY_RESTART,
68 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
69 + },
70 + },
71 +};
72 +
73 static struct board_info __initdata board_96328A_1441N1 = {
74 .name = "96328A-1441N1",
75 .expected_cpu_id = 0x6328,
76 @@ -3108,6 +3174,7 @@ static struct board_info __initdata boar
77 static const struct board_info __initdata *bcm963xx_boards[] = {
78 #ifdef CONFIG_BCM63XX_CPU_6328
79 &board_96328avng,
80 + &board_96328A_1241N,
81 &board_96328A_1441N1,
82 &board_963281TAN,
83 &board_963281T_TEF,