From: Gabor Juhos Date: Fri, 27 Jul 2007 16:57:19 +0000 (+0000) Subject: add LED definitions for the RB133/133C boards, thanks to Christophe Lucas X-Git-Tag: reboot~28509 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9ffbd94e7c10e55fc4777a84bfd5a5ab4d17729;p=openwrt%2Fstaging%2Fblogic.git add LED definitions for the RB133/133C boards, thanks to Christophe Lucas SVN-Revision: 8199 --- 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 e8609d374e5a..4f4be3506c51 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),