f26017ea68d6218f4ec2f2cc272b60bb73e98770
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.9 / 508-board_hw553.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1737,6 +1737,82 @@ 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_enet0 = 1,
15 + .has_enet1 = 1,
16 + .has_pci = 1,
17 +
18 + .enet0 = {
19 + .has_phy = 1,
20 + .use_internal_phy = 1,
21 + },
22 +
23 + .enet1 = {
24 + .has_phy = 1,
25 + .phy_id = 0,
26 + .force_speed_100 = 1,
27 + .force_duplex_full = 1,
28 + },
29 +
30 + .has_ohci0 = 1,
31 + .has_ehci0 = 1,
32 +
33 + .leds = {
34 + {
35 + .name = "HW553:red:lan",
36 + .gpio = 34,
37 + .active_low = 1,
38 + },
39 + {
40 + .name = "HW553:blue:lan",
41 + .gpio = 35,
42 + .active_low = 1,
43 + },
44 + {
45 + .name = "HW553:red:adsl",
46 + .gpio = 22,
47 + .active_low = 1,
48 + },
49 + {
50 + .name = "HW553:blue:adsl",
51 + .gpio = 23,
52 + .active_low = 1,
53 + },
54 + {
55 + .name = "HW553:red:power",
56 + .gpio = 5,
57 + .active_low = 1,
58 + .default_trigger = "default-on",
59 + },
60 +
61 + {
62 + .name = "HW553:blue:power",
63 + .gpio = 4,
64 + .active_low = 1,
65 + },
66 + {
67 + .name = "HW553:red:wifi",
68 + .gpio = 25,
69 + .active_low = 1,
70 + },
71 + {
72 + .name = "HW553:red:internetkey",
73 + .gpio = 12,
74 + .active_low = 1,
75 + },
76 + {
77 + .name = "HW553:blue:internetkey",
78 + .gpio = 13,
79 + .active_low = 1,
80 + },
81 + },
82 +};
83 #endif
84
85 /*
86 @@ -1782,6 +1858,7 @@ static const struct board_info __initcon
87 &board_nb4_ser_r2,
88 &board_nb4_fxc_r1,
89 &board_nb4_fxc_r2,
90 + &board_HW553,
91 #endif
92 };
93