diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2010-01-15 13:30:46 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2010-01-15 13:30:46 +0000 |
commit | b031e14bf0548f1174cc7116d1c980f613fc4d8f (patch) | |
tree | 8c65ca2db772f0cd27562a5bdcb539f49087ed56 /target/linux/brcm63xx/files/arch/mips | |
parent | 21a235bc67e4a56455be115d5136db9e66e01c36 (diff) | |
download | upstream-b031e14bf0548f1174cc7116d1c980f613fc4d8f.tar.gz upstream-b031e14bf0548f1174cc7116d1c980f613fc4d8f.tar.bz2 upstream-b031e14bf0548f1174cc7116d1c980f613fc4d8f.zip |
bcm63xx: add gpio leds to alice gate
SVN-Revision: 19152
Diffstat (limited to 'target/linux/brcm63xx/files/arch/mips')
-rw-r--r-- | target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c index d9c4a20c60..ba5719045e 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -559,6 +559,55 @@ static struct board_info __initdata board_AGPFS0 = { .has_ohci0 = 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 = { |