2012-02-04 10:17:27 +00:00
|
|
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
2012-06-06 15:44:52 +00:00
|
|
|
@@ -1551,6 +1551,98 @@ static struct board_info __initdata boar
|
2012-02-04 10:17:27 +00:00
|
|
|
|
|
|
|
.has_ohci0 = 1,
|
|
|
|
.has_ehci0 = 1,
|
|
|
|
+
|
|
|
|
+ .leds = {
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:red:power",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 5,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:green:power",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 4,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ .default_trigger = "default-on",
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:red:service",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 7,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:green:service",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 6,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:green:adsl",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 9,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:red:adsl",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 10,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:red:wifi",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 23,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:green:wifi",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 22,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:green:internet",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 25,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:red:internet",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 24,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:red:usr1",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 27,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:green:usr1",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 26,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:red:usr2",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 30,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ {
|
2012-06-06 15:44:52 +00:00
|
|
|
+ .name = "AGPF-S0:green:usr2",
|
2012-02-04 10:17:27 +00:00
|
|
|
+ .gpio = 29,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ .buttons = {
|
|
|
|
+ {
|
|
|
|
+ .desc = "reset",
|
|
|
|
+ .gpio = 37,
|
|
|
|
+ .active_low = 1,
|
|
|
|
+ .type = EV_KEY,
|
|
|
|
+ .code = KEY_RESTART,
|
2012-05-02 15:40:26 +00:00
|
|
|
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
|
2012-02-04 10:17:27 +00:00
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .desc = "wps",
|
|
|
|
+ .gpio = 34,
|
|
|
|
+ .type = EV_KEY,
|
|
|
|
+ .code = KEY_WPS_BUTTON,
|
2012-05-02 15:40:26 +00:00
|
|
|
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
|
2012-02-04 10:17:27 +00:00
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct board_info __initdata board_DWVS0 = {
|