bcm63xx: add gpio leds to alice gate

SVN-Revision: 19152
This commit is contained in:
Claudio Mignanti 2010-01-15 13:30:46 +00:00
parent 21a235bc67
commit b031e14bf0
2 changed files with 50 additions and 1 deletions

View file

@ -559,6 +559,55 @@ static struct board_info __initdata board_AGPFS0 = {
.has_ohci0 = 1, .has_ohci0 = 1,
.has_ehci0 = 1, .has_ehci0 = 1,
.leds = {
/*Each led on alice gate is bi-color so final char */
/* is r for red and g for green leds */
{
.name = "pwrr",
.gpio = 5,
.active_low = 1,
},
{
.name = "pwrg",
.gpio = 4,
.active_low = 1,
.default_trigger = "default-on",
},
{
.name = "wifir",
.gpio = 23,
.active_low = 1,
},
{
.name = "wifig",
.gpio = 22,
.active_low = 1,
},
{
.name = "usr1r",
.gpio = 27,
.active_low = 1,
},
{
.name = "usr1g",
.gpio = 26,
.active_low = 1,
},
{
.name = "usr2r",
.gpio = 30,
.active_low = 1,
},
{
.name = "usr2g",
.gpio = 29,
.active_low = 1,
},
},
.reset_btn = 37; /* sw2 */
/* sw1 is connected to gpio34*/
}; };
static struct board_info __initdata board_DWVS0 = { static struct board_info __initdata board_DWVS0 = {

View file

@ -55,7 +55,7 @@ struct board_info {
struct bcm63xx_dsp_platform_data dsp; struct bcm63xx_dsp_platform_data dsp;
/* GPIO LEDs */ /* GPIO LEDs */
struct gpio_led leds[5]; struct gpio_led leds[8];
/* Reset button */ /* Reset button */
unsigned int reset_btn; unsigned int reset_btn;