1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -166,6 +166,116 @@ static struct board_info __initdata boar
7 +static struct sprom_fixup __initdata ar5387un_fixups[] = {
8 + { .offset = 2, .value = 0x05bb },
9 + { .offset = 65, .value = 0x1204 },
10 + { .offset = 78, .value = 0x0303 },
11 + { .offset = 79, .value = 0x0202 },
12 + { .offset = 80, .value = 0xff02 },
13 + { .offset = 87, .value = 0x0315 },
14 + { .offset = 88, .value = 0x0315 },
15 + { .offset = 96, .value = 0x2048 },
16 + { .offset = 97, .value = 0xff11 },
17 + { .offset = 98, .value = 0x1567 },
18 + { .offset = 99, .value = 0xfb24 },
19 + { .offset = 100, .value = 0x3e3c },
20 + { .offset = 101, .value = 0x4038 },
21 + { .offset = 102, .value = 0xfe7f },
22 + { .offset = 103, .value = 0x1279 },
23 + { .offset = 112, .value = 0x2048 },
24 + { .offset = 113, .value = 0xff03 },
25 + { .offset = 114, .value = 0x154c },
26 + { .offset = 115, .value = 0xfb27 },
27 + { .offset = 116, .value = 0x3e3c },
28 + { .offset = 117, .value = 0x4038 },
29 + { .offset = 118, .value = 0xfe87 },
30 + { .offset = 119, .value = 0x1233 },
31 + { .offset = 203, .value = 0x2226 },
34 +static struct board_info __initdata board_AR5387un = {
35 + .name = "96328A-1441N1",
36 + .of_board_id = "comtrend,ar-5387un",
37 + .expected_cpu_id = 0x6328,
41 + .use_fallback_sprom = 1,
44 + .num_usbh_ports = 1,
74 + .name = "AR-5387un:green:power",
76 + .default_trigger = "default-on",
79 + .name = "AR-5387un:red:power",
83 + .name = "AR-5387un:green:inet",
87 + .name = "AR-5387un:red:inet",
91 + .name = "AR-5387un:green:dsl",
103 + .code = KEY_RESTART,
104 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
108 + .fallback_sprom = {
109 + .type = SPROM_BCM43225,
112 + .board_fixups = ar5387un_fixups,
113 + .num_board_fixups = ARRAY_SIZE(ar5387un_fixups),
117 static struct board_info __initdata board_963281TAN = {
119 .of_board_id = "brcm,bcm963281TAN",
120 @@ -2826,6 +2936,7 @@ static const struct board_info __initcon
122 #ifdef CONFIG_BCM63XX_CPU_6328