8429ddaf276a7d4f654c04065c83fa9825c384af
[openwrt/svn-archive/archive.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 @@ -1803,6 +1803,83 @@ static struct board_info __initdata boar
4 .spis = nb4_spi_devices,
5 .num_spis = ARRAY_SIZE(nb4_spi_devices),
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 + .leds = {
30 + {
31 + .name = "HW553:red:adsl",
32 + .gpio = 34,
33 + .active_low = 1,
34 + },
35 + {
36 + .name = "HW553:blue:adsl",
37 + .gpio = 35,
38 + .active_low = 1,
39 + },
40 + {
41 + .name = "HW553:red:lan",
42 + .gpio = 22,
43 + .active_low = 1,
44 + },
45 + {
46 + .name = "HW553:blue:lan",
47 + .gpio = 23,
48 + .active_low = 1,
49 + },
50 + {
51 + .name = "HW553:red:power",
52 + .gpio = 5,
53 + .active_low = 1,
54 + },
55 + {
56 + .name = "HW553:blue:power",
57 + .gpio = 4,
58 + .active_low = 1,
59 + .default_trigger = "default-on",
60 + },
61 + {
62 + .name = "HW553:red:wifi",
63 + .gpio = 25,
64 + .active_low = 1,
65 + },
66 + {
67 + .name = "HW553:red:hspa",
68 + .gpio = 12,
69 + .active_low = 1,
70 + },
71 + {
72 + .name = "HW553:blue:hspa",
73 + .gpio = 13,
74 + .active_low = 1,
75 + },
76 + },
77 +
78 + .fallback_sprom = {
79 + .type = SPROM_BCM4318,
80 + .pci_bus = 0,
81 + .pci_dev = 1,
82 + },
83 +};
84 #endif /* CONFIG_BCM63XX_CPU_6358 */
85
86 /*
87 @@ -1851,6 +1928,7 @@ static const struct board_info __initcon
88 &board_nb4_ser_r2,
89 &board_nb4_fxc_r1,
90 &board_nb4_fxc_r2,
91 + &board_HW553,
92 #endif
93 };
94