diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-07-27 16:57:19 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-07-27 16:57:19 +0000 |
commit | 00fba8680c04558ade00807bfdecb427fe5cad6a (patch) | |
tree | 331720f6c302205b0c746f9e6fee7f7005790854 /target/linux/adm5120-2.6 | |
parent | 248b9271fe228d6faf8fc5eb40060bb167db5785 (diff) | |
download | upstream-00fba8680c04558ade00807bfdecb427fe5cad6a.tar.gz upstream-00fba8680c04558ade00807bfdecb427fe5cad6a.tar.bz2 upstream-00fba8680c04558ade00807bfdecb427fe5cad6a.zip |
[adm5120] add LED definitions for the RB133/133C boards, thanks to Christophe Lucas
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8199 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6')
-rw-r--r-- | target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c b/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c index e8609d374e..4f4be3506c 100644 --- a/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c +++ b/target/linux/adm5120-2.6/files/drivers/leds/leds-adm5120.c @@ -120,6 +120,11 @@ LED_ARRAY(rb100) { /* FIXME: untested */ }; #endif +LED_ARRAY(rb133) { + LED_STD(ADM5120_GPIO_PIN6, "power", NULL ), + LED_STD(ADM5120_GPIO_PIN5, "user", NULL ), +}; + /* * Compex boards */ @@ -205,6 +210,8 @@ static struct mach_data machines[] __initdata = { MACH_DATA(MACH_ADM5120_WP54G_WRT, wp54g), MACH_DATA(MACH_ADM5120_WPP54AG, wp54g), MACH_DATA(MACH_ADM5120_WPP54G, wp54g), + MACH_DATA(MACH_ADM5120_RB_133, rb133), + MACH_DATA(MACH_ADM5120_RB_133C, rb133), #if defined(CONFIG_LEDS_ADM5120_EXPERIMENTAL) MACH_DATA(MACH_ADM5120_P334, p334), MACH_DATA(MACH_ADM5120_P335, p335), |