diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-02-28 21:24:34 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-02-28 21:24:34 +0000 |
commit | 4f4066d3e057567c0f78a3069ef967fd787ac94a (patch) | |
tree | 4ea6a7d116f34e4ea56f5a234060d3c59bd0dd8e /target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch | |
parent | 9fc22cd0328f840ea4e8e85cc5b86aa3eb8c0423 (diff) | |
download | upstream-4f4066d3e057567c0f78a3069ef967fd787ac94a.tar.gz upstream-4f4066d3e057567c0f78a3069ef967fd787ac94a.tar.bz2 upstream-4f4066d3e057567c0f78a3069ef967fd787ac94a.zip |
add support for 2.6.33
SVN-Revision: 19921
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch new file mode 100644 index 0000000000..7795f99efd --- /dev/null +++ b/target/linux/brcm63xx/patches-2.6.33/150-alice_gate2_leds.patch @@ -0,0 +1,66 @@ +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c ++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c +@@ -588,6 +588,63 @@ static struct board_info __initdata boar + + .has_ohci0 = 1, + .has_ehci0 = 1, ++ ++ .leds = { ++ /*Each led on alice gate is bi-color */ ++ { ++ .name = "power:red", ++ .gpio = 5, ++ .active_low = 1, ++ }, ++ { ++ .name = "power:green", ++ .gpio = 4, ++ .active_low = 1, ++ .default_trigger = "default-on", ++ }, ++ { ++ .name = "wifi:red", ++ .gpio = 23, ++ .active_low = 1, ++ }, ++ { ++ .name = "wifi:green", ++ .gpio = 22, ++ .active_low = 1, ++ }, ++ { ++ .name = "usr1:red", ++ .gpio = 27, ++ .active_low = 1, ++ }, ++ { ++ .name = "usr1:green", ++ .gpio = 26, ++ .active_low = 1, ++ }, ++ { ++ .name = "usr2:red", ++ .gpio = 30, ++ .active_low = 1, ++ }, ++ { ++ .name = "usr2:green", ++ .gpio = 29, ++ .active_low = 1, ++ }, ++ }, ++ ++ .reset_buttons = { ++ { ++ .desc = "sw2", ++ .gpio = 37, ++ .active_low = 1, ++ .type = EV_KEY, ++ .code = BTN_0, ++ .threshold = 3, ++ }, ++ }, ++ /* sw1 is connected to gpio34*/ + }; + + static struct board_info __initdata board_DWVS0 = { |